Wednesday 02 April 2008 9:16:00 am
Hi there, I'm working on a website which uses xajax to manage dynamic comments. In production it works fine, but then I moved it to development and it won't load the headers.
The website was a 3.8.6, which I just upgraded to 3.9.4, but the problem remains. I updated xajax from 1.0 to 1.1, and I copied the standard xajax.ini in /settings (the root one). Then I have an extension called ajax_comments which is supposed to post the new comments with AJAX, and in the settings folder of this extension there's another xajax.ini.append.php which declares the functions. This is its content:
<?php /* #?ini charset="iso-8859-1"?
[ExtensionSettings]
ExtensionDirectories[]=ajax_comments
AvailableFunctions[refresh_comments]=refreshComments
AvailableFunctions[add_comment]=addComment
*/ ?>
I don't get many clues from the debug output:
Warning: eZTemplate Apr 02 2008 16:59:48
Operator 'xajax_javascript' is not registered
Warning: eZTemplate Apr 02 2008 16:59:48
Operator 'ezstr_replace' is not registered
Warning: eZTemplate Apr 02 2008 16:59:48
Operator 'ezstr_replace' is not registered
Warning: eZTemplate Apr 02 2008 16:59:48
Operator 'ezstr_replace' is not registered
Warning: eZTemplate Apr 02 2008 16:59:48
Operator 'ezstr_replace' is not registered
As you can see also ezstr_replace is not loading properly for some reason. The rest of extensions is working fine instead. This is site.ini.append.php in /settings/override:
[ExtensionSettings]
ActiveExtensions[]
ActiveExtensions[]=includer
ActiveExtensions[]=ezdhtml
ActiveExtensions[]=strip_tags
ActiveExtensions[]=str_replace
ActiveExtensions[]=ajax_comments
ActiveExtensions[]=xajax
ActiveExtensions[]=simpleselection
ActiveExtensions[]=formsonfly
I don't have any clue about what to look at.... any suggestions? :(
Thanks in advance Max
|