Language initialisation problem in current CVS :-(

Hi, after a while I just reinstalled OTRS from CVS again (on a SuSE Linux 8.1 system with perl 5.8 and postgres) and unfortunately ran into some trouble. My first try to access http://localhost/otrs/index.pl results in an "Internal server error" from my apache and the following entries in the apache error log: [Fri Nov 29 21:49:24 2002] null: Use of uninitialized value in string eq at /opt/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm line 50. [Fri Nov 29 21:49:24 2002] null: Use of uninitialized value in string eq at /opt/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm line 50. [Fri Nov 29 21:49:49 2002] [error] Can't use an undefined value as a HASH reference at /opt/OpenTRS/bin/cgi-bin/../../Kernel/Output/HTML/Generic.pm line 65. If I reload the page the proper login screen gets displayed, but there is an extra section: Language: Got no Data ref in OptionStrgHashRef()!submit Trying to login is similar: Server error on first submit, first reload in the browser and correct screen after a second reload... In the Preferences dialog (showing up after second reload) there's no choice of languages... Hope this helps to figure out some workaround. Ingo -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/B/O d+(-) s+:++ a C++ UL++++$ P++$ L+++@ E- W+++@ N+ o? K? w-- O M++@ V PS+ PE++ Y+ PGP++ t++ 5 X R tv+ b+@ DI+@ D--- G+ e? h-- r+++@ y? ------END GEEK CODE BLOCK------

Hi Ingo, On Fri, Nov 29, 2002 at 10:11:34PM +0100, Ingo Ciechowski wrote:
after a while I just reinstalled OTRS from CVS again (on a SuSE Linux 8.1 system with perl 5.8 and postgres) and unfortunately ran into some trouble.
My first try to access http://localhost/otrs/index.pl results in an "Internal server error" from my apache and the following entries in the apache error log:
[Fri Nov 29 21:49:24 2002] null: Use of uninitialized value in string eq at /opt/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm line 50. [Fri Nov 29 21:49:24 2002] null: Use of uninitialized value in string eq at /opt/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm line 50. [Fri Nov 29 21:49:49 2002] [error] Can't use an undefined value as a HASH reference at /opt/OpenTRS/bin/cgi-bin/../../Kernel/Output/HTML/Generic.pm line 65.
If I reload the page the proper login screen gets displayed, but there is an extra section:
Language: Got no Data ref in OptionStrgHashRef()!submit
Trying to login is similar: Server error on first submit, first reload in the browser and correct screen after a second reload...
In the Preferences dialog (showing up after second reload) there's no choice of languages...
I fixed "languages" and "Use of uninitialized value in string". And I switched the CVS to the new config file mechanism (today). I updated the INSTALL file. Short introduction: We moved the config files from SomeConfigFile.pm to SomeConfigFile.pm.dist! So cvs and tarball updates are easier. But on initial setup you have to copy the .dist files ("cp Kernel/Config.pm.dist Kernel/Config.pm" and "cd Kernel/Config/ && for foo in *.dist; do cp $foo `basename $foo .dist`; done").
Ingo
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl

At 17:42 Uhr +0100 01.12.2002, Martin Edenhofer wrote:
I fixed "languages" and "Use of uninitialized value in string".
Hi Martin, I checked out the updated files and followed your instructions as of the *.dist files - however, access to index.pl still results in an Internal server Error as described earlier (same apache error log, looks more stable after initial login). Generic.pm is new with 28335 bytes - there's no cvs status for anonymous users.. Let me know if I can be of more help. Ingo -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/B/O d+(-) s+:++ a C++ UL++++$ P++$ L+++@ E- W+++@ N+ o? K? w-- O M++@ V PS+ PE++ Y+ PGP++ t++ 5 X R tv+ b+@ DI+@ D--- G+ e? h-- r+++@ y? ------END GEEK CODE BLOCK------

Hi Ingo, On Sun, Dec 01, 2002 at 11:51:39PM +0100, Ingo Ciechowski wrote:
I fixed "languages" and "Use of uninitialized value in string".
I checked out the updated files and followed your instructions as of the *.dist files - however, access to index.pl still results in an Internal server Error as described earlier (same apache error log, looks more stable after initial login).
Generic.pm is new with 28335 bytes - there's no cvs status for anonymous users..
I can't reproduce this, try this: * restart the webserver * go to your login-page: http://127.0.0.1/otrs/index.pl ??? You get still the "Internal server Error"? -> If yes, what is in the apache error-log (the same)? Is the language selection on login-page working?
Ingo
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl

At 17:53 Uhr +0100 02.12.2002, Martin Edenhofer wrote:
* restart the webserver
Hi Martin, thanx :) - forgot that restart... Now everything's fine. Ingo -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/B/O d+(-) s+:++ a C++ UL++++$ P++$ L+++@ E- W+++@ N+ o? K? w-- O M++@ V PS+ PE++ Y+ PGP++ t++ 5 X R tv+ b+@ DI+@ D--- G+ e? h-- r+++@ y? ------END GEEK CODE BLOCK------
participants (2)
-
Ingo Ciechowski
-
Martin Edenhofer