cancel
Showing results for 
Search instead for 
Did you mean: 

Path to document root on the server

chillifish
Member

Can't seem to find any reference to where the site root is on the server. As in "/home/sites/mysite.co.uk/public_html/"

 

Anyone know?

5 REPLIES 5

chillifish
Member

Seem to have found the info I need here.

chillifish
Member

Doesn't seem to work, I just got:

 

Warning: opendir(/services/webpages/n/o/northeggardoncarthouse.co.uk/public/northeggardoncarthouse/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 88 Warning: closedir(): supplied argument is not a valid Directory resource in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 94 Warning: opendir(/services/webpages/n/o/northeggardoncarthouse.co.uk/public/northeggardoncarthouse/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 88 Warning: closedir(): supplied argument is not a valid Directory resource in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 94 Warning: opendir(/services/webpages/n/o/northeggardoncarthouse.co.uk/public/northeggardoncarthouse/admin//lang) Doesn't seem to work,[function.opendir]: failed to open dir: No such file or directory in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 88 Warning: closedir(): supplied argument is not a valid Directory resource in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 94 Warning: opendir(/services/webpages/n/o/northeggardoncarthouse.co.uk/public/northeggardoncarthouse/admin//lang) [function.opendir]: failed to open dir: No such file or directory in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 88 Warning: closedir(): supplied argument is not a valid Directory resource in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/translation.functions.php on line 94 Fatal error: Class 'CmsRoute' not found in /services3/webpages/n/o/northeggardoncarthouse.co.uk/public/lib/classes/class.module.inc.php on line 495

duskjome
BT Partner
BT Partner

It looks like you have the path from the server correct. I would recommend verifying that you have the folders and files mentioned in the error message in your hosting space as well. Also it looks like some of those errors are trying to call a services3/webpages/n/o/ and etc. I'm not sure if that something in your code that is doing that but I would correct that to just services, no 3, as well. Keeping in mind that I don't code, so the extent of my knowledge here is what the absolute path to the server is and how to access files:)

 

Hope this helps.

chillifish
Member

Thanks, good to know I've got it right, I thought I was going mad! Don't know where that 3 is coming from either as it's not in the config file.

 

The files are definitely there, I wondered if it might be a permissions issue. More delving is required, I feel!

chillifish
Member

Completely started from scratch and it now works. No idea what I'd done wrong first time round.