NextGEN gallery & is_dir(): open_basedir Restriction
-
Hi,
I’ve been having some real issues with two of my sites, both of which have been generating massive error log files with messages like this (domain removed):
mod_fcgid: stderr: PHP Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/***********/:/tmp/) in /var/www/vhosts/************/httpdocs/wp-includes/functions.php on line 1512
It’s taken me days to figure out the cause of it and after re-installing WordPress and by reinstalling, disabling & enabling plugins I finally figured out that it was NextGEN gallery that was causing the issue. It appears to be when a a shortcode has been pasted into a page and one of the galleries it has as an ID is no longer there (i.e. it’s been removed).
This helped me fix one of the sites which only had a few galleries embedded in it, two of which were asking for images from two galleries, of which one had been removed. However with the other site there are many many galleries and despite trawling through the pages I’m struggling to find the source of the issue.
Both sites are on the same server, both are fully up to date with WordPress and plugins. Are there any current issues with the plugin that would cause this to happen?
I’m constantly having to rescue my server from falling over from the size of the error logs so trying to solve this is vital for me.
Thanks!
- The topic ‘NextGEN gallery & is_dir(): open_basedir Restriction’ is closed to new replies.