Sub Menu
Links Menu
Online Users

In total there are 325 users online :: 2 registered, 0 hidden and 323 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

Opera 9 Fix

Support for IntegraMOD 140

Moderator: Integra Moderator

Opera 9 Fix

PostAuthor: Teelk » Sun Dec 31, 2006 12:07 am

This fix should eliminate the problem of viewing IM websites using Opera 9+.
This was a gzip issue and prevented Opera 9 users from getting access to IM sites. The user would browse to the IM site and receive either a "corrupt data" error message or there would be strange characters in the upper left corner of the page while the rest of the page was white.

The fix is as follows.

Open includes/page_tail.php
FIND AND DELETE
Code: Select all
    $gzip_contents = "x1fx8bx08x00x00x00x00x00";

FIND
Code: Select all
    $gzip_contents .= gzcompress($gzip_contents, 9);  
REPLACE WITH
Code: Select all
    $gzip_contents = gzcompress($gzip_contents, 9);

FIND
Code: Select all
    echo $gzip_contents;

BEFORE ADD
Code: Select all
    echo "x1fx8bx08x00x00x00x00x00";


Open admin/page_footer_admin.php
DO SAME EDITS ABOVE

Remember to do these edits to both of these files.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Opera 9 Fix

PostAuthor: Dr. Bantham » Sun Dec 31, 2006 5:17 am

Yes! This did the trick for my site, though not for the integrmod site here. I assume the edits have not been made here. Even our Nintendo Wii has no trouble browsing my core site. Was this an old fix or a new one? The problem seems so cryptic that the solution itself is mystified. Either way, nice work. Many thanks!
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

Re: Opera 9 Fix

PostAuthor: Teelk » Sun Dec 31, 2006 10:56 am

It's a new fix, I just added it to the SVN as a matter of fact.

The fix becomes clearer when you compare the original phpBB gzip code from page_tail.php to the IM version. It's difficult to explain otherwise...
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot]

cron