cocoges Posted October 7, 2013 Share Posted October 7, 2013 (edited) Bonjour, Sous version 1.4.7.3, je rencontre un problème depuis quelques jours. La fonction PDF ne fonctionne plus. Dans le backoffice, plus aucun PDF ne fonctionne (commande, bon de livraison, facture..) Voici la page avec l'erreur. Je ne suis pas développeur mais je sais que j'ai eu cette erreur après avoir installé plusieurs modules : Warning: Missing argument 1 for ToolsCore::iconv(), called in /home/www/9a598128e0a7d052529e4feb28a97016/web/2014/classes/PDF.php on line 636 and defined in /home/www/9a598128e0a7d052529e4feb28a97016/web/2014/classes/Tools.php on line 1194 Warning: Missing argument 2 for ToolsCore::iconv(), called in /home/www/9a598128e0a7d052529e4feb28a97016/web/2014/classes/PDF.php on line 636 and defined in /home/www/9a598128e0a7d052529e4feb28a97016/web/2014/classes/Tools.php on line 1194 Warning: Missing argument 3 for ToolsCore::iconv(), called in /home/www/9a598128e0a7d052529e4feb28a97016/web/2014/classes/PDF.php on line 636 and defined in /home/www/9a598128e0a7d052529e4feb28a97016/web/2014/classes/Tools.php on line 1194 FPDF error: Some data has already been output, cannot send PDF file Une idée ?? Merci de votre aide !! Edited October 7, 2013 by cocoges (see edit history) Link to comment Share on other sites More sharing options...
cocoges Posted October 7, 2013 Author Share Posted October 7, 2013 (edited) Problème résolu : Le fichier Go to fpdf.phpest dans : tools / pdf / fpdf.phpsource Solution : FPDF error: Some data has already been output, can't send PDF file in PRESTASHOP 1.4.6.0 While generating PDF for invoice error will display given below FPDF error: Some data has already been output, can't send PDF file Here is the solution: Go to [tools] folder - > Open [fpdf] folder - Open fpdf.php file Line no:992 function Output($name='', $dest='') { ob_clean(); Edited October 7, 2013 by cocoges (see edit history) Link to comment Share on other sites More sharing options...
hernanlr Posted December 18, 2013 Share Posted December 18, 2013 Hi Cocoges, I tried your solution but it doesn´t work. My php version is 5.4. PS version is 1.473. Worked until a few days ago... Any idea? Thanks Hernán 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