Page 1 of 1
Fatal Error 'redeclare serendipity_db_update() '
Posted: Mon Dec 05, 2005 11:55 pm
by Math
hello,
I run into this error..
Fatal error: Cannot redeclare serendipity_db_update() (previously declared in c:\program files\easyphp1-7\www\hardloopgroepNieuwstadt\weblog\include\db\db.inc.php:9) in c:\program files\easyphp1-7\www\hardloopgroepnieuwstadt\weblog\include\db\db.inc.php on line 9
Anybody knows what to do to fix this?
Thanks
Re: Fatal Error 'redeclare serendipity_db_update() '
Posted: Tue Dec 06, 2005 1:31 pm
by garvinhicking
This sounds like an error in your PHP installation (easyphp?), which is not able to properly resolve and distinct multiple PHP files.
We use a include_once call to include the file, and if the error of yours appears it means your PHP installation was not able to include a file only once.
Please try to use XAMPP as distribution, s9y is known to work in that environment.
Regards,
Garvin
Re: Fatal Error 'redeclare serendipity_db_update() '
Posted: Fri Apr 07, 2006 7:28 pm
by Snoopy
I hade the same error on a windows system !
- you can do the following:
edit the file functions_installer.inc.php at line 723
before:
Code: Select all
$serendipity['dbType'] = $_POST['dbType'];
// Probe database
// (do it after the dir stuff, as we need to be able to create the sqlite database)
@include_once($_POST['serendipityPath'] . 'include/db/db.inc.php');
// For shared installations, probe the file on include path
include_once(S9Y_INCLUDE_PATH . 'include/db/db.inc.php');
after:
Code: Select all
$serendipity['dbType'] = $_POST['dbType'];
// Probe database
// (do it after the dir stuff, as we need to be able to create the sqlite database)
//@require_once($_POST['serendipityPath'] . 'include/db/db.inc.php');
// For shared installations, probe the file on include path
require_once(S9Y_INCLUDE_PATH . 'include/db/db.inc.php');
after this i could test it on my windows system
greetings from Hamburg

Re: Fatal Error 'redeclare serendipity_db_update() '
Posted: Fri Aug 18, 2006 12:09 pm
by b-707
Thx, Snoopy.
You helped me.
Josef
(Munich)