Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Cannot Generate Index
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 4 years, 8 months ago.
- October 1, 2018 at 5:51 pm #19380
Every time I try to create an index I get:
Something went wrong. Here is the error message returned:
Code: Not Found
I turned on debugging and checked my error logs but there was no information. I reverted to a stock theme for testing and had the same issue.October 2, 2018 at 11:34 am #19389
Thank you for the details, it helps me a lot.
I believe this is going to be a server side issue, most likely something to do with a firewall/NAT service. I have tried to debug the code step-by step to see why the request returns a 404 page, instead of the ajax handler, but it turns out, that the code never even reaches the admin-ajax.php file, which is the WordPress ajax handler. 404 error is very weird in this case, as in case of issues the server should return an error 500, not 404. 404 indicates that the file is not found, or that the request never even reaches the server.
I also noticed, that this only happens if a POST variable exceeds a certain size (or contains a certain string?), I am not sure though – as after 10-15 page refreshes I am getting a connection timeout error. I had to re-set my router for 5 times now, to get a new IP to access the site, so I am almost certain, that the server firewall might be tempering with the requests, and does not pass them to the ajax handler on certain conditions – and it also blocks access after a few pageviews.
I suggest temporarily turning off the firewall, and also any traffic filtering service, as it is blocking many other requests as well. I have seen images, and some scripts on the front-end also reporting a 404 error, although those can be missing as well, I cannot tell.
Let me know!Best,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.