forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Andi on October 26, 2004, 10:49:52 pm

Title: blank space hides output
Post by: Andi on October 26, 2004, 10:49:52 pm
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.
Code: [Select]
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 ;)

Title: Re: blank space hides output
Post by: Casper on October 27, 2004, 12:13:31 pm
Fixed and committed to dev.

Thanks for your input Andi.