Advanced search  

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

Pages: [1]   Go Down

Author Topic: what does this mean?  (Read 2084 times)

0 Members and 1 Guest are viewing this topic.

jlovenet

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
what does this mean?
« on: March 24, 2004, 12:20:52 am »

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
 


??????????????
Logged

jlovenet

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
what does this mean?
« Reply #1 on: March 24, 2004, 12:28:13 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
what does this mean?
« Reply #2 on: March 24, 2004, 07:10:20 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.