A lot of blank page before the footer A lot of blank page before the footer
 

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

A lot of blank page before the footer

Started by thoeri, April 04, 2005, 03:14:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thoeri

Hi you all,

I have the latest vers of Coppermine installed and I have it wrapped in Mambo 4.5.1. with the standard wrapper component. Everything works great except that I sometimes get a very "tall" page.  Just a very long blank distance between the last line of content to the footer. This happens if I open a "tall" page like FAQ. Then the lenght of the next page will be as long as FAQ even though it´s not. Do I make any sense now? This doesn't happen with other pages that I tried to wrap, so it must be something from CM. I suspect that this script in theme.php (see further down) has something do to with it, but I might be wrong.

Can anybode help, please?

Cheers,
Thoeri

// Function for writing a pagefooter
function pagefooter()
{
    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']==1 || ($CONFIG['debug_mode']==2 && GALLERY_ADMIN_MODE)) {
    cpg_debug_output();
    }

    echo $template_footer;
}

Tranz