Author |
Message |
webraven
New Member


Joined: Mar 16, 2004
Posts: 5
Location: Hollywood, Florida USA
|
Posted:
Tue Mar 16, 2004 5:52 pm |
|
Hello,
Has anyone seen this problem? After a clean install, I go to the page and here is the error I get:
------------------------------------------------------
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/saintlucifer.com/httpdocs/index.php on line 15
Fatal error: Failed opening required '/mainfile.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/saintlucifer.com/httpdocs/index.php on line 15
------------------------------------------------------
I'm hoping someone in here has seen this because I've tried several things including:
1- Checking the PHP.INI file for the line that has "open_basedir" to see if it is commented...It is.
2- Confirming the files are in the correct location.
3- Experimenting with the "/" in front of the filename.
I really appreciate any help I can get. Thanks! |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Mar 16, 2004 6:42 pm |
|
Save this code to a file called info.php and run it
Verify that open_basedir is not set. |
|
|
|
 |
webraven

|
Posted:
Wed Mar 17, 2004 8:26 am |
|
|
|
 |
Raven

|
Posted:
Wed Mar 17, 2004 8:36 am |
|
Look closer. The LOCAL value is set to
/home/httpd/vhosts/saintlucifer.com/httpdocs:/tmp
That would be the source of your problem. |
|
|
|
 |
webraven

|
Posted:
Wed Mar 17, 2004 9:15 am |
|
How do I edit out that info? I don't see that string anywhere in the PHP.INI file. |
|
|
|
 |
Raven

|
Posted:
Wed Mar 17, 2004 11:12 am |
|
It would appear, then, that it could be in a .htaccess file. Or, are you sure you're looking at the correct php.ini file? phpinfo() shows several ini files:
Configuration File (php.ini) Path /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed
/etc/php.d/imap.ini,
/etc/php.d/ldap.ini,
/etc/php.d/mysql.ini |
|
|
|
 |
webraven

|
Posted:
Thu Mar 18, 2004 5:07 pm |
|
Apparently, a new install did the trick. I don't what I did wrong the first time, but after wiping everything clean and starting over, success!
Thanks for your help, Raven!
ps - My daughter's name is Raven What a cool name! |
|
|
|
 |
Raven

|
Posted:
Sun Mar 21, 2004 12:01 am |
|
Great! What middle name did you pick out to go along with Raven? |
|
|
|
 |
webraven

|
Posted:
Mon Mar 22, 2004 8:15 am |
|
Actually, we originally named her Raven Lee, but there were some complications at birth and we got freaked out with the Bruce Lee story and a possible hex, so we changed it to Alex Raven, she turned out perfect...so we named the business after her as well www.webraven.net
Thanks for your help Raven! |
|
|
|
 |
|