blank space hides output blank space hides output
 

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

blank space hides output

Started by Andi, October 26, 2004, 10:49:52 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Andi

Hi :)

after adding some pics with batch-add function all result aren't shown.
There is no output withe this url: http://localhost/vkpmx/addpic.php?aid=1&pic_file=Mjc2LzAxLmpwZw==&reload=417e9c10bf72a, only blank screen.
But the pictures are added successfully to the database.

On the search for the causer I found a blank at the end of the file langfallback.inc.php (langfallback.inc.php,v 1.9 2004/10/24 12:49:42 gaugau)
It causes that in the file addpic.php the following condition is implemented and the output is empty.
if (ob_get_length()) {
    ob_end_flush();
    exit;
}

Same Problem is with output in file showthumb.php.

Solution:
delete space at the end of file langfallback.inc.php ;)

hope, I could help you... :)

Casper

Fixed and committed to dev.

Thanks for your input Andi.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here