Jump to content

Has your LancsNGFL hosted site started throwing errors after summer


Recommended Posts

Posted

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:

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

 

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.

 

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

Posted

I'm seeing problems with open_basedir restrictions with the docman module in all my Joomla sites :(

 

What software are you using on your site? LancsCMS?

 

regards

Simon

 

About 18 months ago - a similar open_basedir error started getting thrown up when I tried to install new Joomla modules - I couldn't get anyone to fix things at webserver end and I have to manually edit Joomla core files everytime I update to a new version to get it to ignore the error.

 

In Joomlas case its something like Joomla thinks its installed in a path starting with /u01 but the open_basedir restrictions only allow for /g01 paths.

 

The webteam said they had "symbolic links" between /u01 and /g01 - I said - well it doesn't work - they never got back to me :(

Posted

Our schools use LancsCMS and Site at School, for LancsCMS i point them at the westfield, we had nothing to do with setup and have no control over it / and idea how it works.

 

Site at school does work if you change the path.

 

the error implies that PHP doesn't have permission to run in the target directory, if /u01 is symlinked to /g01 then you should bust be able to swap the paths in joomla without any problems, although as it seems to be in different folders that will most likely brick it.

Posted

Lets pile in the calls on them tomorrow people :)

 

one of my errors is

open_basedir restriction in effect. File(/g01/inet/users/b7047/docs/dmdocuments/) is not within the allowed path(s): (/g01/inet/htdocs/broadoak/:/g01/inet/htdocs/testsite/error_pages/:/g01/inet/htdocs/testsite/cmsCentral/:/tmp/:/g01/inet/htdocs/testsite/school-dyn6/:/g01/clamav/tmp/

 

The problem with this is that Joomla automagically picks up the /g01/inet/users/b7047/docs path as its root folder and I've never managed to find anywhere where this value can be changed to /g01/inet/htdocs/broadoak/

 

Why its just happening with the Docman module - I don't know???

 

Maybe I'll try looking for the place that gives the error and bodge the code like I do for the install modules routine.

Posted

OK - might have a quick fix for Joomla Docman.

 

Go into back end and select Components - Docman - Configuration and press the Reset Default button to get Docman to pick up the

/g01/inet/htdocs/YOURSCHOOL/dmdocuments

path.

 

Seems to have stopped the errors for me :)

 

regards

 

Simon

Posted

But just had a head on the phone saying can't edit articles. :(

 

Turns out he can edit an article but if he tries and changes a front page status it gives a big message saying "Internal Server Error" - contact webmaster.

 

So its back to phoning up Woodlands tmmrw :(

Si

Posted

I can't replicate the "Internal Server Error" that I was getting last night.

 

Is anyone still getting any errors with Lancs websites (apart from the Docman issue that can be fixed ourselves)?

 

regards

 

Simon

Posted

My Joomla site got screwed over by this... couldn't load it at all. A call went in and it was sorted pretty quickly... until I realised that trying to save in the backend simply returned Internal Server Errors.

 

I know the problem wasn't resolved yesterday but it now seems to be fixed... I better call Westfield and close the call I've had open for 2 weeks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...