97 Responses to “WordPress Automatic Update with 1and1”

Comments

Read below or add a comment...

  1. Ben

    Genius – thanks so much for the tip. Worked like a dream.

  2. Neto

    The php5 line does work – but wordpress seems to modify the htaccess file from time to time removing the line causing a server 500 error until I add the line back to the file.

    Anyone know a fix for this?

  3. wow, that saved me a bunch from frustration !!

    thanks

  4. T166

    You’re Awesome!!! Thanks!

  5. Dear Lord!

    I was having a problem upgrading from 2.8.3 to 2.8.4 until I found this post. I tried deactivating all the plugins – that didn’t work. I tried deleting some of the more hoggish plugins – that didn’t work. I thought about doing a manual upgrade – thought better of that :-) . Then I remembered that I had run into this problem before when trying to use the automatic upgrade functionality with WP 2.8. After searching for a while I found your blog and, yup, it worked again! Thanks.

  6. Peter

    Hat mir echt Zeit gespart, Danke!
    peter

    Saved me a bunch of time, Thanks

  7. reb

    Thanks so much for the tip!

  8. Excellent tip ! Thank you

  9. John

    God bless you good sir. 1and1 is such a blessing and a curse.

    May your children be smart, average looking and not too full of themselves.

  10. Thanks a lot for the info! It saved me countless hours contacting 1&1. I’d expect them to have PHP5 enabled by default or some info in their website regarding this issue. I can’t imagine the ammount of people using their own WP installations that have had this issue before…

    • bigw

      You are right, it probably is about time they switched to php 5 as the default version, and then let users turn it down to php 4 instead of the other way around.

  11. Superb! Thanks so much for sharing this tip. Just what I was looking for. Be even better if 1and1.com installed Fantastico, of course, but that’s just my wishing.

    • bigw

      Thanks Andrew. 1and1 does not have Fantastico, but you can install a word press blog through their control panel, and they will take care of updates for you. However I believe the blog is limited to only certain plugins and themes, so it is probably not adequate for most users.

  12. Thank you SO much! This has been bugging me for ages. You are a wonderful person.

  13. I emailed 1&1 support several times and got stupid responses. One guy didn’t understand and resulted to saying our server tools were done call back (must be standard De-da-dee response for I don;t know nothing!). After several days waiting I updated manually. Today I see email responses and they said to reinstall WP. BS response I’m running latest PHP & MySQL already luckily! Anyways Googled the magic phrase tonight and found this. Thank You! I suggested to 1&1 support to read this and put it in there FAQ’s for 1&1 WordPress support. I hope (but doubt) they’ll comprehend.

  14. Amazingly simple (yet effective) post. I can’t tell you how happy I was to run across this. Thanks!

  15. Done that. Now memory issues when uploading 400k pictures; plus auto-update to WP 2.9 fails with memory issues. Separately, cannot run Gallery3 because 1&1 server is using outdated Apache! Probably time to leave 1&1 for …?

    ~Andrew~

    • Andrew, yes I’ve had similar issues, also random 500 errors from time to time with 1and1

      I have some other sites hosted by hostgator and pair networks (where this site is as of now), both of them have been quite solid for me. Of course they might cost you a little more.

      Best of luck to you.

  16. Chris

    Thank you. Very simple solution. Saved me a lot of time. Thanks again.

  17. Thank You, works great

  18. Not wirking for me, still having a “Fatal error: Out of memory” when trying to upgrade. Any idea?

  19. Thanks for the tip, you are awesome, updating manually every month was more irritating than anything else

  20. Thanks! This took care of my upgrade problems, my Server 500 errors and a few plugins that weren’t working now suddenly work.

  21. jay

    Thanks so much! this was great!

  22. Thanks, this saved my day! If any problem could be solved thus simple…

  23. You are my hero. This issue has plagued me for 6 months now. No more. Kudos. Thank you so much.

  24. DUDE! thank you!! I have to say 1and1 sucks!! But thanks to people like you I can find work arounds…

  25. Jeremy

    Brilliant! Thanks for making life easier.

  26. I’m having trouble finding the file to modify any hints on where it is.
    Thanks

    • .htaccess may not be on your server you can create one with notepad. it is something you use to change options in your folders.
      just open notepad and put in that line he said:
      AddType x-mapp-php5 .php

      then save as and instead of saving as .txt save as all files and simply put .htaccess in there as the name. thanks for the instructions on this it worked like a charm i was wonder why it wasnt working!

      • Kevin,

        Thanks, that is a good point, if you haven’t changed your permalinks or anything you may not have an .htaccess file

  27. Perfect! Thank you. You rock.

  28. And just in time for the big 3.0 update…

  29. Amazing! After much grief, I finally did a Google search and found your post and followed the instructions. It worked great! Thanks! It also feels faster too!

  30. Thanks for the post! I tried to update my wordpress over the weekend and left it going over night with nothing happening. Added this to my .htaccess and everything went good! (5sec update)

  31. OMG thank you SO much for this fix. I’ve been struggling with this issue for weeks. During the interim one of my PR 5 websites has been offline because I tried updating but had the wrong verson of php set up.

    Cheers,
    JB

  32. Rob

    Thanks for the post. We enjoy 1and1.com but the upgrade in wordpress has been tough at times. For the one click update do we need to disable plugins before upgrading to wordpress 3.0?

    • Rob, you do no have to disable all your plugins, however, it is recommended by WordPress.

      I usually do not disable my plugins, I have only run into issues a handful of times after probably hundreds of upgrades.

  33. Thanks for the post! This tip worked perfectly when upgrading to WP3.0!

  34. keith w

    you… you have made my day. thanks for sharing this!

  35. Thanks! You are a gentleman and a scholar! KISSES!!!!

  36. This really made my day. I was tired of updating everything by hand. (Although I didn’t copy and paste it the first time, I just typed it in and didn’t put the space before .php and got error messages. It took me about 5 minutes to realize what I did wrong.)

  37. thanks a lot !
    without the modification of the .htaccess file will not be able to upgrade in wp 3

  38. Cheers to you, sir. This works like a champ!

  39. Mat

    Hi, I just created the file with text edit, added the code, saved it and then I renamed it in Dreamweaver to “.htaccess” and uploaded it to the server. Now I am getting a 500 internal server error. Any suggestions. I was under the impression that 1and 1 did not support php 5.

    Thanks,

    Mat

  40. Mat

    Okay, I got it to start working but I get this message. “The update cannot be installed because WordPress 3.0.1 requires MySQL version 4.1.2 or higher. You are running version 4.0.27.”

    Thanks for any help,

    Mat

    • Mat,

      I would make a good backup of your database.

      Then go to your 1and1 control panel and create a new database and make sure it says MySQL version 5.

      Then do a database restore from your backup file to the new database you just created.

      Once that is complete, update your blog wp-config.php file with the new database.

  41. Oh thank you, thank you, thank you. And a tweet too: http://twitter.com/2edinburgh/status/21897683070
    When I saw your post I thought ‘oh, this is old stuff 1&1 can’t be the problem…’ but you were right even after 18 months!
    It was all so easy after I’d followed your advice.

  42. Thank you very much! I was ready to tear my hair out with the broken auto-updates.

  43. Thanks dude it takes 2 seconds to update..
    You save me a lot of time and a bunch of work to do

  44. Why it didnt work for me ?, after copy paste your code into my htaccess file, I get some error whenever I tried to login, it said it is related with something in my /wp-includes/plugin.php file? Could someone confirm if 1and1 is tested running wp 3.0.1 ?

    Actually I have tried other suggestion such as setting the temporary directory or manually add ftp info in my config file, but your suggestion is the most promising right now (seeing how much people confirm that it works)

    I am trying to rollback to previous version to see if your solution works now.

  45. Tyler Sand

    Worked like a charm! Thanks for your help!

    I have WP 3.0.2 running on 1and1 and it is working great!

  46. Thanks so much for this! It saved me from a headache as I was was getting read to manually upgrade!

  47. NeoJudus

    Once again, another BIG thank you.

  48. John Wart, jr

    Thanks! Fixed the problem with failing automatic updates on my blog!

  49. Owen

    This is the post that keeps on giving – add my thanks to the many before for the fix – worked like a charm

  50. JonShakey

    YOU ROCK! Thanks for solving my vexing problems I’ve had for so long.

  51. NSM

    Thanks for this, I’ve just moved several blogs over to 1&1 and the non-automatic update was frustrating me, till I found your post.

    Cheers!

  52. Fantastic! Took me a bit to get hidden files to work with the Mac and Firefox FTP. After that, the update worked in seconds! Thanks a lot!

  53. Donnie Rosie

    I found the file under logs but it will not let me edit it?

    • No, you don’t want the file under logs. It should be file in the “root” directory of your blog.

      If you are not using permalinks, the file may not be there, you will have to create it.

  54. Elizabeth

    Thanks so much! This has been bothering me for ever! It totally worked for me.

  55. Thank you so so much. I have like 50 blogs on 1and1 and just by adding this line to my .htaccess once on each hosting package I was able to upgrade them all in a few minutes.

    Thanks a LOT

  56. bravo. just updated 1 year old blog install to wordpress 3.1.1 without a hitch. thank you much.

  57. You are a star. You also have done a good job for 1&1. I was on the verge of moving all of my sites over to BlueHost because the WordPress support and upgrading process was so poor at 1&1.

    Cheers
    Mark

  58. Client had this problem with 1and1, and this seems to be the only link that actually had a solution, so thanks

  59. pat

    Thanks a million! This was driving me looney.

  60. Chris Johns

    I don’t even know what to say. I’ve been putting it in wordpress/.htaccess for a long time, and no dice. Now that I decided to read the directions more carefully, and put it in the ACTUAL root directory (instead of the root of /wordpress) it WORKS.

    You are the man. That is all.

  61. Dan

    Wow. Thanks a million. It works like a charm.

  62. joe

    Keep getting the following error:

    Warning: copy(/homepages/41/d369911849/htdocs/app369913502/wp-admin/includes/update-core.php) [function.copy]: failed to open stream: Permission denied in /homepages/41/d369911849/htdocs/app369913502/wp-admin/includes/class-wp-filesystem-direct.php on line 200
    Could not copy files.

    Installation Failed

  63. does everyone here have the linux package? i can’t get it to work…and the 1and1 website says that the only package that allows configuration changes via htacess is the linux packages?

    http://faq.1and1.com/scripting_languages_supported/htaccess/1.html

    can you make it work with out the linux package?

    PLEASE HELP!!
    MANY MANY MANY THANKS!

  64. JB

    Wow! Thank you soooo much! This worked great… makes our life so much easier! Thanks again, keep up the good work!

  65. Thanks so much, that worked for me!

Leave A Comment...