WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin Ajax Comments] Fatal Error during Activation (4 posts)

  1. xsreality
    Member
    Posted 6 years 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/

  2. lucasrcosta
    Member
    Posted 6 years 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.

  3. DjZoNe
    Member
    Posted 6 years ago #

    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 :)

  4. mikesmullin
    Member
    Posted 6 years 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! :)

Topic Closed

This topic has been closed to new replies.

About this Topic