what does this mean? what does this mean?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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