orang wrote:... displaying since a couple of weeks the same error messages...
That short...? You don't seem to need your installations...
If you google this, this isn't really the fault of the software used, it is by your servers (ISPs) configuration, as Garvin pointed out.
Therefor they should be able to solve this for you (and all their other customers). I found a lot of others with the same crude open_basedir error messages... based on corresponding server environments (or same provider).
The message displayed is clear: the path and file on demand is
NOT in the allowed open_basedir() paths. What is the correct system file path that is allowed and correct accessible by your ISP?
You can either test what you Server configuration tells you
Code: Select all
<?php
echo "1: " . $_SERVER['DOCUMENT_ROOT'] . "<br>\n";
echo "2: " . dirname($_SERVER['PHP_SELF']) . "<br>\n";
echo "3: " . $serendipity['serendipityPath'] . "<br>\n";
echo "4: " . S9Y_DATA_PATH . "<br>\n";
echo "5: " . getcwd() . "<br>\n";
echo "6: " . dirname(__FILE__) . "<br>\n";
?>
Put that into a mypathtests.php file in your Home directory and access it via browser.
What is the scripts output and which path is not a real (allowed and accessible) path? Of
very interest is also number 3. Is it still an allowed and acessible path? Maybe that has changed...?! If so, you need to modify the value of serendipityPath in the *_config table of you database.
The path not found error is this, for example....
Code: Select all
/customers/weisenbacher.de/weisenbacher.de/httpd.www/kfd/templates/costa-nature_theme/404.tpl
as it says:
Code: Select all
Warning: file_exists(): open_basedir restriction in effect.
File
/customers/weisenbacher.de/weisenbacher.de/httpd.www/kfd/templates/costa-nature_theme/404.tpl
is not within the allowed path(s):
(
/customers/d/f/6/weisenbacher.de/httpd.www:
/customers/d/f/6/weisenbacher.de/httpd.private:
/customers/d/f/6/weisenbacher.de/tmp:
/customers/weisenbacher.de/weisenbacher.de:
/var/www/diagnostics:
/usr/share/php
)
in .... file
Are you sure it should'nt be either:
Code: Select all
/customers/weisenbacher.de/weisenbacher.de/kfd/templates/costa-nature_theme/404.tpl
or
Code: Select all
/customers/d/f/6/weisenbacher.de/httpd.www/kfd/templates/costa-nature_theme/404.tpl
or some other path?
First, try to add
on top of your Serendipity .htaccess files to disable open basedir in your blogs.
If that does not help, you can try to set the correct path via ini_set():
As of PHP 5.3.0 open_basedir can be tightened at run-time. This means that if open_basedir is set to /www/ in php.ini a script can tighten the configuration to /www/tmp/ at run-time with ini_set(). When listing several directories, you can use the PATH_SEPARATOR constant as a separator regardless of the operating system.
Second, it
~might~ help to add an empty 404.tpl file to your theme testwise, to circumvent the restriction message on a file which is actually not a real file. Does that change the errors?
Edit:
Please provide some more info about server configuation, system info, S9y and PHP Versions.