[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Apache problem when printing
- Subject: Apache problem when printing
- From: albert <..hidden..>
- Date: Sun, 14 Nov 2010 10:00:43 -0800 (PST)
Environment: Windows 7 / Apache2.2.17
LedgerSMB throws an error when printing but the culprit seems to be Apache.
The Apache log file tells me
latex: A required file system path could not be retrieved.\r, referer:
http://localhost/ledgersmb/ap.pl
[Sun Nov 14 14:38:59 2010] [error] [client 127.0.0.1] latex: Data: 35\r,
referer: http://localhost/ledgersmb/ap.pl
The environment variables for PATH (when printing them in the browser):
PATH =
C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\PostgreSQL\8.4\bin;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin;
Running the next script in DOS (command window) works just fine, telling the
path variables in Windows are right.
$ef = 'C:\tmp\ap2.tex';
system("latex --interaction=nonstopmode $ef");
Running (basically) the same script (analogue to what LedgerSMB does) gives
a similar Apache error as indicated above
#!c:\perl\bin\perl
use CGI qw(:standard);
$ef = 'C:\tmp\ap2.tex';
system("latex --interaction=nonstopmode $ef");
Anyone knows what needs to be done to fix this (in Apache)?
I thought I was done with printing
Tx
Albert
--
View this message in context: http://ledger-smb.1045705.n5.nabble.com/Apache-problem-when-printing-tp3264627p3264627.html
Sent from the Ledger SMB - Users mailing list archive at Nabble.com.