PHP Warning
-
Hi Jordy,
we have this define in wp-config.php :
/** Define media folder */ define('UPLOADS', 'files');
And it seems to break something as we can see in log server:
[Fri Jan 15 07:31:39.806307 2016] [fcgid:warn] [pid 5629] [client IP:39058] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/clientXX/webXXX/web/../wp-content/uploads/2011/01/[email protected]) is not within the allowed path(s): (/var/www/clients/clientXX/webXXX/web:/var/www/clients/clientXX/webXXX/private:/var/www/clients/clientXX/webXXX/tmp:/var/www/seo-camp.org/web:/srv/www/seo-camp.org/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/clientXX/webXXX/web/wp-content/plugins/wp-retina-2x/wp-retina-2x.php on line 569
For security reasons, I have replaced numbers by XXX. The plugin is looking for a file which is not located in default uploads folder.
Thanks!
- The topic ‘PHP Warning’ is closed to new replies.