+ Post New Thread
Results 1 to 11 of 11
CLEO Thread, Has your LancsNGFL hosted site started throwing errors after summer in Regional Broadband Consortiums (RBC); Came into work this morning to find a few emails from members of staff in our schools that are saying ...
  1. #1
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    980
    Thank Post
    103
    Thanked 117 Times in 102 Posts
    Rep Power
    74

    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:
    Code:
    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

  2. #2

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    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

  3. #3
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    980
    Thank Post
    103
    Thanked 117 Times in 102 Posts
    Rep Power
    74
    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.

  4. #4
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108
    My Joomla site has been throwing up the odd error as well.

  5. #5

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    Lets pile in the calls on them tomorrow people

    one of my errors is
    Code:
    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.

  6. #6

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    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
    Code:
    /g01/inet/htdocs/YOURSCHOOL/dmdocuments
    path.

    Seems to have stopped the errors for me

    regards

    Simon

  7. #7

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    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

  8. #8

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    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

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,597
    Thank Post
    109
    Thanked 770 Times in 598 Posts
    Rep Power
    183
    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!

  10. #10

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    Still getting the Internal Server error occasionally

    Westfield acknowledge the problem and say county geeks working on it.

    regards

    Simon

  11. #11

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    Haven't had any errors in last 24hrs so I think they've sorted it out

    Si



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 23rd August 2010, 11:29 PM
  2. new site errors
    By imiddleton25 in forum EduGeek Joomla 1.5 Package
    Replies: 5
    Last Post: 13th September 2008, 09:39 AM
  3. Forwarding apache hosted site though IIS
    By Lee_K_81 in forum Wireless Networks
    Replies: 7
    Last Post: 29th November 2007, 10:30 AM
  4. Replies: 0
    Last Post: 2nd July 2007, 04:27 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •