Install problem

Gerald V. Livingston II gerald.freeside at sysmatrix.net
Sun Nov 7 16:47:58 PST 2004


Apache doesn't like something in handler.pl:

******************************************************************************

Configuration syntax error detected. Not reloading.

Operator or semicolon missing before %RT_ENABLED at /usr/local/etc/freeside/handler.pl line 41.
Ambiguous use of % resolved as operator % at /usr/local/etc/freeside/handler.pl line 41.
Operator or semicolon missing before %RT_ENABLED at /usr/local/etc/freeside/handler.pl line 158.
Ambiguous use of % resolved as operator % at /usr/local/etc/freeside/handler.pl line 158.
Syntax error on line 933 of /etc/apache-ssl/httpd.conf:
Bareword "RT_ENABLED" not allowed while "strict subs" in use at /usr/local/etc/freeside/handler.pl line 158.
Bareword "RT_ENABLED" not allowed while "strict subs" in use at /usr/local/etc/freeside/handler.pl line 41.
Compilation failed in require at /etc/apache-ssl/httpd.conf line 932.

******************************************************************************

The section from handler.pl is: (starting with line 41)

******************************************************************************
if ( %%%RT_ENABLED%%% ) {
 eval '
   use lib ("/opt/rt3/local/lib", "/opt/rt3/lib");
   use RT;
   use vars qw($Nobody $SystemUser);
   RT::LoadConfig();
 ';
 die $@ if $@;


}
******************************************************************************

And at line 158:
******************************************************************************

      if ( %%%RT_ENABLED%%% ) {
        eval '
          use RT::Tickets;
          use RT::Transactions;
          use RT::Users;
          use RT::CurrentUser;
          use RT::Templates;
          use RT::Queues;
          use RT::ScripActions;
          use RT::ScripConditions;
          use RT::Scrips;
          use RT::Groups;
          use RT::GroupMembers;
          use RT::CustomFields;
          use RT::CustomFieldValues;
          use RT::TicketCustomFieldValues;

          use RT::Interface::Web;
          use MIME::Entity;
          use Text::Wrapper;
          use CGI::Cookie;
          use Time::ParseDate;
        ';
        die $@ if $@;
      }
******************************************************************************

Ideas anyone? I'm not a perl geek.

Thanks,

Gerald




More information about the freeside-users mailing list