Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
recep
Hangin' Around


Joined: Dec 11, 2005
Posts: 44

PostPosted: Mon Jan 02, 2006 12:36 pm Reply with quote

Hello friends, l am having a problem with firefox n the mainfile in my web site. if u can open and see Only registered users can see links on this board! Get registered or login! with firefox u can see at the top of the page this message;
Code:
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/content/r/c/p/username/html/admin/mainfile.php on line 111

and l wouldnt understand why it shows this problem, Could any1 help me how to solve this problem please..

_________________
[ Only registered users can see links on this board! Get registered or login! ] + [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Mon Jan 02, 2006 12:59 pm Reply with quote

Have you searched these forums for ob_gzhandler???

Also, have you looked at the FAQs related to nuke installation:
Only registered users can see links on this board! Get registered or login!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Mon Jan 02, 2006 1:40 pm Reply with quote

Specifically, I think that would be:

Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login!
Wave Wave

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
recep
PostPosted: Mon Jan 02, 2006 2:18 pm Reply with quote

Hey Friends, Thank you very much, for your interests and helps, yeah l have solved my problem in this issue,
l have deleted
Code:
 if (extension_loaded('zlib')) {

      $do_gzip_compress = true;
      ob_start(array('ob_gzhandler',5));
      ob_implicit_flush(0);
      header('Content-Encoding: gzip');
    }

lines from mailfile.php and its okey now, thankssssssssss................
 
phoenix-cms
Worker
Worker


Joined: Aug 05, 2005
Posts: 139

PostPosted: Sun Jan 15, 2006 11:21 pm Reply with quote

really you would want it like
Code:


if (extension_loaded('zlib')) {
      $do_gzip_compress = true;
      @ob_start(array('ob_gzhandler',5));
      ob_implicit_flush(0);
      if (ereg("MSIE", $_SERVER['HTTP_USER_AGENT'])) {
      header('Content-Encoding: gzip');
      }


as under IE it would use the encoding where firefox it would include it and the @ silence the error becuase it may be required by some browsers

another thing it could be is that you have googletap

that causes that error then a different fix will be required

thanks

steve

_________________
Evo 3.0 Developer & nukecops.com Admin
Image
coming soon Only registered users can see links on this board! Get registered or login! Smile 
View user's profile Send private message Send e-mail
recep
PostPosted: Wed Jan 18, 2006 4:06 pm Reply with quote

phoenix-cms, my friend, do u mean that l have deleted a fix ? and l would be in a danger cos of it ?
 
phoenix-cms
PostPosted: Wed Jan 18, 2006 4:47 pm Reply with quote

yes i do think so
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©