flysurfing Posted November 24, 2010 Share Posted November 24, 2010 Bonjour a vous tous,Quand je clic sur la page commande sur le lien "pdf.php?id_order=9&pdf;"J'obtiens une page blanche.Auriez-vous une piste?Merci a vous, Link to comment Share on other sites More sharing options...
StoreCommander Posted November 25, 2010 Share Posted November 25, 2010 Bonjour,Dans votre fichier /config/config.inc.php , changez ini_set('display_errors', 'off');pourini_set('display_errors', 'on');Vous obtiendrez un message d'erreur (avec un peu de chance !). Link to comment Share on other sites More sharing options...
flysurfing Posted November 25, 2010 Author Share Posted November 25, 2010 Bonjour,merci beaucoup.J'obtiens ce message: Fatal error: Call to undefined method Cart::gettaxesaverageused() in /home/www/classes/Order.php on line 402Merci pour votre aide Link to comment Share on other sites More sharing options...
StoreCommander Posted November 25, 2010 Share Posted November 25, 2010 Cette fonction n'est pas une fonction standard de Prestashop, vous devez reprendre les fichiers /classes/PDF.php et /adminXXX/pdf.php d'origine. Link to comment Share on other sites More sharing options...
flysurfing Posted November 27, 2010 Author Share Posted November 27, 2010 Bonjour,Merci.Je dois donc les re-uploader ?Je ne les ai pas toucher depuis la creation du site, comment se fait t'il que j'ai ce probleme ?Merci Link to comment Share on other sites More sharing options...
StoreCommander Posted November 27, 2010 Share Posted November 27, 2010 Bonjour,J'ai un doute sur ma réponse précédente, quelle version de Prestashop utilisez vous ? Link to comment Share on other sites More sharing options...
Rolf Posted November 29, 2010 Share Posted November 29, 2010 Dear allSince update to version Version 1.3.2.3 - 0.080s I get the same error. I did not change the files. If I put back the old version of the whole shop the error disapears, with the new version I have the error again. Thank you for you valuable supportBest regardsRolf Link to comment Share on other sites More sharing options...
Rolf Posted November 29, 2010 Share Posted November 29, 2010 Dear allSince update to version Version 1.3.2.3 - 0.080s I get the same error. I did not change the files. If I put back the old version of the whole shop the error disapears, with the new version I have the error again. Thank you for you valuable supportBest regardsRolf I have an addition. If I copy the old classes/Order.php I get following error: Fatal error: Call to undefined method Order::getTaxesAverageUsed() in /var/www/testshop/classes/PDF.php on line 469It seems that it has to do with a new funktion in the presta ? Link to comment Share on other sites More sharing options...
StoreCommander Posted November 29, 2010 Share Posted November 29, 2010 Hi RolfDo you have "function gettaxesaverageused" in /classes/Cart.php? Link to comment Share on other sites More sharing options...
Rolf Posted November 29, 2010 Share Posted November 29, 2010 Dear PShopExpertNo, I don't - mhh did I do something wrong during my update? Thanks for feedback.Best regardsRolf Link to comment Share on other sites More sharing options...
Rolf Posted November 29, 2010 Share Posted November 29, 2010 Dear PShopExpertNo, I don't - mhh did I do something wrong during my update? Thanks for feedback.Best regardsRolf Dear PShopExpertI have copied the Cart.php from the original distribution 1.3.2.3 to my testshop and it works. I have no clue why this happened. (maybe the mudule onepage checkout which I had to remove due to other errors). Thank you very much for your help!Best regardsRolf Link to comment Share on other sites More sharing options...
flysurfing Posted November 30, 2010 Author Share Posted November 30, 2010 Bonjour a tous,Je suis toujours dans la même situation.La génération de PDF ne fonctionnant pas.Merci pour votre aide.J Link to comment Share on other sites More sharing options...
Rolf Posted November 30, 2010 Share Posted November 30, 2010 Hi JI do not speak french, sorry, but maybe I can help you in english .... I got the same error like you have, this since the installation (upgrade) of the new version of PrestaShop. V.I.P. PShopExpert (Thank you again) asked me if function “function gettaxesaverageused” is in my /classes/Cart.php - which was not the case and this was my problem. What I did to get rid of this error: I downloaded the whole PrestaShop distribution 1.3.2.3 to my local "PC" and replaced the Cart.php from this download on my testshop and after success on my liveshop. I think this can fix your problem as well ?!? Good luck!Best regardsRolf Link to comment Share on other sites More sharing options...
Kial Mi 46 Posted November 30, 2010 Share Posted November 30, 2010 Si çà peut aider, traduction "in-extenso" de la réponse de Rolf : Je ne parle pas le français, désolé, mais peut-être je peux vous aider en anglais.Je suis arrivé la même erreur comme vous a, cela depuis l'installation (la mise à jour)((l'amélioration)) de la nouvelle version de PrestaShop. V.I.P. PShopExpert (le Merci encore une fois) m'a demandé si la fonction "la fonction gettaxesaverageused" est dans mon/classes/cart.php - qui n'était pas le cas(la caisse) et c'était mon problème.Ce que j'ai fait pour me débarrasser de cette erreur : j'ai téléchargé le tout PrestaShop la distribution 1.3.2.3 à mon "PC" local et ai remplacé le Cart.php de ce téléchargement sur mon testshop et après le succès sur mon liveshop. Je pense que cela peut fixer(réparer) votre problème aussi ?! ? Bonne chance !Meilleures salutationsRolf Via http://www.reverso.net/text_translation.asp?lang=EN C'est "du brutal", mais çà permet de voir l'essentiel 8-/ Link to comment Share on other sites More sharing options...
flysurfing Posted November 30, 2010 Author Share Posted November 30, 2010 Bonjour a tous,J'ai bien: “function gettaxesaverageused” dans le fichier /classes/cart.php Mais les pdf ne se generent pas ...Merci pour votre aide Link to comment Share on other sites More sharing options...
flysurfing Posted November 30, 2010 Author Share Posted November 30, 2010 Bonjour,J'ai un doute sur ma réponse précédente, quelle version de Prestashop utilisez vous ? Bonjour,J'utilise la derniere version disponible sur le site. PrestaShop v.1.3.2 (stable)Merci ! Link to comment Share on other sites More sharing options...
flysurfing Posted December 1, 2010 Author Share Posted December 1, 2010 Bonjour y a t'il qq pour m'aider ?Merci Link to comment Share on other sites More sharing options...
flysurfing Posted December 3, 2010 Author Share Posted December 3, 2010 Bonjour a vous tous,Auriez vous un idee d'ou viens le probleme, ne pouvant malheureusement le resoudre.Cordialement Link to comment Share on other sites More sharing options...
flysurfing Posted December 3, 2010 Author Share Posted December 3, 2010 Bonjour a tous,Personne ne rencontrer ce probleme ? Link to comment Share on other sites More sharing options...
flysurfing Posted December 5, 2010 Author Share Posted December 5, 2010 Bonjour,Semble t'il personne ne rencontre ce problème ?Merci ! Link to comment Share on other sites More sharing options...
flysurfing Posted December 8, 2010 Author Share Posted December 8, 2010 BonjourQql. aurait t'il une idee ?Merci Link to comment Share on other sites More sharing options...
flysurfing Posted December 13, 2010 Author Share Posted December 13, 2010 Bonjour a vous tous,Je suis tjs sans reposes, merci pour votre aide ! Link to comment Share on other sites More sharing options...
flysurfing Posted December 13, 2010 Author Share Posted December 13, 2010 Bonjour,Personne n'a ce probleme ?Merci Link to comment Share on other sites More sharing options...
flysurfing Posted December 16, 2010 Author Share Posted December 16, 2010 Bonjour a vous tous !Personne n’a ce probleme ?Merci Link to comment Share on other sites More sharing options...
flysurfing Posted December 18, 2010 Author Share Posted December 18, 2010 Un petit up, merci a vous ! Link to comment Share on other sites More sharing options...
SCAMPAI Posted February 14, 2011 Share Posted February 14, 2011 Bonjour,Quand je clique sur facture, j’obtiens moi-aussi une page blanche.En mettant ini_set(‘display_errors’, ‘on’ dans le fichier /config/config.inc.phpVoici le message d'erreur:Fatal error: Using $this when not in object context in /www/classes/Cart.php on line 152J'ai remplacé le fichier Classes/Cart.php, Classes/PDF.php, adminXXX/pdf.phpJ'ai essayé les 2 white space après la balise de fermeture ?> dans Classes/product.php,J'ai bien une function gettaxesaverageused dans Cart.php, mais dans le fichier d'origine de la 1.4.0.3 elle y est aussiMerci,version Prestashop 1.4.0.3 en test 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