thehealthyskeptic
Member
Posted 2 years ago #
I've been using WordPress for a long time now, and I've never once gotten Automatic Upgrade to work.
Each time I try, I deactivate all plugins and choose the default theme. But it always stops right after "downloading update". In fact, when I look in the Content folder I see that the update hasn't actually been downloaded, because it is a 0kb file.
What could be going wrong here?
Might try increase PHP memory...methods for increasing the amount of memory a PHP script may consume
1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
2. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
3. Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M');
4. Talk to your host.
If that doesn't work, might try installing the http://wordpress.org/extend/plugins/core-control/ and see if the "External Http Access" or "HTTP Access Logger Module" tells you anything.
thehealthyskeptic
Member
Posted 2 years ago #
Hi Michael,
Thanks for your reply. Where would I find the PHP.ini file? I can't see it in the folder with the rest of my WP files using my FTP program, so I'm assuming I don't have access.
I tried your suggestion in #2, but that caused an "internal server error" when I attempted to load my blog afterwards.
I was able to add the command in WP-config.php without a problem, but I won't be able to tell if it works until the next upgrade.
Michael, your fix worked perfectly. (Did it in htaccess.) This issue has been screwing with my install for a while, thanks!
Paul Burwell
Member
Posted 2 years ago #
Michael,
You suggestion #3 (editing wp-config.php file) worked great for me. #1 wasn't possible and #2 caused a server error. All's good now. Thanks!
Best regards,
Paul
martynwitt
Member
Posted 1 year ago #
Hi
I've tried adding the code to my wp-config.php file..
define('WP_MEMORY_LIMIT', '64M');
but I'm unsure as to where to add. I've put it in various places but everytime I hit save (in dreamweaver) it gives me the invalid markup prompt and has also turned the colour of the code text to blue and all orange. The wp-config file I have has 76 lines, I added it to the end making it 77 lines, I also tried ading right at the start. I saved but still no auto upgrade. I am currently running 2.8.5
Any help gratefully appreciated
Cheers
everytime I hit save (in dreamweaver)
you can not use dreamweaver
you must use a plain text editor like notepad or equivalent
Facebook Layouts
Member
Posted 1 year ago #
Still no solutions for 9 months?
Anyway, did you try the Plugin that help you do automatic upgrade? That might be helpful.
Still no solutions for 9 months?
ummm..you can't read? :>)
Hi, I put #3 into the wp-config.php file. No change
Downloading update from http://wordpress.org/wordpress-3.0.1.zip…
Unpacking the update…
Could not create directory.: /public_html
Installation Failed
Please help.
Mike.
Would if I could find the files.
Thanks for your help.