problems with php5
Posted: Tue Oct 21, 2008 9:58 am
Hi. I'm a S9Y user since 2005. No troubles so far, I updated Serendipity every time and everything worked very well. Now, I've updated my blog to php 5 (a bit late, I know) and problems begin. Now I get an error message like this:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html//serendipity_config_local.inc.php) is not within the allowed path(s): (/membri) in /membri/ellisse/serendipity_config.inc.php on line 221
line 221 says:
if (file_exists($_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . '/serendipity_config_local.inc.php')) {
$local_config = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . '/serendipity_config_local.inc.php';
} elseif (defined('S9Y_DATA_PATH')) {
In advance, my spamblock plugin doesn't work properly (captcha no more visible), without any reason. The same happens to my linklist plugin (no more expandable, links not working). Unfortunately, I can't access the php.ini (not allowed by the provider), but I can write a new .htaccess, if necessary.
Ref:
Serendipity 1.3.1
PhP 5.x
MySQL 5.0.51
linklist version 1.13
spam protector version 1.68
What can I do? Thanks
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html//serendipity_config_local.inc.php) is not within the allowed path(s): (/membri) in /membri/ellisse/serendipity_config.inc.php on line 221
line 221 says:
if (file_exists($_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . '/serendipity_config_local.inc.php')) {
$local_config = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . '/serendipity_config_local.inc.php';
} elseif (defined('S9Y_DATA_PATH')) {
In advance, my spamblock plugin doesn't work properly (captcha no more visible), without any reason. The same happens to my linklist plugin (no more expandable, links not working). Unfortunately, I can't access the php.ini (not allowed by the provider), but I can write a new .htaccess, if necessary.
Ref:
Serendipity 1.3.1
PhP 5.x
MySQL 5.0.51
linklist version 1.13
spam protector version 1.68
What can I do? Thanks