[Xerte] Re: Fatal error: Cannot redeclare database_connect()
Julian.Tenney at nottingham.ac.uk
Wed Oct 19 10:24:58 BST 2011
Bear with us. For some reason, my computer was missing files out of the zip, when I zipped it up. I've fixed that, but now when I test it I'm getting other errors, which I need Pat and David to look at urgently.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of moxitron
Sent: 19 October 2011 10:14
Subject: [Xerte] Fatal error: Cannot redeclare database_connect()
When I point my browser to the management.php file and login with the admin credentials, I am getting the following displayed (and no more, so I'm stuck!). This happens with the svn trunk which I copied this morning, and also with the 1.7 download from the xerte website. Is there a "require" being done when it should be a "require_once"?
Thanks for your help,
Warning: date() [function.date<http://127.0.0.1/xertetoolkits/function.date>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\Apache2\htdocs\xertetoolkits\config.php on line 35
Fatal error: Cannot redeclare database_connect() (previously declared in C:\Apache2\htdocs\xertetoolkits\website_code\php\database_library.php:23) in C:\Apache2\htdocs\xertetoolkits\website_code\php\database_library.php on line 66
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xerte