Jump to content

Page blanche avec Generation PDF !


flysurfing

Recommended Posts

Dear all
Since 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 support
Best regards
Rolf

Link to comment
Share on other sites

Dear all
Since 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 support
Best regards
Rolf


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 469

It seems that it has to do with a new funktion in the presta ?
Link to comment
Share on other sites

Dear PShopExpert
No, I don't - mhh did I do something wrong during my update? Thanks for feedback.
Best regards
Rolf


Dear PShopExpert
I 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 regards
Rolf
Link to comment
Share on other sites

Hi J

I 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 regards
Rolf

Link to comment
Share on other sites

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 salutations
Rolf


Via


C'est "du brutal", mais çà permet de voir l'essentiel 8-/
Link to comment
Share on other sites

  • 1 month later...

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.php

Voici le message d'erreur:
Fatal error: Using $this when not in object context in /www/classes/Cart.php on line 152

J'ai remplacé le fichier Classes/Cart.php, Classes/PDF.php, adminXXX/pdf.php
J'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 aussi

Merci,
version Prestashop 1.4.0.3 en test

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...