coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: cannon on August 18, 2006, 03:18:44 AM

Title: Bunch of weird letters
Post by: cannon on August 18, 2006, 03:18:44 AM
After I installed the script and went to the directory, I got a bunch of weird characters

Any idea what may of caused this?

I've tried re-installing but its always the same problem.
Title: Re: Bunch of weird letters
Post by: eruss on August 18, 2006, 04:39:46 AM
Quote from: cannon on August 18, 2006, 03:18:44 AM
After I installed the script and went to the directory, I got a bunch of weird characters:

http://rlt.cfbisd.edu/photogallery/index.php

Any idea what may of caused this?

I've tried re-installing but its always the same problem.

According to:
http://rlt.cfbisd.edu/photogallery/install.php

"You seem to be trying to install the standalone Coppermine into your Nuke portal."
"This version can only be used as standalone!"

Is that what you are trying to do?  If you are not installing in a Nuke portal, make sure you are uploading the PHP files as ASCII.
Title: Re: Bunch of weird letters
Post by: cannon on August 18, 2006, 04:54:14 AM
I'm using a Windows server, I tried it again and I still get this page everytime I go to install.php:

ERROR
You seem to be trying to install the standalone Coppermine into your Nuke portal.
This version can only be used as standalone!
Some server setups might display this warning even though you don't have a nuke portal installed - if this is the case for you, continue with the install. If you are using a nuke portal, you might want to take a look into CpgNuke or use one of the (unsupported) coppermine ports - do not continue!


I click continue anyway.. and go through with the install and everything loads until I get to Welcome [username] ...
CONTINUE and when I get redirected to the index.php of /photogallery, it's just the weird characters again.

What else can I do? I have up-to-date versions of php and mysql.

Title: Re: Bunch of weird letters
Post by: eruss on August 18, 2006, 04:59:03 AM
Do either of these help?

http://forum.coppermine-gallery.net/index.php?topic=20062

http://forum.coppermine-gallery.net/index.php?topic=24494
Title: Re: Bunch of weird letters
Post by: cannon on August 18, 2006, 05:25:51 AM
I commented out the part dealing with phpnuke but still no luck
Title: Re: Bunch of weird letters
Post by: Sami on August 18, 2006, 08:02:17 AM
you other pages are fine !
http://rlt.cfbisd.edu/photogallery/login.php
try to re-upload index.php
Title: Re: Bunch of weird letters
Post by: cannon on August 19, 2006, 12:46:43 AM
I've tried and tried, ASCII mode, but still no luck :(
Title: Re: Bunch of weird letters
Post by: cannon on August 19, 2006, 01:26:42 AM
http://rlt.cfbisd.edu/phpinfo.php

Everything looks configured fine to me there..
Title: Re: Bunch of weird letters
Post by: Nibbler on August 19, 2006, 01:32:34 AM
Pretty sure it's a corrupted index.php. Download the Coppermine package again from a different mirror and upload a clean copy of index.php
Title: Re: Bunch of weird letters
Post by: cannon on August 19, 2006, 01:42:21 AM
Downlodaed a different mirror and did a clean upload but still the same thing :(
Title: Re: Bunch of weird letters
Post by: cannon on August 26, 2006, 05:23:25 AM
If anybody has any ideas, please tell me, I really want to use CPG on this website.
Title: Re: Bunch of weird letters
Post by: Sami on August 28, 2006, 07:30:29 AM
rename your index.php to index.txt , this way we can check it ....
Title: Re: Bunch of weird letters
Post by: Nibbler on August 28, 2006, 12:24:25 PM
This is caused by using gzip output encoding, with which Coppermine is not compatible.
Title: Re: Bunch of weird letters
Post by: cannon on August 30, 2006, 05:26:41 AM
Here is my php.ini file, I'm not sure what I should edit to get it working..
Title: Re: Bunch of weird letters
Post by: Sami on August 30, 2006, 07:23:52 AM
Quoterename your index.php to index.txt , this way we can check it ....
can you do that?

QuoteHere is my php.ini file, I'm not sure what I should edit to get it working..
I'm not sure but Try this
under php.ini you have:
zlib.output_compression = On
change it to
zlib.output_compression = Off
Title: Re: Bunch of weird letters
Post by: cannon on September 05, 2006, 12:49:30 AM
Quote from: bmossavari on August 30, 2006, 07:23:52 AM
can you do that?
I'm not sure but Try this
under php.ini you have:
zlib.output_compression = On
change it to
zlib.output_compression = Off

Thanks, this fixed the problem.