First, thanks for the great software and for this convenient and well-designed forum system. My issue is probably stupid simple, but I'm at wit's end so here goes: new comments can't be posted on my s9y 1.4.1 install at http://www.eikimartinson.com . Attempting to post a comment fails completely silently -- the page reloads but nothing at all happens.
The template is one of my own making (not quite done with it yet), but I know that's not the problem as I've tried it with the default template with the same results.
I've tried turning the spamblock plugin off, but that had no effect. Interestingly, with or without the plugin the captcha still appears (it also still appears if I keep the spamblock plugin but disable captchas) -- this behavior may be the result of laziness in my template, though.
There is nothing in my php error or warning logs; I have error reporting turned to the highest (most verbose) setting for php.
It's possible this is related to a not-quite entirely upgraded database -- I have the same database on a local machine running s9y 1.3.1, and THAT setup can accept comments. Are there any changes to the schema that need to get made?
Any ideas? I appreciate any help you can give me!
Comment Posting Fails Silently
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Comment Posting Fails Silently
Hi!
That's a quite nice template you've got there!
I just checked your site, and what came to my attention was that the form URL was:
however, to get URL rewriting to work properly, it should actually be:
Can you check your s9y configuration if you've got the "indexFile" option maybe set to an empty string? If so, insert "index.php" there...
HTH,
Garvin
That's a quite nice template you've got there!
I just checked your site, and what came to my attention was that the form URL was:
Code: Select all
http://www.eikimartinson.com/?url=archives/52-Cast-Iron-Tilapia.html#feedbackCode: Select all
http://www.eikimartinson.com/index.php?url=archives/52-Cast-Iron-Tilapia.html#feedbackHTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Comment Posting Fails Silently
Hi Garvin!
Thanks for your speedy response and for your kind words. I checked indexFile, it is set to 'index.php' -- but now that I think of it I do have some custom (non-serendipity) stuff in my .htaccess; maybe that is fouling things up here. My next step will be to look into that. Thanks again!
--Eiki
Thanks for your speedy response and for your kind words. I checked indexFile, it is set to 'index.php' -- but now that I think of it I do have some custom (non-serendipity) stuff in my .htaccess; maybe that is fouling things up here. My next step will be to look into that. Thanks again!
--Eiki
Re: Comment Posting Fails Silently
Indeed, .htaccess did contain the following misguided attempt at SEO:
This was intended to prevent search engines indexing http://www.eikimartinson.com and http://www.eikimartinson.com/index.php separately. I commented these lines out, restarted apache, and sure enough, commenting works. PHP output did correctly contain index.php (thanks for getting me on the right track with your last comment) but the rewrite rule was getting in the way.
Thanks again!
Code: Select all
RewriteCond %{THE_REQUEST} (index.php) [NC]
RewriteRule ^(.*)index.php$ http://www.eikimartinson.com/$1 [R=301]
Thanks again!