Forums

Quick Cache ( Speed Without Compromise )
got a problem with open_basedir restrictions (1 post)

  1. Ovidiu
    Member
    Posted 11 months ago #

    found this in my error log:

    [Tue Jun 07 17:34:18 2011] [warn] [client 145.253.32.107] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/clientxx/webxx/wp-config.php) is not within the allowed path(s): (/var/www/clients/clientxx/webxx/web:/var/www/clients/clientxx/webxx/tmp:/var/www/knightsenglish.com/web:/srv/www/knightsenglish.com/web:/usr/share/php5:/usr/share/php/PEAR:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client6/web11/web/wp-content/plugins/quick-cache/includes/classes/menu-pages.inc.php on line 308, referer: http://www.knightsenglish.com/wp-admin/admin.php?page=ws-plugin--qcache-options

    there is something obviously wrong here as your plugin is looking for wp-config.php here:

    File(/var/www/clients/clientxx/webxx/wp-config.php) is not within the allowed path(s):

    and that is not the root directory and wp-config.php isn't to be foudn there!!! the right path would be: /var/www/clients/clientxx/webxx/web/ so I am unsure where this problem comes from :-(

    found one of the plugin files and the code looks like this: else if (file_exists (dirname (ABSPATH) . "/wp-config.php") && !is_writable (dirname (ABSPATH) . "/wp-config.php"))

    and sometimes it looks like this: (ABSPATH . "wp-config.php") - notice the missing / in front of wp-config.php

    is that right? if yes, why would ABSPATH not report the right absolute path? Or is the absolute path to be without the WEB folder which is my root folder?

    http://wordpress.org/extend/plugins/quick-cache/

Reply

You must log in to post.

About this Plugin

About this Topic