J
Asked
hello please advise , when i click empty cart, its only loading please advice
my website is globalhayatllc.com
my website is globalhayatllc.com
Attachments
- MSAnsweredHello,
Please try save the shop settings again. If still same then please check the server error logs and let me know the error details so that I can suggest solution.
If you are not sure about server error logs, you can try enabling the app logs by setting the `log_threshold` to 1 in the `app/config/config.php` and then try to perform action again to produce errors. Lastly check the latest log file in the `app/logs/` for error details.
Thank you - JAnsweredthis is what i got after perform empty cartAttachments
- JAnsweredthere is issues in script while my driver checked and he told there is issues in javascript and other issues and also there is also issue of add to cart from front end .so i am attachinf the screen shot kindly resolve it asap or told the way to resolve this
- MSAnsweredHello,
I know it's caused by javascript code when the result was not expected from server. I request to save the shop settings and check server error logs and let me know the error details. I don't need screenshots as you already shared the URL.
Thank you - JAnsweredi told you that i already save the shop setting and error log screen shot already send you i dont understand what you want more well i am sending error here
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2024-11-04 06:25:05 --> Severity: Warning --> Undefined array key
"HTTP_REFERER" /home/globalhayatllc/public_html/app/controllers/Main.php 55
ERROR - 2024-11-04 06:25:15 --> Could not find the language line "subcategory"
this is what i got in error log - MSAnsweredHello,
The issue is that the request to add item to cart is successful but the response is empty. SMA returns json respond but I don't know why your installation is empty response. It's shouldn't be due to the warning.
What's your php version? SMA required php7.4 or php8.0
If you want me to check, please let me know the your installation login details and server (file & database) access details.
_You can add private reply by enabling the `PRIVATE for Staff only` at top right of reply section._
Thank you - MSAnsweredHello,
You have enabled SSL but the `base_url` in the `app/config/config.php` was set to `http://` I changed it to `https://` The ajax requests are working now. Please check.
Thank you - JAnsweredthankyou for your kind help
- Login to Reply