hollabrunn2003 Posted November 24, 2014 Share Posted November 24, 2014 Hello I have a problem with a custom filter module installed on my prestashop. It was working fine with 1.5.4 but now with 1.6 when filter is applied it returns a 404 error. The website is www.multepiese.ro and the module is in top left. Normally when you select a car and apply that filter you should be able to see only categories and products associated with that car. The association is made in back office in the edit area of each product. What have i find untill now, beacause i am not a programmer is that this module in order to show result is using a custom php page with this code inside: <?php/*** This file will be removed in 1.6* You have to use index.php?controller=page_name instead of this page** @deprecated 1.5.0*/require(dirname(__FILE__).'/config/config.inc.php');if($_REQUEST['xsubmit']) Context::getContext()->cookie->filterbycarcookie = Tools::jsonEncode($_POST);else{ Context::getContext()->cookie->filterbycarcookie = null; Tools::redirect('index.php');}Tools::displayFileAsDeprecated();Tools::redirect('index.php?controller=filterbycarpage'.($_REQUEST ? '&'.http_build_query($_REQUEST, '', '&') : ''), __PS_BASE_URI__, null, 'HTTP/1.1 301 Moved Permanently'); So, and i also saw the comment left by the author in with it says that This file will be removed in 1.6 and to use page_name but i do not have any ideea about what is he talking. I mention that this module was made about 1-2 years ago and i tried to contact the developer but with no response from him. I have also the rest of the files that module uses. If anyone can guide me with this i will appreciate. Thank you very much. Link to comment Share on other sites More sharing options...
tuk66 Posted November 27, 2014 Share Posted November 27, 2014 This is a job for a developer. It is not so easy to adapt module for PrestaShop 1.6. Can help: http://doc.prestashop.com/display/PS16/Creating+a+first+module http://doc.prestashop.com/display/PS16/Developer+Guide Link to comment Share on other sites More sharing options...
Recommended Posts