forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: damjan on May 13, 2008, 11:18:47 pm

Title: [Solved]: blank page
Post by: damjan on May 13, 2008, 11:18:47 pm
Hi,
I have a strange problem:
I get blank page when I try to open gallery but only when I try to see gallery with IE7 or Firefox 2 - if I browse with Firefox 3 it works without problem:
www.ribica.si/gallery
I deleted caches, I tried on 4 different computers, but it's allways the same - blank page with IE7 or Firefox 2.
Where is the problem ????
Thanks.
Title: Re: blank page
Post by: Nibbler on May 13, 2008, 11:34:25 pm
You need to update your gallery. 1.4.18 is the current version. I only have FF3 so I can't replicate your issue. My only guess would be your IE7 and FF2 are set to Russian and your FF3 is english/slovenian/croatian ?
Title: Re: blank page
Post by: Joachim Müller on May 14, 2008, 08:52:36 am
German is my default language in my browser, so going to http://www.ribica.si/gallery/ would be the same as if I went to http://www.ribica.si/gallery/?lang=german. Both pages are blank for me as well (using FF2). Forcing the english language file by going to http://www.ribica.si/gallery/?lang=english works as expected: the page isn't blank, but display as expected.
Therefor, as Nibbler already proposed: there is something fishy with your language files. Get a vanilla coppermine package and upload the language files (all files that reside inside the lang-folder to your server, overwriting the exiting ones (as some of the existing ones appear to be broken).
Title: Re: blank page
Post by: damjan on May 18, 2008, 10:37:41 pm
Thanks for help.
Yes, it's some kind of language problem.
I've updated gallery to latest version, deleted and uploaded languages again, but nothing changes. English works, but other languages do not. My browsers are set to Slovenian where the gallery still show blank page. It works if I force English, otherwise not. There is language problem, but not with language files.
Any other idea?

Title: Re: blank page
Post by: Nibbler on May 18, 2008, 11:13:15 pm
Delete all files other than english.php from your lang directory as a work-around.
Title: Re: blank page
Post by: damjan on May 20, 2008, 09:48:16 am
I did it - the gallery works fine - in english.
Then I added slovenian.php only, but http://www.ribica.si/gallery/?lang=slovenian still shows blank page - the same as http://www.ribica.si/gallery/?lang=german (there is no german.php file in lang folder at the moment).
So the gallery is only able to read english language file, but it can't read other language files.
Title: Re: blank page
Post by: Joachim Müller on May 20, 2008, 09:58:17 am
There is indeed no German language file (http://www.ribica.si/gallery/lang/german.php returns a 404), so going to http://www.ribica.si/gallery/?lang=german should have the same result as going to http://coppermine-gallery.net/Obsolete?lang=doesnt_exist
As this is not the case for you, there is something fishy in another file. I suggest performing a complete upgrade (even though you're already running the most recent stable release cpg1.4.18) as suggested in the docs. My guess is that another file is broken or corrupted.
Title: Re: blank page
Post by: damjan on May 21, 2008, 10:52:50 am
I've installed a fresh copy (downloaded from your site and saved into new folder) to another folder - galerija - on the site with another database. There were no problem with instalation. I didn't make any modification. The problem is the same:
http://www.ribica.si/galerija/?lang=english - works
http://www.ribica.si/galerija/?lang=slovenian - blank page
http://www.ribica.si/galerija/?lang=german - blank page
 ???
Title: Re: blank page
Post by: Joachim Müller on May 21, 2008, 12:41:10 pm
I didn't suggest to perform a fresh install, but an upgrade. Do as I suggested. Make sure that your FTP app is set up properly (FTP mode!).
Title: Re: blank page
Post by: damjan on May 21, 2008, 03:07:00 pm
I upgraded gallery yesterday, following the documentation steps at 3.1.3 - with no luck:
http://www.ribica.si/gallery - english works
http://www.ribica.si/gallery/?lang=slovenian - blank page

That's why I installed new gallery under new folder with new database (without any modification, with default theme) today:
http://www.ribica.si/galerija/?lang=english - it works
http://www.ribica.si/galerija/?lang=slovenian - or any other language - blank page
Title: Re: blank page
Post by: Joachim Müller on May 21, 2008, 05:49:54 pm
Make sure that your FTP app is set up properly (FTP mode!).
Did you review the settings of your FTP app? What are they?
Title: Re: blank page
Post by: damjan on May 23, 2008, 08:40:08 am
I use CuteFTP - Auto-detect transfer type, for php files ASCII transfer is defined.
Title: Re: blank page
Post by: Joachim Müller on May 23, 2008, 08:43:27 am
Try something different and check if the situation improves then.
Title: Re: blank page
Post by: damjan on May 23, 2008, 10:56:00 am
I uploaded php files again using Unix/PASV/ASCII - nothing...
I deleted /galerija and install it again using Fantastico - still the same problem. Maybe there is some setting on server causing that problem? But I have another gallery on same server and it works: jazbec.si/gallery
Title: Re: blank page
Post by: Joachim Müller on May 23, 2008, 01:03:20 pm
install it again using Fantastico
Don't use Fantastico - it sucks and goes unsupported. The only supported install method is the one we describe in our docs.
Title: Re: blank page
Post by: damjan on May 26, 2008, 10:33:26 pm
I was thinking what did I change on server in last few weeks: I added addon domain. So I removed that domain, I uploaded languages again and they start to work...
I put addon domain back and now everything works.???
But I will not complain...