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

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

Post by hans9 »

I use: PHP Version 5.3.3-1ubuntu9.1

Activated debug.

Reproduced the problem. Result a blank screen without any debug info?
Replaced the bak file, refresh screen, and all is back to normal.

Result error.log

[Thu Jan 06 09:30:57 2011] [error] [client xx.195.169.108] phpMyFAQ
notice: Undefined index: LANG_CONF in /var/www/faq/admin/ajax.trans.php on line 56, referer:
http://xx.195.169.108/faq/admin/index.p ... anslang=nl
[Thu Jan 06 09:31:04 2011] [error] [client xx.195.169.108] phpMyFAQ
notice: Undefined index: LANG_CONF in /var/www/faq/admin/ajax.trans.php on line 56, referer:
http://xx.195.169.108/faq/admin/index.p ... anslang=nl
[Thu Jan 06 09:31:13 2011] [error] [client xx.195.169.108] phpMyFAQ
notice: Undefined index: LANG_CONF in /var/www/faq/admin/ajax.trans.php on line 56, referer:
http://xx.195.169.108/faq/admin/index.p ... anslang=nl
[Thu Jan 06 09:31:18 2011] [error] [client xx.195.169.108] phpMyFAQ
notice: Undefined index: LANG_CONF in /var/www/faq/admin/ajax.trans.php on line 56, referer:
http://xx.195.169.108/faq/admin/index.p ... anslang=nl

AND NOW THE ERROR SHOULD BE THERE

No errors in the error.log

Hans.
Last edited by hans9 on Thu Jan 06, 2011 9:49 am, edited 1 time in total.
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,

great, this helps me. Could yoou please send me the "broken" dutch language file by e-mail for further investigations?

Thanks!

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 »

Added the language file that's causing the problems.
You do not have the required permissions to view the files attached to this post.
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,

thanks, I think I found the 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,

please try this fix: https://github.com/thorsten/phpMyFAQ/co ... 7917eb06d8

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 »

Didn't work.

Also activated the logging again.
But the error.log file is empty.
hans9
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

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

Post by hans9 »

Changed:
LANG_CONF[main.numberSearchTerms] array(0 => 'input', 1 => 'Number of listed search terms')
to:
array(0 => 'input', 1 => 'Lijst van geregistreerde zoek termen')

Result: Also with the patch I get a white browser screen.

Returned to the un-patched (origianal) ajax.trans.php
Now this one (array(0 => 'input', 1 => 'Lijst van geregistreerde zoek termen')) doesn't crash.

But the original problem remains.
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,

this is really strange... my patch should solve your issue. Can you please send me your phpinfo() information? Thanks!

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