2017-04-05 1 views
-2

Im utilisant CodeIgniter mais j'ai un problème quand je veux convertir mes données en PDF en utilisant tcpdfUndefined variable: cellspacingx (Codeigniter & tcpdf)

c'est le problème:

Picture problem

peut tu m'aides ??

+0

Copie possible de [PHP: "Remarque: Undefined variable", "Notice: Undefined index", et "Notice: Undefined Offset"] (https://stackoverflow.com/questions/4261133/php-notice-undefined- variable-notice-undefined-index-and-notice-undef) –

Répondre

0

remplacer cellspacingx par @cellspacingx, cet écran de notification juste développeur envirement

+0

dans tcppdf.php J'ai trouvé $ cellspacingx, comment je change cette variable en @cellspacingx ?? –

0

Aller au fichier tcpdf/tcpdf.php et en ligne 18114 remplacer $cellspacingx avec @$cellspacingx.

Autre moyen peut être désactiver les rapports d'erreurs d'avis dans votre contrôleur à l'aide error_reporting(E_ERROR);

1

Dans mon cas, j'avais tag table non valide (manquant signe de citation). lors de la validation, l'erreur a été résolue.