Question: Empty Cart Not Working Always Loading Not Working

Empty Cart Not Working Always Loading Not Working

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

J

junaid

Asked

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

  • MS

    Mian Saleem

    Answered

    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

  • J

    junaid

    Answered

    this is what i got after perform empty cart

  • J

    junaid

    Answered

    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

  • MS

    Mian Saleem

    Answered

    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

  • J

    junaid

    Answered

    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

    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

  • MS

    Mian Saleem

    Answered

    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

  • J

    junaid

    Answered

    Mian Saleem domain which is globalhayatllc.com .well also check plz from the front end i cant add the product in the cart from first page if i want to add product then i click on product and add it from product page also kindly resole the issue and empty cart and delete cart product issue also

    cpanel.121.us user: globalhayatllc pass: Sol@123admin

  • MS

    Mian Saleem

    Answered

    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

  • J

    junaid

    Answered

    thankyou for your kind help

  • Login to Reply