Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-01-06 13:33:40

loid
Member
Registered: 2005-03-09
Posts: 38

Re: Problem with comments after upgrade

Yes, please post it. I’m not much at coding but I have been using a customized form, which now isn’t working in 4.03

Offline

#14 2006-01-06 13:44:41

cubeshark
Member
From: USA
Registered: 2005-09-19
Posts: 19
Website

Re: Problem with comments after upgrade

Yes, the comment form is not working on my new install of 4.0.3 as well.

Hope someone can post the fix :)


Cheers,

Ritchie

Offline

#15 2006-01-06 14:28:24

cubeshark
Member
From: USA
Registered: 2005-09-19
Posts: 19
Website

Re: Problem with comments after upgrade

After reading all the other posts, and fiddling around, with a clean install I was able to fix the IIS issue by applying the following code at the beginning of “publish.php”:

if (!isset($_SERVER[‘REQUEST_URI’])) { $_SERVER[‘REQUEST_URI’] = $_SERVER[‘SCRIPT_NAME’].’?’.$_SERVER[‘QUERY_STRING’]; }

It has worked for me, but you may want to test it out on your server.

I am not too sure if this would be a good fix, and if there would be any drawbacks to implementing the hack.

Last edited by cubeshark (2006-01-06 14:32:38)


Cheers,

Ritchie

Offline

#16 2006-01-06 14:30:15

loid
Member
Registered: 2005-03-09
Posts: 38

Re: Problem with comments after upgrade

Unfortunately, the changes in 4.03 messed up users ability to comment so badly that I had to downgrade back to 4.02. I tried using the fixed version of comment.php that Sencer created, but that caused display errors. I’m using these comment-related plugins:

ajw_comment_alt
ajw_comment_alt
ajw_comment_num
czg_if_comment_cookies

And can include the customized comment forms I’m using if it would be helpful.

Bottom line, since it’s a live site and the ability to add comments is key, I can’t use 4.03 without, apparently, re-doing the comments system completely.

So a question: How bad are the security holes the new version plugged? And is it possible to fix those holes in 4.02 without upgrading completely?

Offline

#17 2006-01-06 14:45:53

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Re: Problem with comments after upgrade

Not upgrading is no option for me. What are you gonna do with the release of every new version? I think an upgrade is more important than customizing the comment form.

Offline

#18 2006-01-06 19:14:51

loid
Member
Registered: 2005-03-09
Posts: 38

Re: Problem with comments after upgrade

I want to do the upgrade, too, but will have to wait until I have time to figure out how to get the comments to display correctly. It’s a high-traffic news sight which I am not anxious to disrupt, as I’m a slow hacker with meager coding skills, unfortunately.

Offline

#19 2006-01-06 23:53:49

carrot
New Member
From: Sydney, Australia
Registered: 2004-08-25
Posts: 3
Website

Re: Problem with comments after upgrade

If you revert the form “comment_form” to the default it should work.

I found, as per maarten, that by checking for the comments cookie, and then removing various fields from the form for returning visitors is messing with the comments form validation that was implemented in 4.0.3.

If you don’t like the using of a table in the default form, this works:
<code>
<div id=“commentform”>
<txp:comments_error />
<dl>
<dt><label for=“name”><txp:text item=“Name:” /></label></dt>
<dd><txp:comment_name_input /></dd>
<dt><label for=“email”><txp:text item=“Email:” /></label></dt>
<dd><txp:comment_email_input /></dd>
<dt><label for=“web”>Website:</label></dt>
<dd><txp:comment_web_input /></dd>
<dt><label for=“message”><txp:text item=“Comment:” /></label></dt>
<dd><txp:comment_message_input /></dd>
</dl>
<p><txp:comment_remember />
<txp:comment_preview />
<txp:comment_submit /></p>
</div>
</code>

Offline

#20 2006-01-07 01:51:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Problem with comments after upgrade

I’ve added this to the FAQ.


Alex

Offline

#21 2006-01-07 14:15:27

loid
Member
Registered: 2005-03-09
Posts: 38

Re: Problem with comments after upgrade

Thanks, Carrot & Zem, this is very helpful and greatly appreciated!

Offline

#22 2006-01-07 14:26:13

loid
Member
Registered: 2005-03-09
Posts: 38

Re: Problem with comments after upgrade

With your help, all’s well with the upgrade, and the comments actually display better than before through the preview process. Again, much thanks

Offline

#23 2006-01-20 11:55:27

roan
New Member
Registered: 2005-04-09
Posts: 5
Website

Re: Problem with comments after upgrade

Hi there,

I’m having the same problem that others have mentioned afte upgrading to 4.03 from RC 1. None of the comments are working at all, even with the default comment form code in place.

I’ve checked the high level diagnostics and I do have the correct version of publish/comment.php.

Any ideas why this might not working?

Offline

#24 2006-02-23 04:45:18

robert1
Member
From: Passau
Registered: 2005-08-07
Posts: 51
Website

Re: Problem with comments after upgrade

I think the new (4.0.3) comment.php is very different to older ones. So the gravatar-hack, autor-highlighting, … isn’t the way it’s described (for older versions).
Thanks for tips.

Offline

Board footer

Powered by FluxBB