Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Compressing Pages


spooks

Recommended Posts

Hi,

 

I changed the setting in admin, then I added the code just after <?php

 

To: store/osc/includes/application_top.php

And: store/osc/admin/includes/application_top.php

 

I now get the following error:

 

image_error.jpg

 

Any suggestions what I may have done wrong?

 

Thanks in advance!

 

As the instructions states, if you have enabled the option in admin, DO NOT add the code to the store side. cool.gif

 

Whenever you add anything & it don't work, triple check you followed the instructions to the letter!! wink.gif

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • Replies 80
  • Created
  • Last Reply

Hi, please ignore my previous post. (sorry I don't think it'd let me delete from the froum). I found that Godaddy does supports Gzip for OSC. I reinstall the original OSC (both RC2a and MS2 version) files and the GZip works fine. So I think the error message must caused by the modules I used which conflict with GZip. I am new to PHP and the site is heavely modified, does any know that enabling GZip might conflict with any of the modules below and what to check or how to fix:

 

  • Additional Images
  • Header Tags SEO
  • Ultimate SEO
  • Fast and Easy Checkout
  • STS3 (template)
  • Sub-Category Description
  • FAQ System
  • Product Sort
  • Related Products
  • Discount Coupon Codes
  • Tiny MCE (Disabled)
  • FCK Editor
  • Export to CSV
  • Google Sitemap

Thank you!!

 

Others have reported failures with STS

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 3 months later...

I've just come across this site that has a nice explanation of the gzip compression method & looks at the pro's & cons involved.

 

betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 6 months later...
  • 1 year later...
  • 3 months later...

@@poorgirl_richgirl

 

The addition given in the OP works unless your server doesn't have GZip compression enabled, if it is ineffective the first step would be check that out, perhaps just ask your host.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...