Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: blank space hides output  (Read 4100 times)

0 Members and 1 Guest are viewing this topic.

Andi

  • VIP
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 85
  • Join the Future
    • www.pragmamx.org
blank space hides output
« 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 ;)

« Last Edit: October 28, 2004, 10:51:55 am by Casper »
Logged
hope, I could help you... :)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: blank space hides output
« Reply #1 on: October 27, 2004, 12:13:31 pm »

Fixed and committed to dev.

Thanks for your input Andi.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.