Search the Community
Showing results for tags 'DbPDO.php'.
-
Hi, I'm experiencing an issue with LiteSpeed Cache module v1.4.0 in PS 1.6.1.16 We use RockPos module for instore sales and the POS link is failing to load throwing a 500 server error. This only happens when the LiteSpeed module is set to "Two views - one for all logged-in users and another for logged-out users" Whenthe POS link https://www.ridersline.com.au/shop/pos is hit the server is logging the errors as the following: 2021-08-20 10:28:12.148978 [NOTICE] [656518] [110.174.171.127:49819:HTTP2-21#APVH_ridersline.com.au:443] [STDERR] PHP Fatal error: Call to a member function query() on null in /home/ridersli/public_html/shop/classes/db/DbPDO.php on line 134 2021-08-20 10:28:12.148919 [NOTICE] [656518] [110.174.171.127:49819:HTTP2-21#APVH_ridersline.com.au:443] [STDERR] PHP Notice: Undefined property: DbPDO::$link in /home/ridersli/public_html/shop/classes/db/DbPDO.php on line 134 If we disable LiteSpeed module or change the setting to be "No - everyone shares the same view" the POS link loads and works fine with no error. If have contacted RockPos support but they are saying it's an issue with the LiteSpeed module and their tech team won't help any further. Has anyone experienced this or can provide any support as to how to fix so our POS will load under two separate cache views? Wondering if creating an ESI Block for the RockPos module would solve the problem however, I'm unsure how to set that up. We need the LiteSpeed module to be set as "Two Views" otherwise front end menu and user account access does not work correctly due to pages being cached with logged-out states. Thanks in advance for you insights and help on this.
-
Bonjour à tous, Hi everyone, Depuis ce matin, j'essaye de me connecter à mon back-office et 2 messages d'erreurs s'affichent (ci-dessous un screenshot de la page d'erreur): -Warning à la ligne 147 du fichier /homepages/35/d732247251/htdocs/classes/db/DbPDO.php [2] PDO::query(): MySQL server has gone away -Warning à la ligne 147 du fichier /homepages/35/d732247251/htdocs/classes/db/DbPDO.php [2] PDO::query(): Error reading result set's header Je suis allé dans le fichier: "DbPDO.php" dans "classes/db/DbPDO.php" et j'ai à la ligne 147: return $this->link->query($sql); Je ne sais pas ce que je dois corriger/modifier, auriez-vous déjà rencontré ce type de problème? Rem: je suis chez l'hébergeur "1and1". Merci à la communauté pour votre aide! BSP75
-
I've been trying to use the version 1.6.0.13 of prestashop, everything was going ok, however when I tryied to index the products, I got the error 500 three times and the prestashop indexed about 480 of 2700 products, since then when a tried to add missing products do the index, I receive the blank screen of death. So, I enabled the debug mode and discovered that the error is: Fatal error: Out of memory (allocated 23592960) (tried to allocate 82 bytes) in /home/somedir/public_html/classes/db/DbPDO.php on line 119 I upgraded the version of php from 5.2 to 5.5, since then I can index about 550 products, but error still persist. My web host allow me to allocate 256mb of RAM, but the error described above, is triggered when the memory is about 22,5mb. When I was using the version 1.6.0.9 of prestashop everything was ok... Any idea ? Thanks in advance. Reghyz.
- 29 replies
-
- out of memory
- blank screen
- (and 8 more)
-
Bonjour, Au cours d'une tentative de mise à jour manuelle de Prestashop 1.3.1.1 vers 1.6.0.5, je rencontre une page blanche, qui après activation de l'affichage des erreurs, s'avère provenir de l'erreur suivante : Quelqu'un a-t-il une idée ? Pour info, je ne rencontre pas cette erreur si je lance une mise à jour vers la version 1.5.6.2. Merci !