Hi all, I’ve always found that 1and1 are very reluctant to share config info so hopefully i can help instead!
I was messing around trying to get zlib compression working on my shared hosting package without sucess. 2 calls and 30 minutes later I was told to create a new php.ini file in the root of my webpage to override the server settings. I never knew this could be done but I suppose you learn something new everyday.
Working great with initial bandwidth savings of 73% and visible speed increase. Haven’t really played with different levels of compression yet but I’m sure as soon as I do 1and1 will send me their ‘standard fair usage policy violation’ email trying to sell me a dedicated server.
A useful site to check if your site’ s compression is enabled is:
Hi chrisandy, the error message you describe sounds simply like the database tables/view have already been created. Did this error occur during your first installation?
You could drop (delete) all tables in your database using phpMyAdmin if they are no longer needed and start again, or just create a new database.
I was messing around trying to get zlib compression working on my shared hosting package without sucess. 2 calls and 30 minutes later I was told to create a new php.ini file in the root of my webpage to override the server settings. I never knew this could be done but I suppose you learn something new everyday.
I managed to get zlib/gzip compression on 1and1 enabled without much trouble on one of my other projects (non-magento related) without needing any overwriting of the config files. In my case, zlib.output_compression was disabled on 1and1 shared hosts, so, it is possible to still use the output buffer with the gzhandler through php for compression. Just need to double check both of them isn’t enabled at once.
Also, a better site for gzip compression validation is through http://www.gidnetwork.com/tools/gzip-test.php. They actually list the response in greater details, such as the ‘content-encoding’ response which should show eg gzip. In my case again, the site employed both .htaccess and php header redirects, and according to the other site, it doesn’t validate. gidnetwork lists the source code and immediately, you can tell why it wasn’t validating.
It is also possible to validate compression through the firebug plugin for firefox. It’ll list the request and response headers which contains the relevent info.
I’m planning on adding products to the site and then have a play with compression. I came across http://www.gidnetwork.com/tools/gzip-test.php last night and it is much more useful.
I’m really struggling at the moment to justify dedicated hosting but I know that I may need it in the future hence my current interest in compression. If im sticking with shared hosting for the time being I may as well attempt to speed up the access!
Im a server engineer and I begrudge paying for 1and1 dedicated hosting when I know their lower end packages are using cheap servers. I get amazing deals on Dell servers but somehow I dont think work would approve of me putting my new web-server in the corporate DMZ
If anybody knows a good dedicated server hosting company in the UK let me know.
1and1 hosting’s setup is very similar around the world. Based on this knowledge I tried to set Magento up at a hosting package without luck. I’m plagueing support since about a week.
btw:
One can try to send mail to … and complain about your problem(s) when you are sure there is no bug in Magento.
I am seeing similar queries from other users that I don’t think are using 1and1 so maybe this is either a bug or a particular kind of server set up that is the problem?