• URGENT
    Hello,

    I just transferred my dev site from subdirectory to root, and since turning permalinks back on I have the following warnings at the top of the page:

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home2/clinlega:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/clinlega/public_html/clinlegalwp/wp-admin/options-permalink.php on line 133

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home2/clinlega:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/clinlega/public_html/clinlegalwp/wp-admin/includes/misc.php on line 166

    Also, it said I need to update .htaccess with the mod_rewrite rules in the box below, which I did – both manually (i put them inbetween #begin wordpress and #end wordpress – was that correct??) and by changing the permissions on the file with cpanel, in the hope that wp would do it automatically.

    The warnings are still there, it still says I need to update .htaccess and the site is now live and seems to be working ok…what do I do????

    Thanks for any help,
    Michelle

Viewing 2 replies - 1 through 2 (of 2 total)
  • open_basedir is a restriction in PHP that prevents users opening other hosting clients files from within PHP. Basically, it’s a security measure to help prevent unauthorized access.

    Are you file references correct above? The /home2/clinlega/ versus /home/clinlega that you have referenced.

    Is your dev in /home2/ but your live in /home/?

    Thread Starter michellebeth

    (@michellebeth)

    The home directory is /home2/clinlega

    I have wp in a subdirectory in public_html where I was developing the site, then I just set up a redirect in the index.php to take wp from the subdirectory with the root’s address (following many posted instructions on how to do so)

    I’m guessing just from looking at the warning again that it can’t find /home/clinlega/etc because it’s not looking in /home2… would that be right?? And how do I fix that if so???

    Thanks so much…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.htaccess warnings on turning permalinks back on?’ is closed to new replies.