Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-25 15:32:34

johnnie
Member
Registered: 2007-03-10
Posts: 58

Allow commenting without prior previewing?

The submit-button is disabled until the user clicked preview. I want the submit-button to be clickable regardless of the preview-status. How do I circumvent this condition? Thanks.

Offline

#2 2007-07-25 15:43:05

johnnie
Member
Registered: 2007-03-10
Posts: 58

Re: Allow commenting without prior previewing?

Never mind, I learned it’s an important mechanism in spam prevention. I do have another question though, since previewing breaks my site with the following warning:

tag_error <txp:comments_form/> -> Textpattern Warning: Duplicate entry ‘cd27de9f1cc1b8463667f21ffe07490e’ for key 1
insert into txp_discuss_nonce set issue_time=now(), nonce=‘cd27de9f1cc1b8463667f21ffe07490e’, secret=‘4fadb6b0399c653ca1dcbe431ffba0e4’ on line 84

How do I fix this?

Offline

#3 2007-07-25 18:21:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Allow commenting without prior previewing?

Looks like auto-increment is missing on the first column of the txp_discuss_nonce table, you can fix that using phpmyadmin.

Offline

Board footer

Powered by FluxBB