blank space hides output blank space hides output
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

blank space hides output

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

Previous topic - Next topic

0 Members and 1 Guest 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