Tagged: enfold
-
AuthorPosts
-
June 8, 2015 at 3:17 pm #456127
Dear sirs,
First of all thank you for a great work you are doing with Enfold theme.
Several months ago I started having problems when trying to make an automatic update of Enfold theme. Everytime I try to do it, following error occurs:
An error occurred while updating Enfold: Download failed. Could not open handle for fopen() to C:\*******\*****\***********/enfold.zipAWSAccessKeyIdAKIAJYG5ROGJ6X7Z3M6QExpires1433769399Signature0v3kvHNcFVPtAVq52ohXUvwaiBI%3Dresponse-content-dispositionattachment%3B-filename%3Dthemeforest-4519990-enfold-responsive-multipurpose-theme-wordpress_theme.tmp
(asterixes in path are just replacement of real directory names)
We are running the website on Windows Server 2008, IIS 7.5. I have checked directory permissions, PHP setup as well as WP-config. Unfortunately I was not able to find a solution.
There are no problems with plugin updates, only Enfold theme comes with an error message.
Would you please advise me what to do?
Thanks.
- This topic was modified 9 years, 5 months ago by Maximus_.
June 9, 2015 at 5:19 am #456427Hi Maximus_!
Are you getting that error every time or just occasionally? If you want to update manually instead: http://kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
RikardJune 9, 2015 at 7:37 am #456479Hi Rikard,
I get the error everytime I try to do automatic update of the Enfold theme. It started several months ago. Before that it was working without problems.
Yes, the manual update is working – it is how we are doing the update last months. However it is not very comfort way and we would really need your help to find a solution.
Do you have any idea?
Kind regards,
Max.
June 9, 2015 at 10:22 am #456574Hi!
Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.
Best regards,
RikardJune 9, 2015 at 1:29 pm #456679This reply has been marked as private.June 10, 2015 at 12:36 am #456960This reply has been marked as private.June 10, 2015 at 11:00 am #457092This reply has been marked as private.June 11, 2015 at 8:13 am #457648Hi Rikard,
do you have any news in this matter?
Regards,
Max
June 11, 2015 at 10:37 am #457709Hi Max!
Please contact your service provider and ask them to enable “allow_url_fopen” in php.ini file. Also, please make sure that your API key is correct – http://kriesi.at/documentation/enfold/updating-your-theme-files/
@organicanita You can activate child theme and go to Enfold theme options > Import & Export and click “Import Settings from your Parent Theme” button to import parent theme settings. If you have more questions, please start a new thread ( https://kriesi.at/support/forum/enfold/#new-topic-0 ) as your issue is not the same as the one OP having :)Best regards,
YigitJune 11, 2015 at 5:00 pm #457915Dear Yigit,
The API is correct. I have re-checked it now. Moreover, we didn’t change it for many months therefore I guess that this error has nothing to do with API key. Did you find any reason why you ask to check it? Or can you see any problem there?
I am administrator of the server and ofcourse i tried to play with the allow_url_fopen option before without positive results. Now the “allow_url_fopen” it is turned on again and the problem is still there.
We changed nothing, and it is only Enfold theme that we are not able to autoupdate – even though before it was warking flawlessly.
Everything looks to be good from WP point of view. Maybe it is a bug in Enfold updating system.
Do you have any idea?
Best regards,
Max
June 11, 2015 at 5:15 pm #457922This reply has been marked as private.June 12, 2015 at 6:45 am #458185Hello Rikard,
do you have any news in this matter please?
Max
June 12, 2015 at 7:04 am #458191Hey!
I have checked your web site. The %#D characters that generate on your web site, do not work on linux, so the URL provided is wrong. You need probably to activate something, but I am not a sysadmin so I do not know how to convert those characters on the URL string.
The solution for now would be to update manually, as my colleagues sayed.
Cheers!
BasilisJune 12, 2015 at 7:16 am #458197Hey!
Enable the allow_url_include directive then test it again. You can ask your hosting provider to change it for you or add this in the .htaccess file:
php_value allow_url_fopen on php_value allow_url_include 1
If it doesn’t work, try to increase the post_max_size to at least 15M. It is currently set to 8M. Again, you can ask your hosting provider to adjust the value or add this in the .htaccess file:
php_value upload_max_filesize 15M php_value post_max_size 15M
You need to shift refresh every time you change a php directive. I think increasing the php_value post_max_size to 15M will fix the issue.
Best regards,
IsmaelJune 12, 2015 at 7:43 am #458217Hi guys,
@Basilis
The wordpress website is installed on Windows Server 2008, IIS 7.5, not on the Linux. I have mentioned it in my first post with problem report.Manual update does work, ofcourse. But it is not a solution of the problem! It is only a “fallback option” to keep Enfold updated. Moreover it is very uncomfortable way of updating. Automatic updates was working and should be working. Please, let’s focus on finding a real solution of the error.
@Ismael
I am the administrator of the server where our WP website is being hosted. I will try your ideas and let you know.Max
June 12, 2015 at 8:12 am #458232@Ismael
I have changed PHP values according to your advise and unfortunately the automatic update of Enfold theme still displays the same error. Please see:An error occurred while updating Enfold: Download failed. Could not open handle for fopen() to C:\*******\*******\********/enfold.zipAWSAccessKeyIdAKIAJYG5ROGJ6X7Z3M6QExpires1434088548SignatureW3hE20NIJwUavO76wgDwIEOahiw%3Dresponse-content-dispositionattachment%3B-filename%3Dthemeforest-4519990-enfold-responsive-multipurpose-theme-wordpress_theme.tmp
Both php_values upload_max_filesize and post_max_size are now 15M..
The idea of Basilis about the %#D characters might be a good one. It looks like a generator of the link inside enfold updater is adding blank characters to the link with downloaded ZIP file. Can you check it please?
I don’t want to upgrade the Enfold theme until we find the real cause of the problem. As soon as it would get updated, we would loose possibility to eliminate things to find real solution.
What are your next ideas friends? What should I do now?
Small remind: I am running the website on Windows Server 2008.
June 12, 2015 at 8:45 am #458249Hi!
Since you are the administrator, I’m sure you restart the server after you change the values? Or at least wait for a few minutes for it to take effect.
1.) Please check the php info then look for “upload_tmp_dir” directive, check the file permission of that directory, make sure that it is writable (755).
2.) Again, restart the server or wait for a few minutes. Or try to add this to the wp-config.php file to override the default tmp folder.
define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/tmp/') ;
Go to wp-content folder then create “tmp” folder there. Please create a back up or a restore point before doing this. Regarding the characters, you’re seeing a raw url that hasn’t been decoded yet so don’t worry about that.
Regards,
IsmaelJune 12, 2015 at 9:00 am #458257Hi Ismael,
Yes, I always perform IISRESET – the full reset of all webservers, including the one with this wordpress website.. Moreover i always check the PHPINFO through above mentioned link to make sure whether all changes has been correctly adapted.
1) Yes, the directory is writable, I have checked these permissions many times before I went to support forum. Moreover all other plugins or original WP themes are being updated through automatic update system flawlessly.
2) I know where you are pointing to. But, unfortunately, I tried this too before I have rised this thread (someone mentioned it in Enfold support forum earlier). I have changed the WP_TEMP_DIR also now and here is the result:
An error occurred while updating Enfold: Download failed. Could not open handle for fopen() to C:\******\*******\*********/wp-content/tmp/enfold.zipAWSAccessKeyIdAKIAJYG5ROGJ6X7Z3M6QExpires1434092383SignaturejwW9OiIQeKLb9k0riAi3Jslj%2BWQ%3Dresponse-content-dispositionattachment%3B-filename%3Dthemeforest-4519990-enfold-responsive-multipurpose-theme-wordpress_theme.tmp
The error is still there :( ..
June 12, 2015 at 9:20 am #458264Hi!
I got no bullets left in my pocket. I’ll ask the rest of the support team to check it. Is this “C:\*******\*******\********:” directory same as the value in the upload_tmp_dir value?
Best regards,
IsmaelJune 12, 2015 at 9:54 am #458269This reply has been marked as private.June 13, 2015 at 11:18 am #458734Hey!
Actually, this is not a theme related issue but a server one. Please create an inquiry on Windows Server forums, maybe you’ll find the appropriate solution there. If not, for the meantime, you can update the theme via FTP.
Best regards,
IsmaelJune 14, 2015 at 12:03 pm #458905Hi!
I will close the topic here, as it is not relevant to an Enfold issue, while we did what we could to make it work.
Best regards,
Basilis -
AuthorPosts
- The topic ‘Enfold theme – problem with fopen() when updating the theme’ is closed to new replies.