[rt-users] Error in script

Stewart Tranter S.G.Tranter at lboro.ac.uk
Tue Jan 10 09:07:39 EST 2006


Hello,

I have written a script which takes values from a web page and uses the 
CLI to submit a ticket.  I get the follwoing error in the apacher error 
log when i try to run it:

[Tue Jan 10 12:03:00 2006] [error] [client 131.231.82.229] Can't locate 
/opt/rt3/etc/RT_SiteConfig.pm in @INC (@INC contains: /opt/rt3/etc 
/opt/rt3/lib /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi 
/usr/lib/perl5/5.8.6 .) at /opt/rt3/lib/RT.pm line 131., referer: 
http://gilo/Ticket/Create.html?casetype=Problem&Queue=Helpdesk
[Tue Jan 10 12:03:00 2006] [error] [client 131.231.82.229] Premature end 
of script headers: create.pl, referer: 
http://gilo/Ticket/Create.html?casetype=Problem&Queue=Helpdesk

My questions are:

1)  How can I fix this error?
2)  What is calling RT_SiteConfig and why?

I have attached my script if it helps.

TIA,

Stewart
------------------------------------------------
Stewart Tranter
Computing Services
Loughborough University

E:  s.g.tranter at lboro.ac.uk
W:  http://www.lboro.ac.uk/computing/
T:  +44 (0) 1509 223719
F:  +44 (0) 1509 223989
------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: script.txt
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060110/c3127f62/attachment.txt>


More information about the rt-users mailing list