6.0.0-alpha12
6/6/25

[#5555] When Turkish is selected on login screen, horde goes down with PHP Fatal Error
Summary When Turkish is selected on login screen, horde goes down with PHP Fatal Error
Queue Horde Base
Queue Version 3.1.4
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester tuncay (at) mavsoft (dot) net
Created 07/13/2007 (6538 days ago)
Due
Updated 11/12/2007 (6416 days ago)
Assigned
Resolved 07/13/2007 (6538 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/12/2007 09:01:45 AM feygun (at) yahoo (dot) com Comment #8 Reply to this comment

[Show Quoted Text - 17 lines]
It work fine for me. I have fedora 6 and Plesk 8. Thanks for your nice 
contributions. Teºekkürler.


11/10/2007 10:19:18 AM volkirik-nospam (at) aruspex (dot) net Comment #7 Reply to this comment
Believe Search...
i faced the same problem. If Turkish language selected an empty page
appears. I dont know how to solve this problem.
find  lib/Horde/NLS.php  file on your server or PC.



edit setLang function and add following line before end of function 
(LINE 124 in my version)



setlocale(LC_CTYPE, 'C'); // Fix for PHP bug 35050



it will probably work..



Volkan KIRIK,

Aruspex Communications

http://www.aruspex.net
08/20/2007 09:24:50 PM Chuck Hagenbuch Comment #6 Reply to this comment
Please re-read the PHP bug that is the cause of this:

http://bugs.php.net/bug.php?id=35050



There is nothing we can do about this short of lowercasing all of our 
code, which is not a viable solution for all kinds of reasons.
08/20/2007 09:10:20 PM a-dinc (at) hotmail (dot) de Comment #5 Reply to this comment
If it is for any help I face the same problem here with cvs version of 
horde and php 5
07/17/2007 10:12:20 AM feygun (at) yahoo (dot) com Comment #4 Reply to this comment
i faced the same problem. If Turkish language selected an empty page 
appears. I dont know how to solve this problem.
07/13/2007 12:55:40 PM tuncay (at) mavsoft (dot) net Comment #3 Reply to this comment
I asked Jan to go into a little detail and it turns out he is right. 
The related PHP bug is described at 
http://bugs.php.net/bug.php?id=35050 , Basically it is PHP being 
unable to access classes and elements that have a capital i ( I ) in 
their name. My workaround was to replace all such occurences with a 
lowercase i. God save bash's "for" loop, grep and replace commands.



According to PHP crew, this bug will not be fixed until PHP 6.



I put this information here for future reference for users who look 
for the same problem I was looking for this morning. After all, it 
seems Horde is the primary (if not only) application that hits this 
bug in PHP.


07/13/2007 09:59:27 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Priority ⇒ 2. Medium
Reply to this comment
PHP 5 is broken when using Turkish locales. Use PHP 4.
07/13/2007 09:15:54 AM tuncay (at) mavsoft (dot) net Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ When Turkish is selected on login screen, horde goes down with PHP Fatal Error
Queue ⇒ Horde Base
State ⇒ Unconfirmed
Reply to this comment
When on login screen Turkish is selected as the language, an empty 
page is displayed, with the following PHP Fatal Error in apache's log 
file:



  PHP Fatal error:  Call to undefined method Registry::_fillAPICache() 
in /usr/share/horde/lib/Horde/Registry.php on line 510



I checked every other language and none of the others show the same symptom.



Previous versions had the same behaviour, but the error was different 
(although in same file), something about undefined method 
Registry::hasInterface().



In my opinion, horde is the most advanced webmail and collaboration 
suite available today, but this error makes it impossible to use for 
non-english speaking people here in turkey,



I can provide any additional information, server log, test environment 
etc if you contact me.



Hopefully this will be solved soon. Thank you for the software.



Best Regards,



Tuncay Goncuoglu


Saved Queries