View Full Version : Why this error?

06-01-2004, 10:53 PM

When i indexing a site, in the status page i see this message, Why?

What can i do to resolve this?

The message is....

Warning: open_basedir restriction in effect. File is in wrong directory in /home/my/public_html/def/spanish/search/admin/robot_functions.php on line 667

06-02-2004, 04:20 AM
Are you indexing a site that requires authentication to enter? If so, read this thread (http://www.phpdig.net/showthread.php?s=&threadid=801&highlight=intranet).

If that isn't the problem at all, and I know this probably sounds like a dumb question, but what is in line 667 in your code? Some of us have customized our code so that line 667 for us isn't necessarily the same line of code for you.

06-02-2004, 06:15 AM
Hi. An open_basedir restriction limits the files that can be opened by PHP to a specified directory tree. To find this directory tree, look at your PHP info page, search for open_basedir, and then install PhpDig in that directory. Otherwise, if you have root, just set open_basedir to no value.