Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Incompatible carrier module Geispoint (for PS 1.6)

Featured Replies

This module is for choosing a delivery point of the Geispoint carrier when making an order. (Downloaded from official website: http://www.geispoint.cz/)

01520066117244geispoint_CZ.zip

It works with Prestashop 1.6 (I have tested it) without problems but doesnt work with TB.

When I choose Geis Point carrier and in the end confirm an order I get this: [ThirtyBeesDatabaseException] Unknown column 'o.idGP' in 'field list' SELECT o.idGP FROM tb_geispoint_order o WHERE o.id_order = 98 LIMIT 1 at line 808 in file classes/db/Db.php

I checked the table tb_geispoint_order for column idGP and it really doesnt exist but id_gp does.

I wonder why its not a problem for PS.

So I had made changes (in /modules/geispoint/geispoint.php): 1) // if(!($res = Db::getInstance()->getRow('SELECT o.idGP FROM '._DB_PREFIX_.'geispoint_order o WHERE o.idorder = '. ((int) $params['idorder'])))) { if(!($res = Db::getInstance()->getRow('SELECT o.idgp FROM '._DB_PREFIX_.'geispoint_order o WHERE o.idorder = '. ((int) $params['idorder'])))) { 2) // if(!($res = Db::getInstance()->getRow('SELECT o.idGP FROM '._DB_PREFIX_.'geispoint_order o WHERE o.idorder = '. ((int) $params['order']->id)))) { if(!($res = Db::getInstance()->getRow('SELECT o.idgp FROM '._DB_PREFIX_.'geispoint_order o WHERE o.idorder = '. ((int) $params['order']->id)))) { 3) // if(!($res = Db::getInstance()->getRow('SELECT o.idGP FROM '._DB_PREFIX_.'geispoint_order o WHERE o.idorder = '. ((int) $params['objOrder']->id)))) { if(!($res = Db::getInstance()->getRow('SELECT o.idgp FROM '._DB_PREFIX_.'geispoint_order o WHERE o.id_order = '. ((int) $params['objOrder']->id)))) {

When I confirmed an order I got this:

Notice: Undefined index: idGP in /home/www/eshop/modules/geispoint/geispoint.php on line 802

Warning: Missing argument 2 for GeisPointSoapClient::searchGP(), called in /home/www/eshop/modules/geispoint/webService/GeisPointWebService.php on line 95 and defined in /home/www/eshop/modules/geispoint/webService/GeispointWS/GeisPointSoapClient.php on line 71

Warning: Missing argument 3 for GeisPointSoapClient::searchGP(), called in /home/www/eshop/modules/geispoint/webService/GeisPointWebService.php on line 95 and defined in /home/www/eshop/modules/geispoint/webService/GeispointWS/GeisPointSoapClient.php on line 71

Warning: Missing argument 4 for GeisPointSoapClient::searchGP(), called in /home/www/eshop/modules/geispoint/webService/GeisPointWebService.php on line 95 and defined in /home/www/eshop/modules/geispoint/webService/GeispointWS/GeisPointSoapClient.php on line 71

Notice: Undefined variable: postcode in /home/www/eshop/modules/geispoint/webService/GeispointWS/GeisPointSoapClient.php on line 74

Notice: Undefined variable: city in /home/www/eshop/modules/geispoint/webService/GeispointWS/GeisPointSoapClient.php on line 75

Notice: Undefined variable: idGP in /home/www/eshop/modules/geispoint/webService/GeispointWS/GeisPointSoapClient.php on line 76

Notice: Undefined index: idGP in /home/www/eshop/modules/geispoint/geispoint.php on line 804

I would appreciate any help or advice.

It looks like the module might not be creating all needed table, I would look through the module to find the mySQL and see what tables it creates and create the missing ones.

  • Author

Thanks for the suggestion - but it is working with PS 1.6 with no problems. So I am confused :-(

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.