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.

Can’t post comments

March 09, 2011 8:33pm

Subscribe [3]
  • #1 / Mar 09, 2011 8:33pm

    mklaman

    23 posts

    Not even sure where to begin! I just did a clean install of 2.1.3 build 20101220 and comments are not working.

    Submit takes you back to the home page (main url) and nothing is ever posted. I even tried using the bare bones tags to make sure i didn’t have any errors. still nothing.

    Where do i begin?! Thanks!

    Moved to CodeShare Corner by Moderator

  • #2 / Mar 10, 2011 9:05am

    Sue Crocker

    26054 posts

    Hi, mklaman.

    Let’s get a bit more information from you:

    Can you tell us which version/build of EE2.x you’re using? See EEWiki:// HowTo Determine My EE Version

    Is this a local install or installed on a professionally managed server?

    Is the form showing up as you expect, but the content just doesn’t get saved? Are you doing any sort of comment moderation? Is it you adding the comment, or a user of the site?

  • #3 / Mar 10, 2011 12:31pm

    mklaman

    23 posts

    sue, the version and build are in the original post. it is on a media temple (gs) server. form does display but the comment just never saves. i tried w/ both comment moderation on and off (currently off). and i am a super user trying to post. i tried w/ the main admin and a second super user.

    btw, i tried uninstalling and re-installing the comment module to no avail.

    thanks,
    klaman

  • #4 / Mar 11, 2011 4:13am

    John Henry Donovan

    12339 posts

    klaman,

    Can your share your template code with us please?
    Are you nesting any comment form tags within your channel entries tag?
    Are you using a htaccess to remove index.php? If you do try disabling it and reinstating index.php in your General Configuration

    Also try adding the channel= and url_title=”{segment_3}” parameters to your comment for, to see if that makes a difference.

    Using {Segment_3} here presumes you have a typical single entry template

    http://www.mydomain.com/index.php/template_group/template/url_title

  • #5 / Mar 11, 2011 8:52am

    mklaman

    23 posts

    john,

    looks as if the remove index.php method i am using is causing problems…
    i am using the code below taken from here:
    http://kevinthompson.info/blog/completely-remove-index-php-from-expressionengine-urls/

    any ideas what is causing the problem?
    thanks!

    <IfModule mod_rewrite.c>
    
    # Enable Rewrite Engine
    # ------------------------------
    RewriteEngine On
    RewriteBase /
    
    # Redirect index.php Requests
    # ------------------------------
    RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
    RewriteCond %{THE_REQUEST} ^GET
    RewriteRule ^index\.php(.+) $1 [R=301,L]
    
    # Standard ExpressionEngine Rewrite
    # ------------------------------
    RewriteCond $1 !\.(css|js|gif|jpe?g|png) [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [L]
    
    </IfModule>
  • #6 / Mar 11, 2011 3:55pm

    Sue Crocker

    26054 posts

    Hi, mklaman. Unfortunately we can’t assist in troubleshooting .htaccess issues when it comes to removing index.php. Moving this to the CodeShare Corner for additional community support.

  • #7 / Mar 11, 2011 7:00pm

    mklaman

    23 posts

    just wanted to make sure i cleared this up.

    it was not kevin thompson’s .htaccess that was the problem. i simply wasn’t manually adding the url_title=”{segment_3}”

    fixed!

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

ExpressionEngine News!

#eecms, #events, #releases