try another color scheme:


Go Back   TECH6.0 > Web Design/Development and SEO > Internet Forum Softwares > vBulletin


Content Encoding Error

This is a discussion on Content Encoding Error within the vBulletin section, part of the Internet Forum Softwares category; I am not even sure I can explain this problem, but I will try. I have a vBulliten website that ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 17-01-2009, 12:40 AM
No Avatar

Techie
 
Join Date: Aug 2008
Location: United States
Posts: 54
MisawaPlayer is on a distinguished road
Send a message via Yahoo to MisawaPlayer
Default Content Encoding Error

I am not even sure I can explain this problem, but I will try.

I have a vBulliten website that has been up and running for a few months. We have decided to not renew with our current hosting provider (Bluehost) and have begun setup on another (NetworkSolutions). We have moved all files over to the new provider, using a new domain name.

On my main page - the equivalent of http://tech6.com/forums, I have added modules using vBa CMPS. I actually have a number of them which are standard, such as mini calander and such. I have 3 which I created. These all involve connecting to the mysql database, extracting, manipulating, and then presenting new information. These have been working fine at the old site for months.

When we moved, things were set up differently and the standard connect to the database:

PHP Code:
mysqli_connect("localhost","username","password","dbname" 
did not work because "localhost" did not work. With the errors this caused, I received a lot of errors, but the rest of the site displayed. (i.e. I saw all my forums). If corrected the "localhost" issue in the first module,(this is the only change I made to anything from the old site) and tested it. This resulted in removing all displayed errors for that module. The module displayed properly, and the forums were displayed. I still received errors on the two remaining modules. So far so good.

I modified the second module and tested. Again, everything worked fine, with only errors reported from the third and last module.

I modified the third and last module, and now nothing works. I get the following display:

Content Encoding Error


The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

* Please contact the website owners to inform them of this problem.
I removed the correction from one of the modules (any one, it doesn't matter which) and the forum displays again. On other pages, where there are different numbers of modules, I get the same problem unless I leave at least 1 or 2 modules with an error.

Can anyone please give me an idea where to look. I find it difficult to believe that the problem is with my modules, since the only thing I changed was in the mysqli_connect line. And when I make that change, they display correctly. But, with all modules made "inactive" the page displays correctly as well, so I am confused as to what is causing this problem.

Thank you for your time and any advice you can give me.
Reply With Quote
  #2  
Old 17-01-2009, 10:18 AM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

Try turning off GZIP:-

Admin CP -> vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output -> No


It usually happens when your server is already using GZIP and you have it switched ON in vb too. Thus trying to GZIP the output twice.

If this doesn't help, you'll need to be more specific about the changes you made, your vba module code that runs fine and the code that doesn't.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 08:57 AM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top