« Previous Next »

Thread: Need Explanation of this error from PHP error log

Last post 07-26-2009 9:23 PM by blazingbiz. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 06-15-2009, 9:08 PM

    Need Explanation of this error from PHP error log

     I'm looking at my PHP error log and I see multiple entries for this:

     [15-Jun-2009 03:45:39] PHP Warning:  is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(C:\file\path\blog/C:\file\path\blog/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack-en_US.mo) is not within the allowed path(s): (C:\file\path\blog) in C:\file\path\blog\wp-includes\l10n.php on line 324

     

    This is using FastCGI with PHP 5.2.9 on IIS 7 on a Windows Server 2008 Web Edition machine. I'm using Wordpress 2.8 with a custom php.ini file for each web site in the directory, I do have the open_basedir restriction set as well as cgi fix infopath set to 1. There seems to be an issue with the forward and back slash set in the file path, but I don't know how to fix this. If anyone can offer me any thoughts on this please do.

     Thanks

  • 06-17-2009, 3:02 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: Need Explanation of this error from PHP error log

    What is the value of open_basedir?

    Follow me on twitter at http://twitter.com/kjsingla
  • 06-17-2009, 3:47 AM In reply to

    Re: Need Explanation of this error from PHP error log

    The value of open_basedir is C:\file\path\blog. In the error log it's repeated twice and there's an issue with the forward slash and back slash - but I don't know why that is.

    _
  • 06-19-2009, 4:05 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 3:38 PM
    • Redmond, WA
    • Posts 660

    Re: Need Explanation of this error from PHP error log

    This is caused by the bug in the all-in-one-seo-pack plugin. To work around it try the code described here: http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/#comment-762. The plugin author has said that he will fix it in next update.

    http://ruslany.net
  • 07-26-2009, 9:23 PM In reply to

    Re: Need Explanation of this error from PHP error log

     Thank you Ruslany, that solved this issue.

Page 1 of 1 (5 items)
Microsoft Communities