forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: daniel_981 on April 08, 2005, 05:19:32 pm

Title: PHP error, any ideas?
Post by: daniel_981 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.
Title: Re: PHP error, any ideas?
Post by: Nibbler 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'.