Closed yiedpozi closed 1 year ago
Hello. Make sure the URL you visit and Store URl are same in your settings https://abantecart.atlassian.net/wiki/spaces/AD/pages/5832828/Store+URLs+SSL
Store URL set in the system settings:
Cart page that I visited: http://localhost/abantecart/index.php?rt=checkout/cart
Please try to set both the Store url and Secure url and enable HTTPS for both. For localhost accept browser warning to visit site.
Still returns same error message on https://localhost/abantecart/index.php?rt=checkout/cart after updating both Store URL and Secure URL and enable HTTPS for both settings. Also tried on incognito, same results.
_Could not load model extension/default_flat_rateshipping @yiedpozi is this file presents on hard drive? i mean public_html/extensions/default_flat_rate_shipping/storefront/model/extension/default_flat_rate_shipping.php
Yup, the file exists and accessible.
@yiedpozi the file permissions can be incorrect and your local server cannot access it
Nope, file permissions is okay.
The issue can be OS-related (if you have Windows) you can try to use a docker for localhost https://hub.docker.com/r/abantecart/abantecart https://abantecart.atlassian.net/wiki/spaces/AD/pages/1118339077/Docker+Installation
Issue solved after using Docker on my OS (Windows), as recommended by @BasaraABC. Thanks ya.
Describe the bug
After performing a fresh installation of Abantecart version 1.3.3, I tried to add a product on the storefront. However, upon being redirected to the cart page, I received the following error message:
undefined
Upon checking the Network tab in my Chrome browser, got 400 HTTP error on
index.php?rt=r/checkout/cart/change_zone_get_shipping_methods
. The response is as follows:This is the error log message from the
system/logs/error.txt
file.I also tried to disable the flat rate shipping and use another shipping method, but I encountered the same error.
Steps to Reproduce
Expected Behaviour
After adding a product to the cart, we should be able to see the item and select a shipping method on the cart page.
Environment