matt.wiw Posted September 15, 2009 Share Posted September 15, 2009 I get this error when I click either of the View Invoice or View Delivery Slip buttons.Running Prestashop 1.1.0.5I have researched the problem and apparently there is some broken PHP code somewhere or some code outside of the ?>. I have searched high and low for this and I can't find anything. It was working last week.I did make some changes to the website through code. Most of which were simple cosmetic changes through the .tpl files, adding Facebook/Twitter buttons, a bookmark us .js button, Bookmark button, an image map I made in Dreamweaver CS4.I did edit two PHP files. classes/Product.php, I edited two lines because the Prestashop combinations only applies tax to the original price and not any additional Combinations. I reverted this code and the FPDF is still broken.The other, classes/Address.php, I only changed the $fieldsSize = array to allow for more characters in the registration fields because registration would fail if your name or address was too long. I was unable to revert this code, does anyone have a Prestashop 1.1.0.5 or 1.1 (or 1.1.x.x) classes/Address.php file? I would like to return the values to their default and see if that fixes it.I reverted most of my .tpl changes although this should have nothing to do with it, FPDF remains broken.I did make a number of changes to the Tax structure through the Backoffice without touching any code, haven't reverted these yet but they were just done through the Backoffice.Furthernotes, I am aware of how to do delete the tools/smarty/compile cache files. FPDF remains broken.Thanks for any help! Link to comment Share on other sites More sharing options...
Kruzo Posted September 18, 2009 Share Posted September 18, 2009 Hii Have exactly the same problem Link to comment Share on other sites More sharing options...
JoeA Posted September 22, 2009 Share Posted September 22, 2009 Here too same using 1.2.4, however i have seen in previous post that the error existed before in previous releases. PrestaTeam check your development processes it is important and will save you a lot of time, which you can use to implement more new features instead of 'bug fixing'..... just a tip.I have added a short post on a possible way to implement your CI and VC process. Please check it, it might help. Link to comment Share on other sites More sharing options...
Terofal Posted January 28, 2010 Share Posted January 28, 2010 Hi,I have this problem also with version 1.2. I recall the invoices USED to work, but since then I only altered the files necessary to remove the capitalized surnames, as found here: http://www.prestashop.com/forums/viewthread/30451/general_discussion/return_the_surname_from_the_db_as_capitalize_textI don't expect those changes had anything to do with the PDF problem, though. Has anyone found a fix? Thanks so much,-Jake Link to comment Share on other sites More sharing options...
SVSwift Posted August 27, 2010 Share Posted August 27, 2010 In my case it was a malformated classes/Product.php having two whitespace after the closing tag ?> removing them solved the problem. Link to comment Share on other sites More sharing options...
Straigh&Alert Posted November 7, 2010 Share Posted November 7, 2010 In my case it was a malformated classes/Product.php having two whitespace after the closing tag ?> removing them solved the problem. this works fine for me too!thanx A LOTi've spend so much time trying to fix that Link to comment Share on other sites More sharing options...
flysurfing Posted December 19, 2010 Share Posted December 19, 2010 Bonjour,J'ai le meme probleme.Merci ! Link to comment Share on other sites More sharing options...
Recommended Posts