I'm getting this error on two Opencart platforms on the checkout page. Opencart is a great platform and I really love it, but have been battling with an error I can't seem to find a solution too. I am a novice at this and I really need some assistance. This error has been occurring for a long time now. Most of the time it shows up on the check out page when a registered user navigates to others pages and back to the checkout page . I used inspect on Google Chrome to view the error and got the following:
checkout:1 Uncaught (in promise) {message: 'A listener indicated an asynchronous response by r…age channel closed before a response was received'}message: "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received"[[Prototype]]: Object
Promise.then (async)
(anonymous) @ geolocation-spoofing.js:17
POST https://example.co.za/index.php?route=c ... dress/save 404 (Not Found) jquery-2.1.1.min.js:4
f.send(a.hasContent && a.data || null)
I checked the admin Panel and the error does not register there but in the Cpanel the error log is as follows.
[Sun Apr 02 01:12:57.787189 2023] [:error] [pid 2300385] [client 105.226.35.114:0] client denied by server configuration: /home/xxxxxxxxxx/public_html/index.php, referer: https://example.co.za/checkout
[Sun Apr 02 01:12:40.095135 2023] [autoindex:error] [pid 2308206] [client 105.226.35.114:0] AH01276: Cannot serve directory /home/xxxxxxx/public_html/image/: No matching DirectoryIndex (index.php,index.php8,index.php7,index.php5,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.jp,index.phtml,index.shtml,index.xhtml,index.html,index.htm,index.js) found, and server-generated directory index forbidden by Options directive, referer: https://example.co.za/
My hosting provider states that the fault is not on their side but on the Opencart platform.
I've looked everywhere and tried several fixes but to none worked. May you please help. I've attached images of the error on the check out page.
Attachments
error2.jpg (136.19 KiB) Viewed 14976 times
error1.jpg (131.02 KiB) Viewed 14976 times
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
viewtopic.php?p=855580
viewtopic.php?t=203029
View all extensions | Request custom work | Pricing | Contact Me
Attachments
Screenshot 2023-05-08 123740.jpg (124.5 KiB) Viewed 14055 times
error2.png (101.65 KiB) Viewed 14055 times
error2.jpg (116.04 KiB) Viewed 14055 times
View all extensions | Request custom work | Pricing | Contact Me
If you are using any caching extension try disabling it. If you are using any third party reverse proxy, such as Cloudflare, try disabling that.
[Wed May 10 07:46:47.092575 2023] [:error] [pid 3633453] [client 197.xxx.xxx.xx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://www.example.co.za/checkout
[Wed May 10 07:46:30.964502 2023] [:error] [pid 3633478] [client 197.xxx.xxx.xx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://www.example.co.za/checkout
[Tue May 09 21:49:29.479295 2023] [:error] [pid 3194738] [client 197.xxx.xxx.xxx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://www.example.co.za/checkout
[Tue May 09 08:38:55.891740 2023] [:error] [pid 2816787] [client 172.xx.xxxxxx:0] client denied by server configuration: /home/example/public_html/index.php
[Tue May 09 06:54:20.483457 2023] [:error] [pid 2754560] [client 197.xxx.xxx.xx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://www.example.co.za/checkout
[Mon May 08 12:35:42.639658 2023] [:error] [pid 2081837] [client 197.xxx.xxx.xx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://www.example.co.za/checkout
[Mon May 08 10:28:16.897037 2023] [:error] [pid 2007946] [client 172.xx.xx.xxx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://www.example.co.za/checkout
[Mon May 08 09:40:41.597853 2023] [:error] [pid 1994833] [client 197.xxx.xxx.xxx:0] client denied by server configuration: /home/example/public_html/index.php, referer: https://wwwexample.co.za/checkout
You probably need to go back to your host to ask them to look into is some more.

Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
from Terminal I had to change DOSPageCount from 4 to 30 ...
vi /etc/apache2/conf.d/300-mod_evasive.conf
DOSPageCount 30
oh yeah and dont forget to restart HTTP server (Apache) or the change will not take
Users browsing this forum: No registered users and 14 guests