Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-12 13:06:11

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

nhn_livecommentpreview: comments broken by server move

I moved a built and tested site to a client’s hosting package with 1&1.
Much fun ensued, especially this…

When I submit a comment, I get a blank content div – at this URL <code>?s=press#txpCommentInputForm</code>
compared to the confirmation message I get from exactly the same site on my own host – which arrives at this URL: <code>?s=press&commented=1#c000031</code>

I use the nhn_livecommentpreview plugin, which bypasses the preview page, but I tried with the default forms as well and still reached a dead end.

Does anyone know why this would happen… and maybe how I could fix it?

cheers
Stu

(Edit: updated thread subject. -Mary)

Last edited by Mary (2006-10-12 19:10:15)

Offline

#2 2006-10-12 15:57:52

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: nhn_livecommentpreview: comments broken by server move

Tag trace please.

Offline

#3 2006-10-12 16:14:57

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: nhn_livecommentpreview: comments broken by server move

thanks Mary… hope this makes some sense
http://pastebin.com/805293

Offline

#4 2006-10-12 19:10:51

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: nhn_livecommentpreview: comments broken by server move

Ooh, you’re entirely using the plugin for commenting. You need to contact the plugin author, then.

Renaming the thread subject and moving to plugins…

Offline

#5 2006-10-12 19:31:41

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: nhn_livecommentpreview: comments broken by server move

Well, here is what the plugin author has to say:
The script that skips the preview was created for Textpattern versions lower than 4.0.3. This functionallity has not been updated after some big changes in the comment handling between version 4.0.2 and 4.0.3. So the version you are using is outdated and no longer supported. I’m sorry.

You can use the latest version I you want to have the live preview but you won’t be able to skip the preview anymore.

Nils

Offline

#6 2006-10-22 10:12:02

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: nhn_livecommentpreview: comments broken by server move

Thanks Nils, I didn’t know that.

But in this case, I don’t think it’s a plugin-related problem.

I turned off your plugin and reverted to the default forms, but when I hit the ‘preview’ button, I still get a blank content area with this URL : /?s=press#cpreview

Does that suggest anything? I made a new tag trace

Any help appreciated.

Offline

#7 2006-10-22 10:20:17

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: nhn_livecommentpreview: comments broken by server move

If you think you found a bug, please [b]first[/b] update to the most recent version of textpattern (currently 4.0.4). If then you still see the same behaviour, open a new topic in troubleshooting.

On some server-configuration where environment variables were not correctly set by the PHP/CGI config. We work around that usually but didn’t for comments, that’s what you might be seeing here.

Offline

Board footer

Powered by FluxBB