ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Comments not posting in EE 2.2.0

July 19, 2011 2:39pm

Subscribe [3]
  • #1 / Jul 19, 2011 2:39pm

    adro

    110 posts

    Going crazy over here trying to figure out why comments won’t post and I’m starting to think it must be something to do with EE 2.2.0 (I have build 20110622 installed)

    Here is my code, everything looks fine and I even copy/pasted the comment form submission tag right from the EE docs and that won’t work either.

    
    									
  • #2 / Jul 20, 2011 2:31pm

    Brent Cartier

    87 posts

    Are you using HTML5 boilerplate by any chance? I had the same issue and removing this code from the standard htaccess in the boilerplate fixed it:

    <IfModule mod_rewrite.c>
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/|#(.*))$
      RewriteRule ^(.*)$ /$1/ [R=301,L]
    </IfModule>

    Hope that helps!

  • #3 / Jul 20, 2011 2:51pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Brent.

    adro - when you say don’t post, what do you mean?

  • #4 / Jul 20, 2011 9:34pm

    adro

    110 posts

    Brent, as a matter of fact, I AM using html5 boilerplate, but I’m not using the .htaccess file that comes with it. But you did point me to the exact part of my .htaccess file that was causing the problem. It’s basically the same part…If I remove this:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
    RewriteRule ^(.*)$ $1/ [L,R=301]

    ..then comments start working again.

    Sue, I think the above solves the problem, becuase I don’t think I even need those lines in my .htaccess files. When I said not posting, I meant that the the page just reloads on submit and no comment gets added to the entry at all (in the CP or on the frontend).

    Anyway, I think it’s all good, thanks so much for your help guys!

  • #5 / Jul 20, 2011 9:43pm

    Sue Crocker

    26054 posts

    Cool, andro! Glad things are working for you again. If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases