forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: DJMaze on November 30, 2003, 12:24:37 am

Title: [RC4 BUGFIX] Constant page refresh/reload
Post by: DJMaze 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()
Title: Thanks!
Post by: gobracer on November 30, 2003, 01:23:37 am
That fixed my problem!  Great Work!
Title: This actually fixes other IE Problems too...
Post by: bmasella 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?
Title: [RC4 BUGFIX] Constant page refresh/reload
Post by: DJMaze 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
Title: Your English is just fine Dutchman...
Post by: bmasella 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.
Title: [RC4 BUGFIX] Constant page refresh/reload
Post by: DJMaze 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 !
Title: [RC4 BUGFIX] Constant page refresh/reload
Post by: Lila on December 03, 2003, 09:43:01 am
That fixed my problems too, thanks :D