onahkenneth Posted March 18, 2014 Share Posted March 18, 2014 Hello Everyone When I try to view a client's invoice from the back office, i receive the erro that the pdf is either corrupt or cannot be loaded. Upon inspection of my server logs I see this line [Tue Mar 18 09:55:32.044390 2014] [:error] [pid 17631] [client 105.224.39.240:53415] PHP Notice: Undefined index: old_cell_padding in /home/supplzr2/public_html/tools/tcpdf/tcpdf.php on line 24638, referer: http://supplizor.com/admin8574/index.php?controller=AdminOrders&id_order=13&vieworder&token=fd490f3c2df0915d705d36209c84fc3a What might problem be? Link to comment Share on other sites More sharing options...
tuk66 Posted March 18, 2014 Share Posted March 18, 2014 Disable displaying of PHP Notices in php.ini. PHP Errors should be enough. Link to comment Share on other sites More sharing options...
onahkenneth Posted March 18, 2014 Author Share Posted March 18, 2014 But that doesn't solve the problem Link to comment Share on other sites More sharing options...
tuk66 Posted March 18, 2014 Share Posted March 18, 2014 So the log line has nothing to do with the PDF error. Enable development mode and try to see the PDF error. Link to comment Share on other sites More sharing options...
onahkenneth Posted March 26, 2014 Author Share Posted March 26, 2014 I finally tracked the error down to invoice.tpl in /pdf folder of the shop's theme Everything is working fine now..Thanks Link to comment Share on other sites More sharing options...
Recommended Posts