Log in

View Full Version : How do I fix this? [+REP]



Jackbee
19-04-2007, 07:38 PM
How and where do I fix the following error


Warning: Unknown(): open_basedir restriction in effect. File(/home/fh/public_html/index.php) is not within the allowed path(s): (/home/habbomus:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Warning: Unknown(/home/fh/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: Unknown(): open_basedir restriction in effect. File(/home/fh/public_html/index.php) is not within the allowed path(s): (/home/habbomus:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Warning: Unknown(/home/fh/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/home/fh/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

MrCraig
19-04-2007, 08:02 PM
Erm.. looks like its missing a file. So just double check all the files are in the right place and the hyperlinks are right..

Actually,

Check the CHMOD on the index.php file and all other files mentioned.

Jackbee
19-04-2007, 08:03 PM
they are... I changed the domain though...

MrCraig
19-04-2007, 08:07 PM
Are you sure index.php is CHModded to 755 and that all the inclusions are relevant to your new domain?

Tomm
19-04-2007, 08:07 PM
What are you tring to do? It seems that your host is stopping you running the command via php.ini

Jackbee
19-04-2007, 08:12 PM
Are you sure index.php is CHModded to 755 and that all the inclusions are relevant to your new domain?
Just changed and its the same

What are you tring to do? It seems that your host is stopping you running the command via php.ini
I'm trying to run the forum from a prevoius domain to a new one but with the same hosting

MrCraig
19-04-2007, 08:13 PM
did it work on your old domain?

edit: what type of forum is it?

Jackbee
19-04-2007, 08:15 PM
It did + its a vBulletin

MrCraig
19-04-2007, 08:17 PM
Erm.. Short term solution:

Put an Iframe to your old website url (with forum on it) then it should work

but basically it must be the inclusions that are wrong as i cant think of anything else.

Jackbee
19-04-2007, 08:28 PM
(/home/habbomus:/usr/lib/php:/usr/local/lib/php:/tmp) <--- I need to change that but I don't know where

MrCraig
19-04-2007, 08:31 PM
it will be in the index.php file at the very top.

Jackbee
19-04-2007, 08:37 PM
it's not :P

MrCraig
19-04-2007, 08:44 PM
Best thing i can suggest is to reupload the files from your computer and install it again and see if that works (in case you did something wrong in first install)

Or check that the database connections are right etc.

phpme
19-04-2007, 10:26 PM
If its on like a PHP webpanel /DJ Panel/Site Well That Means It has been Coded Rong. Or It could Mean a Missing File/folder.

Or MYSQL Is Not done right.


OR U need to put it in /Public_Html/ (if its on website) it looks like it is.

:8 :8

Colin-Roberts
19-04-2007, 11:08 PM
in vbulletin somewere it has site url. try config.php or something close to that.

Jackbee
20-04-2007, 03:38 PM
config.php is fine. still need to fix! :(

MrCraig
20-04-2007, 03:39 PM
dude, just delete it and upload again, thats easiest way, if problem persists, contact vbulletin saying they have a problem.

Jackbee
21-04-2007, 09:45 AM
right can anyone tell me what file you edit the php destanition in!?

Matt,
21-04-2007, 12:21 PM
It might be in the mysql database if its the site url

Jackbee
21-04-2007, 02:32 PM
what file do you reckon it will be in in phpmyadmin

ScottDiamond
21-04-2007, 02:39 PM
dude, just delete it and upload again, thats easiest way, if problem persists, contact vbulletin saying they have a problem.

You don't know what you're talking about, seriouslly. An iFrame on the old site. o.O

Jackbee
21-04-2007, 02:42 PM
what file do you recon I will need to edit for it to work in phpmyadmin

Want to hide these adverts? Register an account for free!