Results 1 to 4 of 4

Thread: Wordpress is_writable() Error - How to Handle it

  1. #1
    Shenron's Avatar
    Shenron is offline Administrator
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    1,900
    Blog Entries
    2
    Thanks
    561
    Thanked 548 Times in 368 Posts

    Wordpress is_writable() Error - How to Handle it

    How many of you thought about dumping Wordpress because of this error?

    Code:
    Warning:  is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/xxxxx:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xxxxx/public_html/wp-admin/includes/misc.php on line 128
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/wp-admin/includes/misc.php:128) in /home/xxxxx/public_html/wp-includes/pluggable.php on line 865
           Thank you for creating with WordPress. | Documentation | Feedback
     Version 2.8
    Wordpress 2.8 insists in this, something that wasn't happening since version 2.6 or so.

    How do you handle it?

    It's quite easy, all you need to do is to edit your wp-config.php file and remove those 2 extra blank lines at the end, save and re-upload your file.

    It should work now.

  2. #2
    Aquarezz's Avatar
    Aquarezz is offline Master Net Builder
    Join Date
    Dec 2008
    Location
    Belgium
    Posts
    3,852
    Blog Entries
    4
    Thanks
    683
    Thanked 591 Times in 463 Posts
    Nice, thanks for the solution Although I never experienced this error with Fantastico..
    |Nico Lawsons

  3. #3
    Sundance's Avatar
    Sundance is offline Net Builder
    Join Date
    Jun 2009
    Posts
    169
    Thanks
    2
    Thanked 10 Times in 10 Posts
    Removing the empty spaces like you said should remove the second warning.

    However the first one is usually caused by server security settings not allowing users to include php files from other users directories.
    Xbox 720 Next Generation Console - Video gamers check it out!

  4. #4
    Shenron's Avatar
    Shenron is offline Administrator
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    1,900
    Blog Entries
    2
    Thanks
    561
    Thanked 548 Times in 368 Posts
    Quote Originally Posted by Aquarezz View Post
    Nice, thanks for the solution Although I never experienced this error with Fantastico..
    It DOES happen with Fantastico (that's my case).

    Quote Originally Posted by Sundance View Post
    Removing the empty spaces like you said should remove the second warning.

    However the first one is usually caused by server security settings not allowing users to include php files from other users directories.
    It solves BOTH problems, just tried with 5 new sites.

Similar Threads

  1. Wordpress Error 499
    By Grouchy Smurf in forum Wordpress
    Replies: 3
    Last Post: 2 September, 2010, 15:15 PM
  2. wordpress fatal error (need help)
    By SonnyCooL in forum Wordpress
    Replies: 9
    Last Post: 23 August, 2010, 17:40 PM
  3. how to handle DMCA notices
    By Sundance in forum Building
    Replies: 4
    Last Post: 10 November, 2009, 11:29 AM
  4. php error, anybody able to help?
    By PSDproxies in forum Programming
    Replies: 2
    Last Post: 20 August, 2009, 22:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •