jmeca 3 Posted September 22, 2019 Installed the carriercompare module and is always looking for information does not show results Any help, please? https://luzmayor.com/carrito Share this post Link to post Share on other sites
Factor 46 Posted September 22, 2019 More info needed. What carriers do you have set up? Do you get shipping data like prices in checkout? I can find a lot of data on how it is used. Did you use it in the old ps 1.6? I looked here on GitHub I don't see any issues logged against the module. https://github.com/thirtybees/carriercompare even the old PS module has on one issue. https://github.com/PrestaShop/carriercompare/ Share this post Link to post Share on other sites
jmeca 3 Posted September 23, 2019 16 hours ago, Factor said: More info needed. What carriers do you have set up? Do you get shipping data like prices in checkout? I can find a lot of data on how it is used. Did you use it in the old ps 1.6? I looked here on GitHub I don't see any issues logged against the module. https://github.com/thirtybees/carriercompare even the old PS module has on one issue. https://github.com/PrestaShop/carriercompare/ Hi. Thanks for your help. If I have the transporters already created. I have downloaded it from here https://github.com/thirtybees/carriercompare In the shopping cart do not appear shipping costs as shown in the image Share this post Link to post Share on other sites
jmeca 3 Posted September 23, 2019 42 minutes ago, jmeca said: Hi. Thanks for your help. If I have the transporters already created. I have downloaded it from here https://github.com/thirtybees/carriercompare In the shopping cart do not appear shipping costs as shown in the image I have multishop too Share this post Link to post Share on other sites
Factor 46 Posted September 23, 2019 (edited) You have all the ranges setup? In the carrier section? You also put in a address and post code in checkout? Edited September 23, 2019 by Factor Share this post Link to post Share on other sites
lesley 722 Posted September 23, 2019 Enable error reporting, the module is spitting out an error it looks like. Share this post Link to post Share on other sites
dynambee 212 Posted September 24, 2019 14 hours ago, jmeca said: In the shopping cart do not appear shipping costs as shown in the image What happens further through the checkout process, on step #4 where carriers are usually chosen? Do all the different carriers show up there properly? Can you post a screenshot of that? Share this post Link to post Share on other sites
jmeca 3 Posted September 24, 2019 7 hours ago, Factor said: You have all the ranges setup? In the carrier section? You also put in a address and post code in checkout? Yes of course Share this post Link to post Share on other sites
jmeca 3 Posted September 24, 2019 9 hours ago, dynambee said: What happens further through the checkout process, on step #4 where carriers are usually chosen? Do all the different carriers show up there properly? Can you post a screenshot of that? I think it's ok Share this post Link to post Share on other sites
dynambee 212 Posted September 24, 2019 1 hour ago, jmeca said: I think it's ok Looks like the carriers themselves are set up then so for some reason the module isn't working correctly. The next step is what @lesley said, enable error reporting so it is possible to see what is causing the module to fail. Share this post Link to post Share on other sites
jmeca 3 Posted September 24, 2019 Well, it's weird, because it doesn't show any errors. Share this post Link to post Share on other sites
lesley 722 Posted September 26, 2019 Its showing an error in the console, I think the module will need some changes to be compatible with 1.1.x Share this post Link to post Share on other sites
jmeca 3 Posted October 25, 2019 Hello: can anyone help whis this error in the module: v_201_81f15105651dacb0970cd4ec1ed27695.js:4 POST https://ventaregalo.com/modules/carriercompare/ajax.php?rand=1571986317760 500 (Internal Server Error) Please Share this post Link to post Share on other sites
datakick 1,267 Posted October 25, 2019 Nobody. You have to check your server logs and find actual error message. Then we can help you Share this post Link to post Share on other sites
jmeca 3 Posted October 25, 2019 (edited) This is i can see in thirtybees logs: *ERROR* 2019/10/25 - 08:50:49: Property Address->postcode is empty at line 1036 in file classes/ObjectModel.php *ERROR* 2019/10/25 - 08:51:03: Property Address->phone_mobile is empty at line 1036 in file classes/ObjectModel.php *ERROR* 2019/10/25 - 08:52:00: Property Address->postcode is empty at line 1036 in file classes/ObjectModel.php *ERROR* 2019/10/25 - 08:52:13: Property Address->phone_mobile is empty at line 1036 in file classes/ObjectModel.php and server logs: "POST /modules/carriercompare/ajax.php?rand=1571995250129 HTTP/1.1" 500 27623 "https://ventaregalo.com/carrito" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0" I have php 7.3 centos 7 in server Edited October 25, 2019 by jmeca Share this post Link to post Share on other sites
datakick 1,267 Posted October 25, 2019 I don't think these are related to your issue Share this post Link to post Share on other sites
datakick 1,267 Posted October 25, 2019 You can do this: enable debug mode open javascript console click to Networks tab Find 500 post request and click on it click on Preview tell us what the page says Share this post Link to post Share on other sites
jmeca 3 Posted October 25, 2019 Only white screen can i see Share this post Link to post Share on other sites
datakick 1,267 Posted October 25, 2019 Strange, I can see the error code clearly: Anyway, the problem is this: The module tries to create temp/dummy address in order to calculate shipping cost to that address. Because ajax request didn't provided any zipcode: module ends up trying to create address with empty postcode, resulting in this error code. The best way to fix this is to modify php code and properly handle the situation when no postcode is provided. Alternatively, you can modify javascript code and pass some dummy zipcode, when none was entered yet. Share this post Link to post Share on other sites
jmeca 3 Posted October 25, 2019 Thank you very much for your help and interest in helping me. I'm quite scarce in programming and I don't know how to do what you propose. If you think you can fix it, we can fix an amount to solve it, if your time allows? Share this post Link to post Share on other sites
datakick 1,267 Posted October 25, 2019 I offer few paid support packages. The minimum is 2-hour support. To fix issue like this would take just a couple of minutes (~20mins). You could use the rest of the time on other issues/bugs, of course. It's valid for 1 year Share this post Link to post Share on other sites
jmeca 3 Posted October 27, 2019 On 10/25/2019 at 4:44 PM, datakick said: I offer few paid support packages. The minimum is 2-hour support. To fix issue like this would take just a couple of minutes (~20mins). You could use the rest of the time on other issues/bugs, of course. It's valid for 1 year I prefer to buy your One page chekout module, think is nice, only two questions: is ready for multishops? Have it spanish translations? Thank you very much for your help Share this post Link to post Share on other sites