Printerror - Error 500

Moderator: crythias

Locked
Rabo
Znuny newbie
Posts: 7
Joined: 05 Feb 2014, 13:17
Znuny Version: 3.3.3
Real Name: Ralf Bohrer

Printerror - Error 500

Post by Rabo »

Good Morning

I've installed OTRS 3.3.6 on Suse 13.1

All works fine, but if I want to Print a Ticket I get the following Error:

Error 500
End of Script output before headers: index.pl

I guess i have to change some restrictions but I don't know where.

Thank you for all the Tips.

Greetings Ralf
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Printerror - Error 500

Post by reneeb »

Please have a look at the webserver logfiles. You should find some messages there that helps to find the problem...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Rabo
Znuny newbie
Posts: 7
Joined: 05 Feb 2014, 13:17
Znuny Version: 3.3.3
Real Name: Ralf Bohrer

Re: Printerror - Error 500

Post by Rabo »

Thank you but the log File has no Inormation for me.

Any other Idea?

Ralf
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Printerror - Error 500

Post by crythias »

error 500 is an apache error, so apache error.log should indeed have relevant error.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Rabo
Znuny newbie
Posts: 7
Joined: 05 Feb 2014, 13:17
Znuny Version: 3.3.3
Real Name: Ralf Bohrer

Re: Printerror - Error 500

Post by Rabo »

Thank you.

You're right, but theres no Informtion about it.

Ralf
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Printerror - Error 500

Post by crythias »

well, since /var/log/apache2 (or /var/log/httpd/error.log) says absolutely nothing, there's nothing to fix. The error is made up and the answers don't matter. Also, System Log within OTRS should likely tell you something. maybe even /var/log/syslog or /var/log/messages

run bin/otrs.CheckModules.pl
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Rabo
Znuny newbie
Posts: 7
Joined: 05 Feb 2014, 13:17
Znuny Version: 3.3.3
Real Name: Ralf Bohrer

Re: Printerror - Error 500

Post by Rabo »

Thank you

Here are 2 Lines from error.log

Maybe it helps.

[Fri Apr 25 14:08:26.238914 2014] [cgi:error] [pid 22027] [client 192.168.1.5:52471] AH01215: [Fri Apr 25 14:08:26 2014] index.pl: cannot find font '' ... at /usr/lib/perl5/vendor_perl/5.18.1/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm line 424., referer: http://www.help.de/otrs/index.pl?Action ... cketID=579
[Fri Apr 25 14:08:26.249201 2014] [cgi:error] [pid 22027] [client 198.168.1.5:52471] End of script output before headers: index.pl, referer: http://www.help.de/otrs/index.pl?Action ... cketID=579

In File on 424 is

die "cannot find font '$file' ..." unless(-f $file);
my $font=Font::TTF::Font->open($file);
$data->{obj}=$font;



Thank you
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Printerror - Error 500

Post by crythias »

A cursory search on this indicates that it means what it says on the box.

http://lists.otrs.org/pipermail/otrs/20 ... 35579.html
Files/ZZZAAuto.pm:$Self->{'PDF::TTFontFile'}->{'Monospaced'} = 'DejaVuSansMono.ttf';
Files/ZZZAAuto.pm:$Self->{'PDF::TTFontFile'}->{'ProportionalBoldItalic'} = 'DejaVuSans-BoldOblique.ttf';
Files/ZZZAAuto.pm:$Self->{'PDF::TTFontFile'}->{'ProportionalBold'} = 'DejaVuSans-Bold.ttf';
Files/ZZZAAuto.pm:$Self->{'PDF::TTFontFile'}->{'Proportional'} = 'DejaVuSans.ttf';
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Rabo
Znuny newbie
Posts: 7
Joined: 05 Feb 2014, 13:17
Znuny Version: 3.3.3
Real Name: Ralf Bohrer

Re: Printerror - Error 500

Post by Rabo »

Thank you! IT works.

Ralf
Locked