Contactform no longer works

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Contactform no longer works

Post by Don Chambers »

I've been messing around with my .htaccess file trying to get google analytics and sitemap working, and both appear to be doing so.

However, it was just pointed out that my contact form no longer works. Is there anything in this htaccess file that would prevent that from happening?

Code: Select all

RewriteEngine On
RewriteBase /
RewriteRule ^google4e610ac711a08486.html google4e610ac711a08486.html [L]
RewriteRule ^((archives/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.html)/?) index.php?/$1 [NC,L,QSA]
RewriteRule ^(authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [NC,L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^comments/(.*) index.php?url=/comments/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
The contact form was previously accessible at http://www.optional-necessity.com/index ... tform.html
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Contactform no longer works

Post by garvinhicking »

Hi!

Why do you use the index.php?/... notation, if you're using mod_rewrite? Then you should directly use /pages/blabla.html instead...?!

Regards,
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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I was simply pointing out what USED to work. I have not changed anything, but /pages/contactform.html does not work either.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Do static pages etc. all still work? I see nothing in the rewrite rules that should be the cause of this, so it must've been something else that's changed...

Regards,
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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I didn't have any other static pages. I just tried to create one, and when I attempted to save it, I received a blank page. Seems like the entire site is slow, but that could be my ISP. Does the site seem generally slow to you?

I'm stumped.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, it's responsive here and does work...strange?

Regards,
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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

garvinhicking wrote:Hi!

Hm, it's responsive here and does work...strange?

Regards,
Garvin
Whoa... wait a minute... you saying you get the contact form? I had a reader post they could not, then I tested it... and it does not work for me either.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

No, i don't get the contact form! But your page pulls up in the usual responsive way.

But, your htaccess change should not be the reason why the contact form no longer works, because it still contains all the necessary rewrite rules...

Regards,
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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I temporarily renamed the .htaccess file and it did not make a difference. I tried renaming the contact form, and could not reach the new permalink either. I tried turning off re-writing and it did not make a difference either.

Is there any scenario that I could approach my hosting provider with?
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Note sure if it's hosting related. Try to go back the steps, which plugins did you install or remove?

Did you try a different template?

Regardes,
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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I disabled all plugins not distributed with the core s9y install, tried different template, everything I could think of. Still nothing.

Finally uninstalled the contact form plugin, overwrote the folder with a freshly downloaded version (note: no actual version change) and reinstalled it. This time it worked.

EDIT: Not resolved yet. The form displays, claims to mail, but no email is being sent. I went through this when I first installed this site 2 months ago. The contact form worked initially, then stopped sending email a few days later. I escalated it with my hosting provider and it began working again. They claim to have done nothing to get it operational, so I am not sure what to think.
=Don=
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Contactform emails seem to be coming through again. Still have no idea what the original source of the problem was! Perhaps I have been spending so many of "grandma's performance pennies" lately that grandma decided to bite back!! LOL!
=Don=
jonmurray
Regular
Posts: 11
Joined: Fri Feb 02, 2007 6:27 pm
Contact:

I'm also having a problem with the contactform plugin

Post by jonmurray »

My problem isn't with the form showing up (it shows up fine), it is with the form thinking that I haven't filled in any fields. I've tried in both firefox and IE, I also uninstalled (unchecked) and re-installed the plugin (although it didn't pull down a fresh copy from the repository).

Here is the message I get

Name, E-Mail and your message must not be an empty string.
Auto-moderation after X days

The site is http://www.ufcresultslive.com if you'd like to see it not working :-)

I am using one the "blue" version of the new bulletproof style. There is a link to the contact us form in the top tab/menu.

Any ideas? For now I've put a mangled version of my e-mail address on the form itself, but I'd like to get rid of that if possible (to avoid spam).

John
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I'm also having a problem with the contactform plugin

Post by garvinhicking »

Hi!

Check your spamblock plugin configuration! Seems there you entered field names that must be filled in, and those seem to not be used in your contactform (which also uses spamblockj plugin)

Regards,
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/
jonmurray
Regular
Posts: 11
Joined: Fri Feb 02, 2007 6:27 pm
Contact:

Re: I'm also having a problem with the contactform plugin

Post by jonmurray »

garvinhicking wrote:Hi!

Check your spamblock plugin configuration! Seems there you entered field names that must be filled in, and those seem to not be used in your contactform (which also uses spamblockj plugin)

Regards,
Garvin
I don't have any field names entered in the spam protector, but I do have "reject comments made via api's". I'll try removing that temporarily.

Now I get a different message

"An error occured while posting the message!"
Post Reply