non è quello l'errore comunque... li ho fatto io un'errore scrivendo in python una cosa di php... ma l'errore resta... ed è questo che vedo dal log:
[Tue Oct 07 00:57:14 2008] [error] [client 79.28.248.123] Traceback (most recent call last):, referer: http://dominio.net/ordini/index.php?ord_id=40 [Tue Oct 07 00:57:14 2008] [error] [client 79.28.248.123] File "stampa_ordine.py", line 9, in ?, referer: http://dominio.net/ordini/index.php?ord_id=40 [Tue Oct 07 00:57:14 2008] [error] [client 79.28.248.123] from reportlab.platypus import *, referer: http://dominio.net/ordini/index.php?ord_id=40 [Tue Oct 07 00:57:14 2008] [error] [client 79.28.248.123] ImportError: No module named reportlab.platypus, referer: http://dominio.net/ordini/index.php?ord_id=40 [Tue Oct 07 00:57:14 2008] [error] [client 79.28.248.123] Premature end of script headers: stampa_ordine.py, referer: http://dominio.net/ordini/index.php?ord_id=40 [Tue Oct 07 00:57:14 2008] [error] [client 79.28.248.123] File does not exist: /home/user/dominio.net/internal_error.html, referer: http://dominio.net/ordini/index.php?ord_id=40 2008/10/7 Lawrence Oluyede <[EMAIL PROTECTED]> > On Tue, Oct 7, 2008 at 9:55 AM, Zanon Samuele <[EMAIL PROTECTED]> wrote: > > eccolo: > > > > [Tue Oct 07 00:53:46 2008] [error] [client 79.28.248.123] File > > "stampa_ordine.py", line 174, referer: > > http://dominio.net/ordini/index.php?ord_id=40 > > [Tue Oct 07 00:53:46 2008] [error] [client 79.28.248.123] print '<a > > href="'. output_filename '">PDF ORDINE</a>', referer: > > http://dominio.net/ordini/index.php?ord_id=40 > > [Tue Oct 07 00:53:46 2008] [error] [client > > 79.28.248.123] > ^, > > referer: http://dominio.net/ordini/index.php?ord_id=40 > > [Tue Oct 07 00:53:46 2008] [error] [client 79.28.248.123] SyntaxError: > > invalid syntax, referer: http://dominio.net/ordini/index.php?ord_id=40 > > [Tue Oct 07 00:53:46 2008] [error] [client 79.28.248.123] Premature end > of > > script headers: stampa_ordine.py, referer: > > http://dominio.net/ordini/index.php?ord_id=40 > > Abbastanza chiaro. > > print '<a href="'. output_filename '">PDF ORDINE</a>' > > Gli apici dopo =" sono illegali. Devi farne l'escape: > > print '<a href="\'. output_filename\'">PDF ORDINE</a>' > > -- > Lawrence, stacktrace.it - oluyede.org - neropercaso.it > "It is difficult to get a man to understand > something when his salary depends on not > understanding it" - Upton Sinclair > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python > -- Zanon Samuele mailto:[EMAIL PROTECTED]
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python