Problem: After updating the blog to WP 2.7 everything was running smooth. But when opening some of the plugin setting pages the server responded with a “500 Internal Server Error” – especially when using plugins like “XML Sitemap Generator for WordPress” or when uploading pictures. When I activated the “StatPress Reloaded”-plugin non of the admin section was accessible anymore.
Diagnosis: PHP is running out of memory.
Solution: If you are running your own root, dedicated or virtual server this is an easy bugfix: You just have to change the php.ini of your server and provide more memory to your PHP installation. On a shared hosting server – like at the webhosting solutions at 1and1 you often don’t have access to that central php.ini. But there is an easy workaround:
Create a text file and name it “php.ini” (without the quotes
) and with a single line of code in it:
memory=20MB |
This file has to be placed into the directory /wp-admin/ within your Wordpress installation.
That’s it!
73 comments für "Solution for 500 Internal Server Error after upgrading to Wordpress 2.7 at 1and1-server"
i will try this in my blog http://hem.com.np i am actually getting 500 when i try to edit pages
Hope this helps for you! All the best to Nepal from Germany!
Choosing a good web site provider and registrar is critical for a successful internet business.
I have come to the conclusion that I made the dreadful error of choosing a company because it had a 5 page ad in a popular computer magazine. I believe I have put my trust in a straw man. In my opinion 1and1, with CEO Oliver Mauss, is a horrible company and many customers have voiced a host of complaints on various blogs.
It should be a warning that when their phone is answered by a recording that tells you if you have gotten a notice from NCO, a collection agency, to press a certain number. If they are a reputable business, why do they have to send so many accounts to a collection agency?
Patrick Frey (Patterico) of the Los Angeles District Attorneys Office alleges his domain was high jacked and put up for auction on SEDO. SEDO is an associate company of 1and1.
Patterico: “I believe I’m facing massive incompetence, thievery, or very possibly a deliberate combination of the two. It feels like evil intent — but not for political reasons. It feels like cyber extortion — people going after the almighty dollar. Commenters have pointed out corporate ties between 1&1, which can’t seem to process my timely renewal, and Sedo/Domcollect, which stood to profit from 1&1’s failure. Usually, corporate incompetence does not earn the corporation money — but 1&1 and its related companies have found a way to make money off of their own slipshod procedures.”
Patterico was able to regain his domain.
Also Investigative journalist, Kelli Jack, has written 30 articles about this company and has a suit pending against them. Kelli alleges that 1and1 stole her domain name and sold it. Kelli states: “1and1 should be shut down.” As of today Kelli is working with the Pennsylvania Attorney General.
I have filed complaints with the Federal Bureau of Investigation, Federal Trade Commission, Eastern Pennsylvania Better Business Bureau, ICANN, and others. I recommend everyone else having a problem consider doing the same.
The Washington DC, Pennsylvania Better Business Bureau has them listed as “Unsatisfactory” Read comments on the BBB why. Read some customer comments on Red Flag.
Warth Publishing Inc
Hey it worked great.. i also got my archives page up after doing this… perfect… thanks again from Nepal to Germany
This worked like a charm– thank you so much!!
What is being achieved by this? I am in a Hosted environment an dcurrently have 32mb or so allocated for PHP, does this commit 20mb of the total global specified or allocate an additional? presume the former.
Hello webmaster I think your post ?n for 500 Internal Server Error after upgrading to Wordpress 2.7 at 1and1-server | codedifferent.com? it?s really great. Hope some another good post to read on this blog in the future. Take care.
Love your post!! Finally someone got it right!!! Would you mind if I put a blogroll link back to your post?
Perfect work!Keep posting
That’s just sweet! Thank you.
Do you know how many times I’ve uninstalled, deleted, reinstalled plugins across multiple blogs since 2.7!
You are my Wordpress God for a Day.
Thank you! It solved my “500 server error problem” in a WP 2.0.11!
Regards,
Greg
Thanks so much! This resolved my problem with the admin area in WordPress 2.7. I am running my site wosko.us on 1and1 and this was the first problem I’ve experienced. Guess I haven’t pressed their hosting solution to the limits yet.
Thanks, Simon
Thanks! Your awesome! worked for me!
great, thank you very much, worked for me too
sorry didn’t work for me. I have also disabled all plug-ins one at a time. I get a blank page when I click on a page or comment in FoxFire and 500 internal error for each of these in Internet Explorer. I have updated all the plugins and have upgraded to the latest wordpress as well as the latest foxfire and internet explorer. I don’t have wp-cache. I have checked all the files for blank lines. The problem is with all of my websites each has a different theme on the websitesource server but one of them is on a yahoo server and all have the same problem?????
@Jolene: I’m not sure but this may be a compatibility issue of your wordpress-theme. Did you test your website with an other theme, yet? Hope this hint helps to get your blog running again.
I tried it and it’s not working for me, although my problem is slightly different. I am only getting the error message when trying to post / edit / update Pages. Categories are fine, plugins fine, etc. I deactivated, deleted and reinstalled all plugins, and that did nothing to help. Coincidentally we are hosting with 1and1 and they were of no help yesterday. Any suggestions would be greatly appreciated!
Nevermind, I actually found this suggestion and it worked for me.
http://www.designforunity.com/archives/425/comment-page-1#comment-78
Thanks! I saw this problem for the first time today and this fixed it. Cool!
Thanks!!!!!!!!!!!!
That worked perfect for me. I was just getting ready to call 1and1 tech dept. Appreciate you sharing the knowledge.
Thank you so much!! This problem is now solved. It waste me many time before I discovered your post and I could fixed it in 1 minute.
Solved my problem. Much appreciated! I’m surprised not enough people mention this simple solution elsewhere on the web, making it harder to find.
thanx for this – I’m used to editing php.ini and .htaccess for many of my sites (joomla and drupal) but didn’t even think about it for wordpress, but I’ve been getting several error 500’s on my blog here and there.
I just put this in and I sincerely hope it works!
Thanks for this post!
Man, this is awesome. I have been looking and doing so many things to correct the problem. I came across this solution at it worked like a charm. That was a big sigh of relief.
Thanks so much! I too use 1&1 and was running into this error whenever I tried to use the automatic upgrade feature on any of my plugins. The thought of having to manually upgrade all the plugins (which get updated frequently) was driving me nuts. I followed your steps and now it’s working like a charm. YOU ROCK!
Excellent -this resolved my issue as well. Perhaps it it time to re-evaluate 1and1. Thanks again for your help.
This solution totally worked for me. I has used the WP Auto Upgrade plugin and then got the 500 error after doing the “upgrade” from 2.7 to 2.8. Am using self-hosted Wordpress on 1and1. Thanks so much!
I can’t believe that worked! I mean, it seemed so simple, I was about to write it off, but wow! Upgrade from 2.7.1 to 2.8, just so you know. Thanks greatly.
This solution also worked for me. thx
Thanks for this! I have solved most of my Error 500s now – I was getting them every time I moved around the wp-admn/ area. Now I get them infrequently.
I will try this for myself and add a backlink to this page on my own blog entry about my experiences with the upgrade, at blog.redcentaur.com/2009/upgrading-to-wordpress-2-8/ .
I think it is important for the community to share this information.
[...] to Codedifferent.com for identifying the second problem in their blog post: Codedifferent.com identified that some hosted server configurations run PHP for users without [...]
[...] http://www.codedifferent.com/2009/01/12/solution-for-500-internal-server-error-after-upgrading-to-wo... [...]
Thanks!!
It worked for me!!
You’re great!!!
life saver! just met this error while saving a draft post on WP 2.8..
Thank you SO much for the super easy fix to this ANNOYING problem with 1and1.com.
I just uploaded the php.ini file. Hoping this works, and it looks like it will (based on the other comments).
Danke sehr!
Thank you so much!!! It fixed my problem!!!! I love you!!!
Thank you so much!! You have saved me from a lot of headaches. Do you have paypal?
Thanks for the catch Meadowlark! I have a PayPal account … but sharing my knowledge (and opinion) is what this blog is all about. So, communication with my readers is what keeps me going
thanks so much Christian – this was a real savoir for when I updated from 2.3 to 2.8
You saved me!
David
I added the php.ini file, but it is still giving me the same “500″ error. Please help.
Dude! You are awesome!! thank you so much! Here’s the site that you helped me fix http://www.michaelseriosa.com
[...] Solution for 500 Internal Server Error after upgrading to Wordpress 2.7 at 1and1-server (tags: wordpress wp solution 500error internalserver upgrade) [...]
Thank for for this post!!! It solved my problem. I had been pulling my hair out for hours with no hints to the true issus
IT WORKED!!!
Man I owe you one for this! Stop by my blog and download my free blog setup guide or let me know if there is anything I can do to repay you for this advice–top notch.
Ralph
http://ralph-altman.com
IT worked great thanks!!!!
How does this compare to the solution of adding
AddType x-mapp-php5 .php
to the top of your .htaccess file?
THANKS!! That fixed my problem!
Hi, thanks so much for putting up this page. I came across this error and was expecting a major headache, but it took me 1 minute to fix following this guide (I’m with 1and1). Thanks again
Mark
http://www.neverflyeconomy.com
Brilliant! Thanks for the help.
Awesome, THANKS A MILLION!
Fantastic, great post, cant thank enough
Solution worked great for me! Thanks very much! I have been hosting my site and several others (list is growing) on 1and1 for years. I now have 5 sites running there. I have had my sites go down only 3 times that I can recall and they were very responsive to restore service. Thanks again for the solution!
[...] http://www.codedifferent.com/2009/01/12/solution-for-500-internal-server-error-after-upgrading-to-w... a few seconds ago from xmpp [...]
Hey if you are experiencing problems installing wordpress or upgrading it regarding with Internal server error 500 for the install page, i recommend you to back up your old data base if you have already one, otherwise, just create a new one in order for the application to work properly. This error isn’t related neither to the .htaccess file, nor the permissions on the site, so don’t worry too much just delete or create a data base for Word press
YOU ARE THE ONE!!!!
TNKS.
[...] can read more about this at codedifferent.com, where this is explained in more [...]
Thanks advance!
I’m a newbie,How can I change the php.ini of server and provide more memory
just add “memory=20M” into php.ini?
This is my php.ini file:
register_globals = off
allow_url_fopen = off
expose_php = Off
max_input_time = 60
variables_order = “EGPCS”
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = “a=href,area=href,frame=src,input=src,form=,fieldset=”
[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
I called 1&1 told the tech my problem php is running out of memory. The tech said you need to change it to 40 mb .I asked if he could do it for me and 2 minuites later it was fixed.
Thank you so much! This aced what would have been a terrible headache.
I recently launched my WordPress on a 1and1.com hosted site and everything was fine on my end (being the admin). However, I made a dummy user account that only had “Author” privileges and the user account could access everything they’re supposed to in the control panel EXCEPT “Create/Edit” posts which was the most important thing NOT to be able to access.
Anyway, long story short, thanks to your incredibly simple fix everything is a-OK now. Thank you very much for helping and sharing this information!
Thanks a lot, it worked fine. I was trying to upgrade my WP to 2.9.
Rajeesh
Thank you! I was pulling my hair out with this business
Was having the same problem once I upgraded to WP 2.9.1 and accidentally activated all of my plugins at once. I was about to remove all of them before I found your solution, which worked! Thanks!
Thanks a million man! I would have NEVER figured this out on my own.
Hi man,
thanks a bunch, I thought I’ll go crazy with this mess. Your solution worked like a charm, no 500 error anymore.
You made a man happy today.
Thanks for that simple fix. The memory specification in the .ini file was all I needed.
After upgrading to 2.9.1 my site worked fine but I could not log in without the 500 error. Made sure all plugins were current but that didn’t help. Found your fix, created a notepad file with the memory instruction line and named it php.ini. Uploaded and VOILA!
Thanks!
Just bought a new 1and1 Home Linux package and encountered this problem when trying to edit one page in particular out of my 30 pages after upgrading wordpress from 2.9.1 to 2.9.2.
Your fix worked perfectly, and I was also able to upgrade plugins automatically which wasn’t working before, (although this may be unrelated to the 20mb fix).
Thanks!
Great, worked! massive thanks!!!!
thanks man. it worked like a charm… 1and1 really sucks
Works perfect – thanks!
It works as easy as one, two, three…thx.
Leave a comment