Error in DOCUMENT_ROOT

Error in DOCUMENT_ROOT

by Conrad Taylor -
Number of replies: 2

Hi all, been running moodle for nearly 2 years, but the strange thing happened to my site the other day..

when I click on Admin, from the administration panel,

I get the following error message

 

Please fix your settings in config.php:

You have:

$CFG->dirroot = "/home/sage/public_html/elearning";

but it should be:

$CFG->dirroot = "/home2/sage/public_html/elearning";

but when run the phpinfo.php from admin

it states te folowing 

DOCUMENT_ROOT /home/sage/public_html/elearning

this error therefore prevent me from viewing the admin options.

Any help will be grateful

as this site is not a test site but a production site...

 

Cheers In advance..

Conrad

P.S even when I delete the original config file and ran the install script, it also detects that is

/home2/sage/public_html/elearning

is my Root folder address....

Average of ratings: -
In reply to Conrad Taylor

Re: Error in DOCUMENT_ROOT

by W Page -
Hi Conrad!

Have you checked with your WebHost to see if they can give you some insight into this??

WP1
In reply to W Page

Re: Error in DOCUMENT_ROOT

by Conrad Taylor -

Yep have check with then, but they are only seeing the correct root folder path..

/home/sage/public_html/elearning

therefore they think the problem is not from their side...

Starnge this is......