Advanced search  

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]

Pages: [1]   Go Down

Author Topic: blank space hides output  (Read 3519 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.013 seconds with 18 queries.