[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing Error



Hi Bob,
 
LedgerSMB 1.4.11
openSUSE 13.2
 
When printing a Sales Order I get:
Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
malformed header from script 'oe.pl': Bad header: This is XeTeX, Version 3.14159

I see you're using XeTeX to process your TeX files. Which templates did you select when you created the company? There are 3 options: (1) demo, (2) xedemo and (3) demo-with-images. If you use XeTeX to do the processing, you need to select the xedemo templates when setting up the company.

Also, the templates require certain fonts to be installed. Do you have this font installed: LiberationSans-Regular.ttf ?

 
If you think this is a server error, please contact the webmaster.
Error 500

The Apache Logs:
tail -30 /var/log/apache2/error_log
[Mon Jun 22 11:17:46.988088 2015] [cgi:error] [pid 6586] [client ::1:33276] AH01215: 2015/06/22 11:17:46 - ERROR - Form::_error
LedgerSMB/Form.pm (438) -- dbversion: 1.4.11, company: testgen, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:17:46.988097 2015] [cgi:error] [pid 6586] [client ::1:33276] AH01215: exit at LedgerSMB.pm line 632, <FILE> line 93., referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:17:46.988111 2015] [cgi:error] [pid 6586] [client ::1:33276] AH01215: Compilation failed in require at
/srv/www/htdocs/ledgersmb/
oe.pl line 7, <FILE> line 93., referer: http://localhost/ledgersmb/oe.pl?action="">
<Snip>
[Mon Jun 22 11:32:20.508562 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: , 'fileid', 061915, 'login', '', 'bin_2', '', 'stylesheet',
'ledgersmb.css', 'orderitems_id_1', 2) called at LedgerSMB/OE.pm line 61, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508580 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tOE::get_files('OE', 'Form=HASH(0x60a8920)',
'LedgerSMB::Locale::en=HASH(0x3d3d570)') called at bin/
oe.pl line 955, referer: http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508589 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tlsmb_legacy::form_footer at bin/
io.pl line 963, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508599 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tlsmb_legacy::display_form at bin/
oe.pl line 111, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508607 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tlsmb_legacy::edit at bin/
io.pl line 2035, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508620 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tlsmb_legacy::print_form('Form=HASH(0x6b0f2a0)') called at
bin/
io.pl line 1574, referer: http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508628 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tlsmb_legacy::print at
old-handler.pl line 206, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508642 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tlsmb_legacy::try {...}  at
/usr/lib/perl5/vendor_perl/5.20.1/Try/Tiny.pm line 81, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508654 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \teval {...} at
/usr/lib/perl5/vendor_perl/5.20.1/Try/Tiny.pm line 72, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508670 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \tTry::Tiny::try('CODE(0x607d9c0)',
'Try::Tiny::Catch=REF(0x62f99e0)') called at
old-handler.pl line 225, referer: http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508681 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: \trequire
old-handler.pl at /srv/www/htdocs/ledgersmb/oe.pl
line 7, referer: http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508688 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: ', referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508705 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: 2015/06/22 11:32:20 - ERROR - Form::_error
LedgerSMB/Form.pm (438) -- dbversion: 1.4.11, company: testgen, referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508714 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: exit at LedgerSMB.pm line 632, <FILE> line 95., referer:
http://localhost/ledgersmb/oe.pl?action="">
[Mon Jun 22 11:32:20.508728 2015] [cgi:error] [pid 6589] [client ::1:33293] AH01215: Compilation failed in require at
/srv/www/htdocs/ledgersmb/
oe.pl line 7, <FILE> line 95., referer: http://localhost/ledgersmb/oe.pl?action="">

I'm guessing this has more to do with the installation than a bug somewhere.  If this is so, then what part of the install affects printing?

Assuming you requested "Print to PDF", then that depends on LaTeX (pdflatex) or XeTeX being installed with the correct font sets.


Hope that helps. If not, please don't hesitate to ask!

--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users