changes made tot translation result in blank screen!!

Please report bugs here!

Moderator: Thorsten

hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

changes made tot translation result in blank screen!!

Post by hans9 »

Hi,

Is I change PMF_LANG[plmsgPagesTotal][1] from %d Pages to %d Pagina's ( note the little apostrophe).
and press save than the result is a blank page.

restored the language backup file and everything is back.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

which language file?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: changes made tot translation result in blank screen!!

Post by hans9 »

it the nl file
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

I received your updated translation file... did you use the translation frontend or did you do the changes by editing the file?

Apostrophe's have to be escaped within a translation string.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: changes made tot translation result in blank screen!!

Post by hans9 »

I did both.

First via the frondend. But then it crashed.

And after that I used the bak file and edited the changes in the file itself.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

what happened exactly? Your browser crashed or did you get a white screen?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: changes made tot translation result in blank screen!!

Post by hans9 »

I had a 100% white screen in my browser.
Replaced the nl file with the bak file, did a refresh in my browser and the problem was gone.
Could reproduce it by editing the wordt pagina's in the frontend.
btw. I'm using SeaMonkey (a Mozilla based browser).
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

I'll check this issue. Do you use phpMyFAQ 2.6.13?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: changes made tot translation result in blank screen!!

Post by hans9 »

Yes I do use 2.6.13
But I noticed that there are two versions of 2.6.13. I think I've installed with the 2.94Mb version but found there's an other 2.6.13 version of 3.48 MB.

Do I use 2.6.13? I think so? Took the nl file from the 3.48MB package and use that at the moment.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,
hans9 wrote:But I noticed that there are two versions of 2.6.13. I think I've installed with the 2.94Mb version but found there's an other 2.6.13 version of 3.48 MB.
we have one package as zip with 3.48 MB and one package as tar.gz with 2.94 MB. Both contain the same files.

I'll check this issue!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

I tried this now on my test installations and I could not reproduce this issue. If a blank page occurs, this means that a PHP fatal error happened. Do you have access to your webservers error log?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: changes made tot translation result in blank screen!!

Post by hans9 »

Again I tryed it on my system and its reproducable.

I do have access to the log files.

What files do I need to look for?
There are tons of logfiles on this system (Ubuntu 10.10 Server)
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

it should be the Apache error log file.... maybe in /var/log/apache2/error.log

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: changes made tot translation result in blank screen!!

Post by hans9 »

I Deleted error.log, reproduced the problem and found no error messages.

It's obvious not a problem to PHP?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: changes made tot translation result in blank screen!!

Post by Thorsten »

Hi,

which PHP version do you use?

You can try to enable the debug out of phpMyFAQ in inc/Init.php. You have to set the debug mode to true in this file.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply