Hey, Martin

Thanks for the quick reply.

On Sun, Nov 03, 2002 at 11:58:56PM +0100, Martin Edenhofer wrote:
> > However: I cannot add a ticket! :-) 
> > 
> > Clicking on 'PhoneView' brings up the 'Phone call / new ticket' page.
> > After filling in the form and pressing 'store', I get a 500 error from
> > my Apache.
> > 
> > This happens on 2 different machines. As far as I can tell, all required
> > perl-modules have been installed. I get a 'Syntax OK' when performing
> > 'perl -cw path/to/bin/cgi-bin/index.pl'. Nothing shows in the
> > (error)logs either.
> > 
> > The same problem occurs with the 'customer.pl' script.
> > 
> > Does anyone have any idea how I go about debugging this? 
> 
> Ja, have a look to the error log of your webserver. You will find 
> the reason there. 
> 
> I guess, it's a permission problem. If yes, use $OTRS_HOME/bin/SetPermission.sh!

Darn! Don't know what happened, but after rebooting one server the
index.pl won't even open up: it gives me a 500 error right away. But
that's my problem, obviously. It's just that it annoys me. :-) Nothing
shows in the error log of Apache, though...

The other server did show something in the error-log. It says:

-------------------------------------------------
[Mon Nov  4 00:06:17 2002] [error] Can't open
/opt/OpenTRS/var/log/TicketCounter.log at
/usr/local/share/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Number/DateChecksum.pm
line 54.
-------------------------------------------------

The problem being that I didn't install OpenTRS in /opt, but in
/usr/local/ :-)

Symlinking /opt/OpenTRS to /usr/local/share/OpenTRS solved that
temporarily and I am now able to add tickets: life is good. :-)

But I would like to know why it's looking in /opt in the first place.
Was it something I did during the installation or something in the code?

I'll go and check my installation first....

> > Maarten (Who should have learned Perl when he had the chance!)
> 
> ;-)

... and then I'll learn Perl and fix the bug ;-)

-- 
Maarten >> Security through ignorance <<
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to