Hello board,
on my cpg installation 1.4.25 i have a heavy problem with the index.php file. The startpage shows only symbols like a square with a question mark in it.
Maybe I can insert a few signs for example:
��������]�r�6�?3y�ӳ���AIvb�R&�MkǙ���M��EH�M�, Jr{}�>ý@_��)���XN�9ɘ\�����"O�:y���ј���Ӌ�w/�V����|Y���|������)ҫut�a�SN��Z��{ ic��v�6�N��f��F�ˏ��ो
You can have a look at http://www.rbilger.de/bilder/index.php (http://www.rbilger.de/bilder/index.php)
I don't know what's the reason of the problem. I search this forum... somebody had the same problem which depends on the character set in the database... but in the database I can't found any signs like above.
Now I have updated the version to the latest 1.4.26 ... nothing happens! If I go direct to an image, it works fine: http://www.rbilger.de/bilder/displayimage.php?album=9&pos=4 (http://www.rbilger.de/bilder/displayimage.php?album=9&pos=4)
In the MySQL database I searched all tables and their content... no waste found.
The index.php file show's normal php-code in it.
If I use 'w3m www.rbilger.de/bilder/index.php' in a linux terminal console, it shows waste too. If I use 'php ./index.php' it shows me clear html-code ... copying the html-code into a new html-file it shows me the startpage of coppermine in the browser with no problem (but it's static now!).
Some technical informations about the enviroment http://www.rbilger.de/bilder/phpinfo2.php (http://www.rbilger.de/bilder/phpinfo2.php):
Apache 2.2.4 on SuSE linux 10.3 x64
PHP 5.2.11
MySQL 5.0.45
Tested browsers: Firefox 3.6.2, Internet Explorer 8.0, Opera 10.10, Firefox 3.5.8 (linux)
Please help me because I don't have any more ideas.
Best regards
HotSock
disable gzip output compression.
http://forum.coppermine-gallery.net/index.php/topic,63281.0.html
YES...... you've got it ....
I'm so sorry, that I started another thread, but I did't found the thread of your link... I didn't knew what to look for - so I walked in the dark :)
Okay.. back to the technical conversation ;D
My solution fo the problem:
I used the .htaccess file in the root directory of CPG and added the following line at the end of the file:
php_flag zlib.output_compression off
That's it...
Thanx Nibbler for the hint to the link.
HotSock