Zen Cart Logo
Forums / General Questions / An unknown response null: :text/html: :Forbidden was received..

An unknown response null: :text/html: :Forbidden was received..

Views: 756

Results 1 to 5 of 5
7 Nov 2018, 9:19 PM
#1
cscotty avatar

cscotty

New Zenner

Join Date:
Nov 2014
Location:
United Kingdom
Posts:
38
Plugin Contributions:
0

An unknown response null: :text/html: :Forbidden was received..

Error message when adding to cart:

"An unknown response null: :text/html: :Forbidden was received while processing an ajax call. The action you requested could not be completed."

Site bmamps.com/store
ZC 1.5.4
php 5.3.29
mySQL 5.6.33
Plugins: I'm really not sure. It was so long ago that I set t up I really can't remember. Sorry!

All was working well, no changes were made, at least on my side although the hosting service may have changed something without telling me, now I get this error.

I read this thread https://www.zen-cart.com/showthread.php?220804-An-unknown-response-null-text-html-FORBIDDEN-was-received and so checked my ajax.php was present and original

There is nothing in the debug log.

I'd really appreciate some help. Thanks.

7 Nov 2018, 10:51 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: An unknown response null: :text/html: :Forbidden was received..

What is being used to add items to the cart, is it just the standard add-to-cart button or is there some form of ajax add-to-cart installed? (sorry to ask about potential plugins which seem to not be recalled, but it can make a difference about what is initiating the error.)

7 Nov 2018, 11:12 PM
#3
cscotty avatar

cscotty

New Zenner

Join Date:
Nov 2014
Location:
United Kingdom
Posts:
38
Plugin Contributions:
0

Re: An unknown response null: :text/html: :Forbidden was received..

It's just the standard button. IIRC the only plugin was FedEx shipping.

It seems that any action to do with updating the cart throws the same error: add, update, show.

7 Nov 2018, 11:39 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: An unknown response null: :text/html: :Forbidden was received..

Given that actually trying to hit the ajax.php file is triggering the 403 (and 403 means "forbidden", which usually is akin to "permission denied"), it's likely that something's wrong with the permissions on that file, or your webserver's security is blocking access to that file.

http://www.bmamps.com/store/ajax.php?act=ajaxPayment&method=setNoscriptCookie

Like the page which appears says, your cPanel "errors" page may expose more information about "permission denied" causes.

Your hosting company can help if there's a mod_security rule that's getting tripped.

8 Nov 2018, 8:48 AM
#5
cscotty avatar

cscotty

New Zenner

Join Date:
Nov 2014
Location:
United Kingdom
Posts:
38
Plugin Contributions:
0

Re: An unknown response null: :text/html: :Forbidden was received..

Hi DrByte,

Thanks for the help. They had modded my .htacces file to stop all php files form executing.

Best,
CS