FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » error compacting messages
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: error compacting messages [message #158491 is a reply to message #158478] Fri, 27 February 2009 15:35 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Please apply this patch and let me know if it solves the problem or not:

Index: compact.php
===================================================================
RCS file: /forum21/install/www_root/adm/compact.php,v
retrieving revision 1.74
diff -u -r1.74 compact.php
--- compact.php 20 Feb 2009 14:56:15 -0000      1.74
+++ compact.php 27 Feb 2009 15:34:16 -0000
@@ -146,7 +146,7 @@
        } else {
                echo ($prg * 10) . "% done<br />\nETA: " . $eta . " seconds<br />\n";
        }
-       ob_flush(); flush();
+       @ob_flush(); flush();
 }

        if ($FUD_OPT_1 & 1) {
@@ -220,7 +220,7 @@
        /* Private Messages */
        echo "100% Done<br />\n";
        echo "Compacting private messages...<br />\n";
-       ob_flush(); flush();
+       @ob_flush(); flush();

        q('CREATE INDEX '.$tbl.'pmsg_foff_idx ON '.$tbl.'pmsg (foff)');
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: subscriptions ucp theme
Next Topic: maillist.php from 2.8, 2.8RC problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 21:01:13 GMT 2024

Total time taken to generate the page: 0.04868 seconds