what does this mean? what does this mean?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

what does this mean?

Started by jlovenet, March 24, 2004, 12:20:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jlovenet

Fatal error: Cannot redeclare getmicrotime() (previously declared in /home/glitzng/public_html/jlh/picturegallery/include/init.inc.php:38) in /home/glitzng/public_html/jlh/picturegallery/include/init.inc.php on line 36
 


??????????????


Joachim Müller

you're using another php script (including it with a custom include call in theme.php or anycontent.php) that uses the function getmicrotime (there are many scripts using this function name, which is a silly thing to do). Just check if the function defintions are both times identical and the switch off one function definition. In coppermine, this function is being defined in include/init.inc.php.
Another option is to replace every occurence of getmicrotime() with some custom name like cpggetmicrotime(), but you will have to make sure you replace every occurence of it (include/init.inc.php, include/functions.inc.php and themes/yourtheme/theme.php) - that's the option I will go for; I'll change this in the dev version of coppermine to get rid of such problems in the future.

GauGau