Posts: 49
Threads: 13
Joined: Jul 2010
What am I doing wrong? Just testing out a simple message.
Posts: 2,894
Threads: 59
Joined: Jun 2010
What did you enter for the URL when creating the page in Manage -> Pages?
It should be:
http://www.drinkuchill.com/feedback.php
Have
you completed
the interview?
Posts: 2,894
Threads: 59
Joined: Jun 2010
James, the problem with your site is that your page can be accessed by these two URLs:
http://www.societygonewild.com/emptypitchers/
http://www.societygonewild.com/emptypitchers/index.php
Commentics checks whether the URL the form is submitted from matches with the URL you entered when creating the page.
If it doesn't match then you will get banned for incorrect referrer.
There are two solutions:
1. Use .htaccess to make sure your URL is always the same (good for SEO):
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
2. Remove the referrer section of code starting at line 57 in the following file:
comments/includes/app/processor.php
In Commentics v1.1 you will be able to turn the referrer check on and off in the admin panel.
Have
you completed
the interview?
Posts: 49
Threads: 13
Joined: Jul 2010
Very cool. Thanks for the quick fix Steven. It's working. Went with the second route. Not worried about SEO for this site but for others I'll try the other... unless you want me to try it now so you know for sure.
Posts: 2,894
Threads: 59
Joined: Jun 2010
Glad it's working (it's okay that you didn't try the first solution).
Have
you completed
the interview?