• Hey I have question to ask. I used PC Robots.txt plugins but when I activate it, PHP error message will see in the top of my robots.txt file. Please do visit my robots.txt through: http://lessontolife.ce.ms/robots.txt and you will see this error message above of my robots.txt file and it goes like this:


    <b>Warning</b>: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html/sitemap.xml.gz) is not within the allowed path(s): (/home/vhosts/lessontolife.ce.ms/:/tmp/:/usr/share/pear/) in <b>/home/vhosts/lessontolife.ce.ms/wp-content/plugins/pc-robotstxt/pc-robotstxt.php</b> on line <b>86</b>

    <center><img src=’http://users.freewebhostingarea.com/i/freehosting.png&#8217; border=’0′ width=’88’ height=’15’ alt=’Free Web Hosting’></center>
    <b>Warning</b>: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html/sitemap.xml) is not within the allowed path(s): (/home/vhosts/lessontolife.ce.ms/:/tmp/:/usr/share/pear/) in <b>/home/vhosts/lessontolife.ce.ms/wp-content/plugins/pc-robotstxt/pc-robotstxt.php</b> on line <b>88</b>

    <center><img src=’http://users.freewebhostingarea.com/i/freehosting.png&#8217; border=’0′ width=’88’ height=’15’ alt=’Free Web Hosting’></center># This virtual robots.txt file was created by the PC Robots.txt WordPress plugin.
    # For more info visit: http://petercoughlin.com/robotstxt-wordpress-plugin/

    after that is my robots file:

    [redacted]

    can you fix this error message so that my robots.txt will be clean??? Thanks for helping… Waitning for your reply..

Viewing 1 replies (of 1 total)
  • open_basedir restriction
    is a security feature of your host
    ask them how to allow this action
    usually involves moving or creating a tmp file

Viewing 1 replies (of 1 total)
  • The topic ‘PC Robots.txt PHP error message!!!’ is closed to new replies.