Has your LancsNGFL hosted site started throwing errors after summer
Came into work this morning to find a few emails from members of staff in our schools that are saying thier websites are throwing up errors.
The error is:
the error lists 2 different file paths, the one that it was requesting and the one it was execed from. It appears that the directory structure of the hosting has been shuffled and changed from /g01/inet/users/_FTPUSERNAME_/docs to /g01/inet/htdocs/_SUBDOMAIN_. A small change that throws errors on any sites that had the file path stored in config anywhere.
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect.
File(/g01/inet/users/*****/docs/starnet/themes) is not within the allowed path(s):
(/g01/inet/htdocs/*****/:/g01/inet/htdocs/testsite/error_pages/:/g01/inet/htdocs/testsite/cmsCentral/:/tmp/:/g01/inet/htdocs/testsite/school-dyn6/:/g01/clamav/tmp/) in /g01/inet/htdocs/*****/starnet/core/con_configuration.inc.php on line 111
This can be fixed by simply changing the path in config.
This causes issues with Site at School
To fix go into the admin panel -> Configuration -> S@S Options
You will see 2 copies of the error at the top, copy the new path from there into the "Location on webserver" field and press save