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: [RC4 BUGFIX] Constant page refresh/reload  (Read 5514 times)

0 Members and 1 Guest are viewing this topic.

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[RC4 BUGFIX] Constant page refresh/reload
« on: November 30, 2003, 12:24:37 am »

This is happening in IE/Opera browser which don't accept mixed data (text+binary) which is caused by "ob_" functions.

Solution:

search in all files:
Code: [Select]
ob_end_flush()change into
Code: [Select]
//ob_end_flush()
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gobracer

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Thanks!
« Reply #1 on: November 30, 2003, 01:23:37 am »

That fixed my problem!  Great Work!
Logged

bmasella

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
This actually fixes other IE Problems too...
« Reply #2 on: December 02, 2003, 11:36:26 pm »

I was having problems where the full page wouldn't display, or I would get what looked like partial HTML tags where a button was supposed to be.  When I used this fix all is well.

What I don't know is which files I will need to apply the fix to.  I was having problem with the album manager not displaying at all and when I did this it fixed it.  I did the same with the category manager.

Is there a general rule that I can apply?  All files in XXX directory or something similar?
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[RC4 BUGFIX] Constant page refresh/reload
« Reply #3 on: December 03, 2003, 12:54:33 am »

I think this dutchman needs to learn to write english better because people don't understand the following :cry:
Quote from: "djmaze"
search in all files:


If this sentence is understood please make me happy :P
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

bmasella

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Your English is just fine Dutchman...
« Reply #4 on: December 03, 2003, 01:19:04 am »

I have no problem with your English at all...

I fully understand the word ALL

What I was hoping is that you would tell me that I only needed to search the files in modules/coppermine and that I could ignore the other directories in the distribution like include, lang, blocks, etc etc etc...  As you are aware the distribution is almost 400 files.

Also from your example it does not make it clear if we should be fixing only the ob_end_flush references or if the ob_end_clean() in files like index.php should also be fixed.

I guess this American needs to be more clear when asking a question.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[RC4 BUGFIX] Constant page refresh/reload
« Reply #5 on: December 03, 2003, 01:23:17 am »

ok shall answer much more clearly and yes i understand your statement.

Search in the files of:
/modules/coppermine/
/modules/coppermine/include/

for the text ob_end_flush()
and replace that into //ob_end_flush()

don't edit the others !
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

Lila

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[RC4 BUGFIX] Constant page refresh/reload
« Reply #6 on: December 03, 2003, 09:43:01 am »

That fixed my problems too, thanks :D
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.