PHP error, any ideas? PHP error, any ideas?
 

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

PHP error, any ideas?

Started by daniel_981, April 08, 2005, 05:19:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

daniel_981

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

Lines 800-807, default.php:

{
    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.

Nibbler

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'.