Hi,
A 1.02 to 1.03 upgrade issue perhaps rather than ajaxsearch specific.
I’m getting this error -
AjaxSearch version obsolete. Empty your browser cache and check the version of AjaxSearch.js file
looking at the source I’m at 1.8.5 but the Manager still thinks I’ve got 1.8.4.
This forum post -
http://modxcms.com/forums/index.php/topic,41411.0.html suggests that the cache needs to be emptied. Tried it on Safari/FF but no improvement. And that perhaps the Route cache needs to be emptied - no idea how to do that.
So I just manually updated the Snippet in the Manager using the code from assets\snippets\ajaxSearch\snippet.ajaxSearch.txt. The problem has gone away. Perhaps my earlier multiple attempts at Upgrading created some confusion (I had a few problems with STRICT_TRANS_TABLES) but this seems unlikely.
Oddly this same error cropped up in this video
http://codingpad.maryspad.com/2009/09/20/how-to-update-a-website-from-modx-0-9-6-3-to-modx-1-0-0/ at 15:30. Yet Install indicated Ajaxsearch had been upgraded successfully 14:00. This suggests the Install process may not really indicate if a Snippet has been fully Upgraded.
I assume this is only going to affect Manager users if it is a cache problem? But in my case it looks like the Snippet Element wasn’t updated with the new updated code.
Any views?
Parthian