xsreality
Member
Posted 1 year ago #
When I am trying to activate the plugin, I am encountering this fatal error:
Parse error: syntax error, unexpected $end in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\blog\wp-content\plugins\ajax-comments\ajax-comments.php on line 237
I have tried it on a clean wordpress installation and also with the default theme, but the problem persists.
Any ideas?
http://wordpress.org/extend/plugins/ajax-comments/
lucasrcosta
Member
Posted 1 year ago #
On ajax-comments.php on the last lines (227 and 234 for me) there are some php statements starting with '<?' and it should be '<?php'.
I changed it and it worked for me.
I think it has to do with the php version.
It's a php.ini setting, called, short_tags.
This braindead code will be removed in the next version. That will be released as an X-mas Present :)
mikesmullin
Member
Posted 1 year ago #
@djzone: hey buddy, thanks for all your hard work on this.
FYI: I recently updated AJAX Comments to work with the latest version of WordPress, as well as WordPress MU. Just in time for Christmas! :)
AJAX Comments WordPress Plugin
http://wordpress.smullindesign.com/plugins/ajax-comments
Even the short_tags bug has also been fixed.
I welcome your feedback on this. If you have any suggestions for improvement, I would also be open to that.
Happy holidays! :)