marcel vd berg Posted August 10, 2015 Share Posted August 10, 2015 Als ik een pdf van een order wil openen (om bijv vervolgens uit te printen) krijg ik de volgende melding FPDF error: Some data has already been output, can't send PDF file wie kan mij helpen Link to comment Share on other sites More sharing options...
musicmaster Posted August 12, 2015 Share Posted August 12, 2015 Als ik een pdf van een order wil openen (om bijv vervolgens uit te printen) krijg ik de volgende melding FPDF error: Some data has already been output, can't send PDF file wie kan mij helpen Dit betekent dat Prestashop al wat geoutput heeft voor de geplande output van de pdf begon. Het gaat hierbij meestal om Prestashop (PHP) foutmeldingen of je eigen debug output. Soms is het ook gewoon een spatie op de verkeerde plaats. Als je zo niets zien kan het lonen om naar de broncode van de pagina te kijken of je daar de ongewenste output ziet. Link to comment Share on other sites More sharing options...
tuk66 Posted August 12, 2015 Share Posted August 12, 2015 Enable Debug mode om de fout te zien: Enable Debug mode to see the error: @ini_set('display_errors', 'on'); in /config/config.inc.php Link to comment Share on other sites More sharing options...
marcel vd berg Posted August 16, 2015 Author Share Posted August 16, 2015 Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\prestashop\classes\Cookie.php:1) in C:\wamp\www\prestashop\tools\fpdf\fpdf.php on line 1032 en nu? Link to comment Share on other sites More sharing options...
tuk66 Posted August 16, 2015 Share Posted August 16, 2015 Plaats de C:\wamp\www\prestashop\classes\Cookie.php bestand. Post the C:\wamp\www\prestashop\classes\Cookie.php file. Link to comment Share on other sites More sharing options...
marcel vd berg Posted August 16, 2015 Author Share Posted August 16, 2015 hierbij Cookie.php Link to comment Share on other sites More sharing options...
marcel vd berg Posted August 16, 2015 Author Share Posted August 16, 2015 Ok dan gaan we dat doen bijwerken is zonder risico? Link to comment Share on other sites More sharing options...
tuk66 Posted August 16, 2015 Share Posted August 16, 2015 Er zijn ongewenste tekens op de eerste lijn op dit bestand. Openen in een tekstverwerker en verander aan (ik weet het, de ongewenste tekens zijn niet zichtbaar, zodat je dezelfde lijn zullen zien): There are unwanted characters at the first line on this file. Open it in a text editor and change to (I know, the unwanted characters are not visible so you will see the same line): <?php Link to comment Share on other sites More sharing options...
tuk66 Posted August 16, 2015 Share Posted August 16, 2015 Backup het oude bestand en het nieuwe te uploaden. U kunt altijd terug naar de niet-werkende versie Backup the old file and upload the new one. You can always go back to the non-working version Link to comment Share on other sites More sharing options...
tuk66 Posted August 16, 2015 Share Posted August 16, 2015 We hebben het over een kleine correctie in één bestand. Er is geen risico iets. We are talking about a small fix in one file. There is no risk of anything. Link to comment Share on other sites More sharing options...
marcel vd berg Posted August 17, 2015 Author Share Posted August 17, 2015 Maar hoe werkt de auto update? moet ik gewoon de auto map overschrijven? Link to comment Share on other sites More sharing options...
peter4661 Posted September 24, 2015 Share Posted September 24, 2015 Ik wil graag inhaken op dit onderwerp. Na aanpassing van een order aan admin zijde ( product toegevoegd ) kunnen PDF orders en pakbonnen niet meer worden geprint. Melding bij print poging: PDF document kan niet worden geopend. In debug mode "true", @ini_set('display_errors', 'on'); geen foutmelding. Helaas onvoldoende kennis in huis om probleem te tackelen. Op engels forum zijn er wat aanwijzingen richting database fout zonder concrete stappen die zouden kunnen leiden tot oplossing. Wie weet raad? Alle hulp is welkom, Wij zitten op PS versie 1.6.1.1. Peter Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now