Advanced search  

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]

Pages: [1]   Go Down

Author Topic: PHP error, any ideas?  (Read 1910 times)

0 Members and 1 Guest are viewing this topic.

daniel_981

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
PHP error, any ideas?
« on: April 08, 2005, 05:19:32 pm »

Fatal error: Call to undefined function: getmicrotime() in /gallery/themes/default/theme.php on line 806

Lines 800-807, default.php:
Code: [Select]
{
    global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS;
    global $USER, $USER_DATA, $ALBUM_SET, $CONFIG, $time_start, $query_stats, $queries;;
    global $template_footer;

    if ($CONFIG['debug_mode']) {
806     $time_end = getmicrotime();                                   
        $time = round($time_end - $time_start, 3);
???


Also, when new users are registering they are not getting the confirmation email, and the user list isnt showing them in the user list as being inactive users. Its like their registration information is just vanishing. Could this be related?

Thanks for the help.
Logged

Nibbler

  • Guest
Re: PHP error, any ideas?
« Reply #1 on: April 08, 2005, 07:16:28 pm »

Are you trying to use the 1.2 theme 'default' with a 1.3 gallery ? You should use the theme 'classic' as a standard theme for 1.3 and delete the theme 'default'.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.