HTTP ERROR 500 - creazione file PDF


#1

Buongiorno a tutti,

Ho un problema, dopo l’ultimo aggiornamento non riesco più a creare i file PDF.
Adesso compare “HTTP ERROR 500”.
Ho guardato il log file e ho notato che l’errore è sempre lo stesso ripetuto più volte (in allegato).
Ho guardato il file ZugferdXml.php e ho notato che le righe interessate riportano tutte lo stesso codice. vi riporto una delle righe qui sotto:

$dateNode->appendChild($this->dateElement($this->invoice->invoice_date_created));


Allegato: log-2016-11-12.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

ERROR - 2016-11-12 07:37:41 --> Could not find the language line "generate_invoice_number_for_draft"
ERROR - 2016-11-12 07:37:41 --> Could not find the language line "pdf_settings"
ERROR - 2016-11-12 07:37:41 --> Could not find the language line "email_settings"
ERROR - 2016-11-12 07:37:41 --> Could not find the language line "other_settings"
ERROR - 2016-11-12 07:37:41 --> Could not find the language line "general_settings"
ERROR - 2016-11-12 07:37:41 --> Could not find the language line "generate_quote_number_for_draft"
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/helpers/template_helper.php 69
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/helpers/template_helper.php 72
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/helpers/pdf_helper.php 36
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/helpers/pdf_helper.php 37
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/helpers/zugferd_helper.php 24
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 54
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 60
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 65
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 154
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 158
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 159
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 160
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 161
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 162
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 175
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 176
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 177
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 178
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 179
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 183
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 184
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 98
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 109
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 212
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 215
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 216
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 217
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 218
ERROR - 2016-11-12 07:42:56 --> Severity: Notice  --> Trying to get property of non-object /application/libraries/ZugferdXml.php 219

Qualcuno può aiutarmi?

Grazie,
Daniele


#2

Aggiornamento:
Ho appena visto che l’ultima versione di invoiceplane in italiano è la 1,4,9 e da quanto leggo ha un problema con i Pdf come si può leggere qui sotto
https://development.invoiceplane.com/browse/IP-455

Ho visto che il problema è stato risolto con la versione 1.4.10 in inglese, attendo la versione italiana.

Grazie a tutti gli sviluppatori!


#3

Buonasera a tutti, nuova versione 1.4.10_it appena pubblicata.


#4

Grazie mille.

Buona Serata,
Daniele


closed #5