Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
4.2.0 installation problem - glob() [function.glob]
Hi,
I’ve just tried to install the 4.2.0 upgrade on a site and can no longer get to the log-in page, only the error message below appears. I’ve done three other sites without a problem, can anyone help, thanks.
Warning: glob() [function.glob]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/httpd/vhosts/conwaytennisclub.co.uk/httpdocs:/tmp) in /home/httpd/vhosts/conwaytennisclub.co.uk/httpdocs/textpattern/lib/txplib_misc.php on line 575
Fatal error: Call to undefined function include_element() in /home/httpd/vhosts/conwaytennisclub.co.uk/httpdocs/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1920
Offline
Re: 4.2.0 installation problem - glob() [function.glob]
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: 4.2.0 installation problem - glob() [function.glob]
Many thanks Stef,
It was zem_event that was causing the problem, but don’t need it now that I’m using your excellent smd_calendar plug-in. I’ve now deleted it (via phpMyAdmin) so I can get into the admin window but it’s still showing the error -
Warning: glob() [function.glob]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/httpd/vhosts/conwaytennisclub.co.uk/httpdocs:/tmp) in /home/httpd/vhosts/conwaytennisclub.co.uk/httpdocs/textpattern/lib/txplib_misc.php on line 575
Not sure what needs doing, guess I should move my query to the thread you suggested.
Last edited by decoderltd (2009-09-30 15:48:08)
Offline
Re: 4.2.0 installation problem - glob() [function.glob]
decoderltd wrote:
open_basedir restriction in effect.
That’s an error as TXP loads all the plugins and it’s to do with PHP’s safe mode. You might be able to turn it off using any of the techniques there, though it’s not addressing the cause.
Few other things to check:
- Are you using the plugin_cache_dir (Advanced Prefs) and is it pointing to the correct directory within your textpattern installation?
- Does the Diagnostics tab give any clues?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: 4.2.0 installation problem - glob() [function.glob]
Thanks Stef.
I checked the diagnostics tab and apart from a clean_url_data_failed: <br />
warning there’s no real clues.
In the Advanced Prefs Plugin cache directory path
it’s pointing to
/home/httpd/vhosts/conwaytennisclub.co.uk/httpdocs/textpattern/plugins
although as far as I can see there’s isn’t a folder called ‘plugins’ in that location, is there somewhere else it should be?
UPDATE: Sorry Stef, ignore that. I deleted the Plugin cache directory path and everything is fine now. Thanks for your help.
Last edited by decoderltd (2009-09-30 15:48:34)
Offline