Prestashop 1.5.6.X - Webservice error

Prestashop 1.5.6.X - Webservice error

This article explains how to fix the communication between Prestashop 1.5.6.X and Boostmyshop.

Prestashop 1.5.6.X has a bug regarding API call when we try to load a collection for a specific range (for example get all products with ID between 0 and 99)

In such case, you will see the following error in the feed executions : 




To fix it, follow these instructions : 
  1. Edit file classes/webservice/WebserviceRequest.php
  2. Search for function getSQLRetrieveFilter
  3. Replace : elseif (preg_match('/^([\d\.:-\s]+),([\d\.:-\s]+)$/', $matches[2], $matches3))
  4. With : elseif (preg_match('/^([\d\.:\-\s]+),([\d\.:\-\s]+)$/', $matches[2], $matches3))


    • Related Articles

    • Prestashop integration error : HTTP-Error 500 (internal server error)

      Overview  You encountered a problem when using the wizard to integrate your prestashop . This article explains what the problem is and how to fix it. How to fix This error comes from a compatibility issue between the PHP version on your server and ...
    • This call to Prestashop Web Services failed and returned an HTTP status of 401. That means: Unauthorized

      Overview You encountered a problem when using the wizard to integrate your prestashop and you get the answer shown in the screenshot below. This article explains what the problem is and how to fix it because it is possible that the issue comes from ...
    • Error banner : X order(s) can not be imported, click here to fix them

      Overview Sometimes myFulfillment isn't able to import an order for various different reason. When this happens, a red banner will appear on the of your screen to help you fix them.  This article will help you understand how to use it and how to ...
    • Prestashop - Relay point import

      Overview Relay point ID are imported from Prestashop to select the relay point during the shipping label generation.  Note : to import relay / pickup point from Prestashop, you need to install the Connect module for Prestashop In Connect, you can see ...
    • Prestashop - Boostmyshop additional module

      Connect provides a prestashop Module to improve the communication between Pretashop and Connect. Main features :  Show stock details in the Prestashop product view Show fulfilment progress in the Pretashop order view Support relay codes for specific ...