www_root does not correspond to server_root ??? [message #752] |
Tue, 26 February 2002 19:31 |
juicysauce
Messages: 14 Registered: February 2002
Karma: 0
|
Junior Member |
|
|
okay, i realize this is probably a really simple question, but i am thoroughly confused.
when i try to run install.php, i get the following error message during step 2, next to my entry for "Forum WWW Root":
Your WWW_ROOT does not correspond with the SERVER_ROOT path you have specified.
My settings are:
Server Root: /home/juicysauce/www/forum/ Forum Data Root: /home/juicysauce/www/forum/ Forum WWW Root: http://justincone.com/forum/
So what doesn't "correspond"?
I have gotten it to work by making all three entries "/home/juicysauce/www/forum/", but that causes many many problems later, e.g. broken images, 404 pages, etc.
Any ideas?
Thanks in advance, cone
|
|
|
Re: www_root does not correspond to server_root ??? [message #753 is a reply to message #752] |
Tue, 26 February 2002 20:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Here is why you are getting that problem. During the installation process the install script puts a file inside the SERVER_ROOT (/home/juicysauce/www/forum/) and then tries to fetch that file by going to WWW_ROOT + that file name.
If this fails you get an error just like the one you've seen (Your WWW_ROOT does not correspond with the SERVER_ROOT path you have specified.)
To fix this problem make sure that http://justincone.com/forum/ == /home/juicysauce/www/forum/.
So that if I were to make a file /home/juicysauce/www/forum/TEST_FILE then by going to to http://justincone.com/forum/TEST_FILE i would be able to see that contents of that file.
FUDforum Core Developer
|
|
|
|
|
|
|
Re: www_root does not correspond to server_root ??? [message #27531 is a reply to message #27517] |
Sun, 11 September 2005 17:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The 1st "problem" you can resolve by setting "allow_url_fopen" setting to "0" or "Off" inside your php.ini settings file.
The 2nd problem is caused by the fact that PHP setting sql safe mofe is enanbled, which means connection parameters cannot be set directly and are taken automatically from php.ini. To solve the problem leave the connection setting fields (aside from table prefix and database name) blank.
FUDforum Core Developer
|
|
|