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
Fatal Error 'redeclare serendipity_db_update() '
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Fatal Error 'redeclare serendipity_db_update() '
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Fatal Error 'redeclare serendipity_db_update() '
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:
after:
after this i could test it on my windows system
greetings from Hamburg
- 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');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');greetings from Hamburg
Re: Fatal Error 'redeclare serendipity_db_update() '
Thx, Snoopy.
You helped me.
Josef
(Munich)
You helped me.
Josef
(Munich)