If this is your first visit, check our documentation. To post, register or login.
Forums / Totally Off Topic / Support Site Issues & Questions / "error":"Missingthe ajax controller"

"error":"Missingthe ajax controller"

Started by wally on 4 Nov 2019, 9:25 PM · Views: 62

Results 1 to 4 of 4
4 Nov 2019, 9:25 PM
#1
wally avatar

wally

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

"error":"Missingthe ajax controller"

Google has notified us about this error: When clicking on [https://www.allclaveparts.com/index.php?main_page=controller, it opens a new web page that simply states: {"error":"Missingthe ajax controller"}

I have had both my hosting company and the person responsible for taking care of the site. Neither can figure out what is going on. We only noticed this when Google pointed out the error today

Does anybody have any idea what is going on and what can be done to fix it?

I am using version 1.5.6a

Thank you

4 Nov 2019, 9:39 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: "error":"Missingthe ajax controller"

Where did your site's template come from? Was it purchased or "home-grown"?

That 'controller' page is not a built-in Zen Cart page.

5 Nov 2019, 12:42 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: "error":"Missingthe ajax controller"

Where did they get this link? Is it in your sitemap?

Is there a folder called includes/modules/pages/controller? You could start by removing that if you aren't sure what it does. (Make a backup before doing this of course.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

8 Nov 2019, 11:46 PM
#4
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,819
Plugin Contributions:
24

Re: "error":"Missingthe ajax controller"

This is part of Zucando's Real-Time plugin which you're obviously using on your site. You should probably contact Zucando and see if they can help you resolve this.

I believe you just need an if-else statement to see if the request is AJAX or not, and if not simply do a redirect to a 404.

My site - Pro ZC Help
My portfolio | My plugins