Page 1 of 1
Installation via CVS
Posted: Thu May 20, 2004 6:55 pm
by jromeyn
I installed the program via CVS and everything work great

. I can now add users very easy. I'm planning to use this for my students. However, I get a warning on top of the blog page:
Warning: Failed opening 'serendipity_config.inc.php' for inclusion (include_path='/home/www//serendipity/PATH_SEPARATOR/home/www//serendipity/bundled-libs/PATH_SEPARATOR.:/usr/share/pear') in /home/www/serendipity/templates/default/layout.php on line 11
Can you help?
Re: Installation via CVS
Posted: Fri May 21, 2004 11:37 am
by garvinhicking
jromeyn wrote:I installed the program via CVS and everything work great

. I can now add users very easy. I'm planning to use this for my students. However, I get a warning on top of the blog page:
Warning: Failed opening 'serendipity_config.inc.php' for inclusion (include_path='/home/www//serendipity/PATH_SEPARATOR/home/www//serendipity/bundled-libs/PATH_SEPARATOR.:/usr/share/pear') in /home/www/serendipity/templates/default/layout.php on line 11
Can you help?
That looks very strange. PATH_SEPARATOR is a PHP internal constant but seems to not be used in your installation. Which PHP and webserver version do you use?
Did you modify your layout.php file in the templates/default/ directory?
Regards,
Garvin.
Install problem
Posted: Fri May 21, 2004 4:06 pm
by jromeyn
No, I did not make any changes. I installed the latest stable version first and it did not have these errors. But when I installed it via CVS on two different servers with Redhat 9.0 installed on it, I got the same errors on both. The reason for the later install is to make the instllation of new users easy.
Re: Install problem
Posted: Sat May 22, 2004 11:55 am
by garvinhicking
jromeyn wrote:No, I did not make any changes. I installed the latest stable version first and it did not have these errors. But when I installed it via CVS on two different servers with Redhat 9.0 installed on it, I got the same errors on both. The reason for the later install is to make the instllation of new users easy.
Again, which PHP/Webserver version are you running? Could you please provide a phpinfo(); output of that install?
Regards,
Garvin.
Posted: Tue May 25, 2004 5:30 am
by dakira
Hi,
I have the exact same problem at blog.yumdap.net. phpinfo() is at
www.yumdap.net/info.php. It is a clean install. Nothing modified. Another strange thing is that the navigation on the right repeats itself 5 times?!
The layout.php in templates/default contains
Code: Select all
include_once('serendipity_config.inc.php');
just as it should be. If I give it the complete path the error goes away but the navigation on the right still repeats itself.
Hope you know what to do
dakira
Posted: Tue May 25, 2004 1:00 pm
by garvinhicking
I found out that PATH_SEPARATOR is not available before PHP 4.3.0 versions.
Please open your compat.php file and insert this at the top of the file:
Code: Select all
if (!defined('PATH_SEPARATOR')) {
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
define('PATH_SEPARATOR', ';');
} else {
define('PATH_SEPARATOR', ':');
}
}
if (!defined('DIRECTORY_SEPARATOR')) {
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
define('DIRECTORY_SEPARATOR', '\\');
} else {
define('DIRECTORY_SEPARATOR', '/');
}
}
and tell me if it works out for you.
Dakira, about your other problem: Look in your plugin configuration, I guess that all plugins are installed 5 times there? Maybe you installed s9y multiple times to the same database?
Regards,
Garvin.
Posted: Tue May 25, 2004 3:28 pm
by dakira
Thank you! Your code solved the problem!
And yes, the plugins where installed 5 times
Cheers
dakira
compat.php
Posted: Wed May 26, 2004 3:33 am
by jromeyn
Yes, thank you that solved the problem