PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
webraven
New Member
New Member


Joined: Mar 16, 2004
Posts: 5
Location: Hollywood, Florida USA

PostPosted: Tue Mar 16, 2004 5:52 pm Reply with quote Back to top

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!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Mar 16, 2004 6:42 pm Reply with quote Back to top

Save this code to a file called info.php and run it
Code:
<?
phpinfo();
?>

Verify that open_basedir is not set.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
webraven
New Member
New Member


Joined: Mar 16, 2004
Posts: 5
Location: Hollywood, Florida USA

PostPosted: Wed Mar 17, 2004 8:26 am Reply with quote Back to top

Thanks Raven, for your quick reply.

It's set to "no value"

Here is the INFO link:
Only registered users can see links on this board!
Get registered or login to the forums!


Thanks!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Mar 17, 2004 8:36 am Reply with quote Back to top

Look closer. The LOCAL value is set to
/home/httpd/vhosts/saintlucifer.com/httpdocs:/tmp

That would be the source of your problem.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
webraven
New Member
New Member


Joined: Mar 16, 2004
Posts: 5
Location: Hollywood, Florida USA

PostPosted: Wed Mar 17, 2004 9:15 am Reply with quote Back to top

How do I edit out that info? I don't see that string anywhere in the PHP.INI file.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Mar 17, 2004 11:12 am Reply with quote Back to top

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
webraven
New Member
New Member


Joined: Mar 16, 2004
Posts: 5
Location: Hollywood, Florida USA

PostPosted: Thu Mar 18, 2004 5:07 pm Reply with quote Back to top

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 Smile What a cool name!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Mar 21, 2004 12:01 am Reply with quote Back to top

Great! What middle name did you pick out to go along with Raven?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
webraven
New Member
New Member


Joined: Mar 16, 2004
Posts: 5
Location: Hollywood, Florida USA

PostPosted: Mon Mar 22, 2004 8:15 am Reply with quote Back to top

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 Smile
Only registered users can see links on this board!
Get registered or login to the forums!


Thanks for your help Raven!
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum