is this a bug, contact form replaces preview mode

Found a bug? Tell us!!
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Neut, is there anyway you could give Garvin or I ftp access to your site? Neither of us can see a clear bug that would cause this, so I think the only way to troubleshoot it is with an install where the behavior is occurring...

jdfalk, I guess the same question applies, although I think I have seen something like your error before (you see the main page, Neut is seeing plugin output). Could you try clearing your session cookies (or make sure you are logged off of the admin section and then log back in) and see if that fixes the problem?
jdfalk
Posts: 3
Joined: Thu Jan 11, 2007 10:38 pm
Location: Redwood City, California
Contact:

Post by jdfalk »

mgroeninger wrote:jdfalk, I guess the same question applies, although I think I have seen something like your error before (you see the main page, Neut is seeing plugin output). Could you try clearing your session cookies (or make sure you are logged off of the admin section and then log back in) and see if that fixes the problem?
Yep, that fixed it for me. Thanks!
Neut
Regular
Posts: 91
Joined: Sat Jun 17, 2006 7:51 pm
Location: NL, Earth
Contact:

Post by Neut »

Neut, is there anyway you could give Garvin or I ftp access to your site?
Hi, He has the information and tries to have look next week.
Who is General Failure, and why is he reading my disk?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi people!

I inspected neut's installation.

Somehow the pagetitle of the contact form was set to an empty string. Saving the configuration of that plugin again, witha non-empty title and a non-empty permalink solved the issue and the contact form disappeared for the preview.

Best 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/
Neut
Regular
Posts: 91
Joined: Sat Jun 17, 2006 7:51 pm
Location: NL, Earth
Contact:

Post by Neut »

Hi,
i hate to spoil the party here, but I had this issue with the Static Page plugin, not with the Contact Form plugin.

After your changes, it gave an error message on top of the form.
Subpage is: /nb3/pages/contactform.html, Pagetitle is , permalink is /nb3/pages/contactform.html. Either one matches.
I changed it back to my backup copy (your changes are saved in 'serendipity_event_contactform_garvin').
Who is General Failure, and why is he reading my disk?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

What exactly do you mean? I thought this thread is about the contact form showing up when previwing an entry?

What is your problem again? :-)

If you get the output "Pagetitle is " and nothing after that, it means your contact form does not have a pagetitle! And empty pagetitles always match on every page, which is why a contact form would be displayed when it should not.

Best 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/
Neut
Regular
Posts: 91
Joined: Sat Jun 17, 2006 7:51 pm
Location: NL, Earth
Contact:

Post by Neut »

Hi, the issue of the contact form plugin as described in this discussion happens with my S9Y-setup with the Static Page plugin. That's why I posted it here in this post about the contact form plugin.
Who is General Failure, and why is he reading my disk?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Which issue exactly, could you describe it to me? This thread is overwhelmingly large and I don't have the power to wade through it all over again :)

Best 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/
Neut
Regular
Posts: 91
Joined: Sat Jun 17, 2006 7:51 pm
Location: NL, Earth
Contact:

Post by Neut »

When I want to edit a static page, the WYSIWYG editor is not shown, just raw HTML

Image
Who is General Failure, and why is he reading my disk?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Ah, okay. Something completely different than this topic. ;)

I just fixed this error in version 3.41 of the staticpage plugin, and already updated your page.

HTH,
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/
Neut
Regular
Posts: 91
Joined: Sat Jun 17, 2006 7:51 pm
Location: NL, Earth
Contact:

Post by Neut »

Hi,

you can take "So funktioniert Deutschland. - Hans Zippert " of your Wunschzettel!

Enjoy the reading :D
Last edited by Neut on Wed Jan 17, 2007 2:41 pm, edited 1 time in total.
Who is General Failure, and why is he reading my disk?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Wow, really? That would be awesome...I was soooo waiting for that book, that's cool. Many, many thanks. :-)

Best 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/
Post Reply