Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-01-26 18:46:27
- rtd
- New Member
- From: Washington, DC
- Registered: 2008-12-03
- Posts: 3
New problem with comment previews and zem_contact submissions
Problem:
All instances where a form submission creates a link like “index.php#xxxxxx….” result in a redirect to the homepage (index.php) but the address shows correctly (hitting the “preview” button when leaving a comment results in a redirect to the homepage but displays the correct address “/index.php#cpreview”). The same thing happens when zem_contact_reborn is used.
This behavior has appeared sometime in the past month, and I do not know if it was a result of any small updates I made to the site or if it is something that changed with the hosting company. Since launching the website several months ago, the only addition (that I know of) was the integration of a “login” section using the ign_password_protect plugin as well as updating from 4.0.6 to 7 and now to 8.
I do not know enough about Textpattern and how it interacts with the database to understand what is going on (My very uneducated guess would be it seems that there is a failure to communicate between the html form functions and textpattern/the mysql database). The admin section still functions normally, and there is no problem putting up new articles.
Any thoughts on what might be causing this problem would be greatly, greatly appreciated.
If it helps, here is a link to a contact form that is displaying this behavior: http://www.turkishstudies.org/index.php?s=contacttest
UPDATE: I transferred the install to a local test server, and it does appear to be the hosting server/Textpattern config on that server that is causing the problems. I have also noticed that the links generated on the live server are NOT correct. When I preview on the local server (where it works), the link is /index.php?s=_sectionname_#cpreview but when I test it on the actual live server, the link it generates is /index.php#cpreview (no section name). Since I did a direct transfer of the install and database from the live server to the local server, the problem should be in the configuration of either the Textpattern install on the live server or the settings on the server itself (no?). I think it is likely to be some setting that got changed in Textpattern since I first set it up on the server (because these functions worked when I first launched the site). Any ideas of what it might be? I am beginning to go a bit crazy over this….
Last edited by rtd (2009-01-26 20:53:44)
Offline
#2 2009-02-09 21:11:28
- fellhound
- New Member
- Registered: 2009-02-09
- Posts: 2
Re: New problem with comment previews and zem_contact submissions
I am having a similar issue on a site of mine. Was this issue ever resolved?
Offline
Re: New problem with comment previews and zem_contact submissions
The URL mentioned in the topic start gives a 404 message. fellhound, please elaborate on the problem you’re experiencing and provide an URL and steps to reproduce if possible.
Offline
#4 2009-02-10 14:58:14
- fellhound
- New Member
- Registered: 2009-02-09
- Posts: 2
Re: New problem with comment previews and zem_contact submissions
I have two forms on a site: a newsletter signup and a volunteer sign up. I am using zem_contact_reborn for both of them. The newsletter sign up seems to work fine; it sends the appropriate email to the client including the email address and zipcode as requested. The volunteer form does not work. It has about 16 fields on it. I complete the form and hit submit. It immediately takes me to the index.php page. The url reads ..index.php#xxxxxxxxxx….
The code on the volunteer page is as follows:
<txp:zem_contact to=“info@xxxx.com” thanks_form=“form_volunteer_thanks”>
<span class=“fields”>
<txp:zem_contact_text label=“First Name” required=“1” /><br />
<txp:zem_contact_text label=“Last Name” required=“1” /><br />
<txp:zem_contact_email /><br />
<txp:zem_contact_text label=“Phone” min=“7” max=“16” required=“1” /><br />
<txp:zem_contact_text label=“Address” required=“1” /><br />
<txp:zem_contact_text label=“City” required=“1” /><br />
<txp:zem_contact_text label=“State” required=“1” /><br />
<txp:zem_contact_text label=“Zip” required=“1” /><br />
<br />
</span>
<span class=“checks”>
I’d be willing to:<br />
<txp:zem_contact_checkbox label=“March in Parade” /><br />
<txp:zem_contact_checkbox label=“Office Work “ /><br />
<txp:zem_contact_checkbox label=“Site Volunteer” /><br />
<txp:zem_contact_checkbox label=“Election Day” /><br />
<txp:zem_contact_checkbox label=“Host a Fundraiser or Coffee” /><br />
<txp:zem_contact_checkbox label=“Lawn Sign” /><br />
<txp:zem_contact_checkbox label=“Friends and Family “ /><br />
</span>
<br />
<span class=“fields”>
<txp:zem_contact_textarea label=“Notes or Comments” /><br />
</span>
<span class=“buttons”>
<txp:zem_contact_submit label=“Submit” />
<input type=“reset” name=“reset” value=“Reset”>
</span>
</txp:zem_contact>
Offline
Re: New problem with comment previews and zem_contact submissions
Difficult to diagnose without an actual URL.
Offline