
Hello, I installed the otrs 1.1.1 (rpm) on my Suse8.1 Server. When I restart my webserver i get the following errors. Can you help me?? Thanks @ndy -----------------8<-------------- [Thu May 15 20:52:54 2003] Format.pm: Using an array as a reference is deprecate d at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88. [Thu May 15 20:52:54 2003] Format.pm: Using an array as a reference is deprecate d at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217. [Thu May 15 20:52:54 2003] State.pm: Scalar found where operator expected at /op t/otrs//Kernel/System/State.pm line 142, near "0 $Param" [Thu May 15 20:52:54 2003] State.pm: (Missing operator before $Param?) [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 148. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 149. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same statement at /opt/otrs//Kernel/System/State.pm line 149. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 150. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 151. [Thu May 15 20:52:54 2003] State.pm: "my" variable $SQL masks earlier declaratio n in same scope at /opt/otrs//Kernel/System/State.pm line 152. [Thu May 15 20:52:55 2003] [error] syntax error at /opt/otrs//Kernel/System/Stat e.pm line 142, near "0 $Param" syntax error at /opt/otrs//Kernel/System/State.pm line 155, near "else" Compilation failed in require at /opt/otrs//Kernel/System/Ticket.pm line 26. BEGIN failed--compilation aborted at /opt/otrs//Kernel/System/Ticket.pm line 26. Compilation failed in require at /opt/otrs//Kernel/Config/Modules.pm line 34. BEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Modules.pm line 34 . Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 2 9. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl li ne 29. Compilation failed in require at (eval 168) line 1. Syntax error on line 10 of /opt/otrs/scripts/apache-httpd.include.conf: syntax error at /opt/otrs//Kernel/System/State.pm line 142, near "0 $Param" syntax error at /opt/otrs//Kernel/System/State.pm line 155, near "else" Compilation failed in require at /opt/otrs//Kernel/System/Ticket.pm line 26. BEGIN failed--compilation aborted at /opt/otrs//Kernel/System/Ticket.pm line 26. Compilation failed in require at /opt/otrs//Kernel/Config/Modules.pm line 34. BEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Modules.pm line 34 . Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 2 9. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl li ne 29. Compilation failed in require at (eval 168) line 1. ---------------8<-----------------------

Hi Andreas, On Thu, May 15, 2003 at 10:51:54PM +0200, Andreas Kienle wrote:
I installed the otrs 1.1.1 (rpm) on my Suse8.1 Server. When I restart my webserver i get the following errors. Can you help me??
This looks like /opt/otrs/Kernel/System/State.pm is not the original one! There is a syntax error in it. Take Kernel/System/Ticket/State.pm v1.14 from the cvs and it will work. - Martin
Thanks @ndy -----------------8<-------------- [Thu May 15 20:52:54 2003] Format.pm: Using an array as a reference is deprecate d at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88. [Thu May 15 20:52:54 2003] Format.pm: Using an array as a reference is deprecate d at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217. [Thu May 15 20:52:54 2003] State.pm: Scalar found where operator expected at /op t/otrs//Kernel/System/State.pm line 142, near "0 $Param" [Thu May 15 20:52:54 2003] State.pm: (Missing operator before $Param?) [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 148. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 149. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same statement at /opt/otrs//Kernel/System/State.pm line 149. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 150. [Thu May 15 20:52:54 2003] State.pm: "my" variable %Param masks earlier declarat ion in same scope at /opt/otrs//Kernel/System/State.pm line 151. [Thu May 15 20:52:54 2003] State.pm: "my" variable $SQL masks earlier declaratio n in same scope at /opt/otrs//Kernel/System/State.pm line 152. [Thu May 15 20:52:55 2003] [error] syntax error at /opt/otrs//Kernel/System/Stat e.pm line 142, near "0 $Param" syntax error at /opt/otrs//Kernel/System/State.pm line 155, near "else" Compilation failed in require at /opt/otrs//Kernel/System/Ticket.pm line 26. BEGIN failed--compilation aborted at /opt/otrs//Kernel/System/Ticket.pm line 26. Compilation failed in require at /opt/otrs//Kernel/Config/Modules.pm line 34. BEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Modules.pm line 34 . Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 2 9. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl li ne 29. Compilation failed in require at (eval 168) line 1.
Syntax error on line 10 of /opt/otrs/scripts/apache-httpd.include.conf: syntax error at /opt/otrs//Kernel/System/State.pm line 142, near "0 $Param" syntax error at /opt/otrs//Kernel/System/State.pm line 155, near "else" Compilation failed in require at /opt/otrs//Kernel/System/Ticket.pm line 26. BEGIN failed--compilation aborted at /opt/otrs//Kernel/System/Ticket.pm line 26. Compilation failed in require at /opt/otrs//Kernel/Config/Modules.pm line 34. BEGIN failed--compilation aborted at /opt/otrs//Kernel/Config/Modules.pm line 34 . Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 2 9. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl li ne 29. Compilation failed in require at (eval 168) line 1. ---------------8<-----------------------
participants (2)
-
Andreas Kienle
-
Martin Edenhofer