Results 1 to 4 of 4
Thread: ob_start():
-
06-04-2005, 02:36 AM #1WHT Addict
- Join Date
- Feb 2004
- Posts
- 110
ob_start():
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in /home/viet/public_html/global.php on line 278
All website use ob_start() on my server is error.
How to fix it?
-
06-04-2005, 03:32 AM #2Web Hosting Master
- Join Date
- Feb 2004
- Posts
- 772
hai dgh,
Seems to me that you have some problems with the compression.
Have you tried it once WITHOUT?
Another thing could be the version of PHP?
And what about with the Apache URL-Rewriter? Do you using the rewrite-method?
If u r means ,plz do the following
go to Admin control panel-->edit settings--> turn off GZIp compress...
thanksBright Info Solutions
-
06-04-2005, 03:56 AM #3WHT Addict
- Join Date
- Feb 2004
- Posts
- 110
go to Admin control panel-->edit settings--> turn off GZIp compress... <=== ??? where?
i use cpanel .
-
06-04-2005, 04:34 PM #4PHP for breakfast
- Join Date
- May 2004
- Location
- Lansing, MI, USA
- Posts
- 1,548
It looks like your using URL-Rewriter to do some more user-friendly url's maybe?
If you gzip compress, apache no longer has access to rewrite the urls as the data is compressed when it leaves php.
You can use ob_start() but you can't set the gzip handler.
Is this software you've written or a script?Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large