Forums / Developer / ezXajax issue
Hakim Bouras
Thursday 10 April 2008 7:51:44 am
Hi,
I created a small extension very similar to the hello_world example (with a one xajax function). Everything works fine in my development environment.
I tried to publish my new extension on my production server. I updated my extension list in the admin interface (and even regenerate the autoload - altough I am not sure it is necessary in this case).
When my template use the xajax call, I got the following error in my browser: "xajax_getResearchersByInstitute is not defined" .
Looking closer at the source of my page I find out that in the list of declaration on xajax function, the function that I added (with my extension) does not appear:
<script type='text/javascript' charset='UTF-8'> /* <![CDATA[ */ xajax_viewfull = function() { return xajax.request( { xjxfun: 'viewfull' }, { parameters: arguments } ); }; /* ]]> */ </script>
I verify that I have my file xajax.ini file referencing my function...
Any idea about how to troubleshoot this problem ?
Thanks,Hakim
Kristof Coomans
Thursday 10 April 2008 10:15:42 am
Hi Hakim
Did you clear the template caches?
By the way, the ezxajax extension was moved to eZ Projects: http://projects.ez.no/ezxajax. It's better to use the dedicated forums there than the ones here. Thanks!
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org