Empty Cart Not Working Always Loading Not Working

0

hello please advise , when i click empty cart, its only loading please advice
my website is globalhayatllc.com

Question Resolved For: Stock Manager Advance with All Modules 0 Votes 9 Answers 79 Views
Asked by junaid 2 weeks ago

0

Answered by Mian Saleem 2 weeks ago

Hello,

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

0

Answered by junaid 2 weeks ago

this is what i got after perform empty cart

0

Answered by junaid 2 weeks ago

there 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

0

Answered by Mian Saleem 2 weeks ago

Hello,

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

0

Answered by junaid 2 weeks ago

i 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

0

Answered by Mian Saleem 1 week ago

Hello,

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

0

Answered by Mian Saleem 1 week ago

Hello,

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

0

Answered by junaid 1 week ago

thankyou for your kind help

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.