forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ErkDog on January 17, 2010, 05:43:40 pm
-
OK so this is really weird, and I'm not sure when this happened but:
when I go to my index I just get a bunch of gibberish code:
http://photo.netho.tk/
every other page works fine though...
http://photo.netho.tk/thumbnails.php?album=lastup
Any ideas?!
Thanks,
Matt
-
try to upload a fresh and clean index.php file on your server
-
That's caused by having gzip output compression enabled on your webserver. Disable it.
-
*beep*, why would gzip cause that? every other of the 979734 php pages it works fine on....
And why is only the index.php affected in coppermine?
-
Because that's how coppermine works. If you disagree, dive into the code and change it...
-
Lol fair enough man, but it just seems kind of weird that every other php file I've uploaded like, ever does not do that.
What is different in cpg that's causing it to break?
Is there a single line of code I can remove from index.php that will fix it?
Why aren't ALL of the other cpg php files affected and only index.php is?!
-
I wish I knew. It's always worked fine on my servers but it causes issues for some people.
-
Odd thing is that your index page looks fine when viewed on my ps3 but gibberish on any pc browser
-
The PS3 probably doesn't support gzip compression so the server doesn't apply it. You can actually disable support for gzip compression in Firefox (about:config - network.http.accept-encoding) and you will then be able to see the page as normal.
-
Cheers for the explanation Nibbler.