Forum
Updating from 2.8.4
I'm trying to add a new contact form. Its created using the same template with a different form ID as all previous ones on the site. It is displaying fine, but not showing up in the Forms app when I submit it.
I'm wondering if it might get resolved if I update Perch as its pretty out of date. I'm currently on 2.8.4.
Am I likely to come across any problems when I make such a jump in updating?
My diagnostic report is:
Perch: 2.8.4, PHP: 5.3.29, MySQL: 5.6.31, with PDO Server OS: Linux, cgi-cgi Installed apps: content (2.8.4), assets (2.8.4), categories (2.8.4), perch_blog (4.1), perch_forms (1.7), perch_members (1.0.3), perch_podcasts (1.0) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_members', 'perch_podcasts', ); PERCH_LOGINPATH: /perch PERCH_PATH: /home/stirlingbaptist/public_html/perch PERCH_CORE: /home/stirlingbaptist/public_html/perch/core PERCH_RESFILEPATH: /home/stirlingbaptist/public_html/perch/resources Image manipulation: GD Imagick PHP limits: Max upload 128M, Max POST 128M, Memory: 128M, Total max file upload: 128M Resource folder writeable: Yes DOCUMENT_ROOT: /home/stirlingbaptist/public_html HTTP_HOST: stirlingbaptist.org REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
No, you should be fine to update.
Thanks Drew. I have updated successfully.
Still not got a working form unfortunately.
I have set it up in exactly the same as the other forms on the pages.
I have 4 other forms that are a page template, then it pulls in a specific 'content template' that has the form HTML and the only difference between them is their id is unique. All current 4 works great through the Forms app.
Previously, these just showed up in the Forms app when you submitted the first form. But this new one is not.
How can I work out whats going wrong?
Thanks.
This is my template for one of the forms that works currently :
<div class="general-title"> <p class="lead"><perch:content id="contactformheading" type="text" label="Contact Form Heading" /></p> </div><!-- end general title -->
<div class="contact_form"> <div id="message"></div>
</div><!-- end contact-form -->
And this is the new form that I am trying to get working.
the only difference is the form ID
Dashes aren't legal in IDs for Perch tags, so that would be the first thing to try.
OK. I'll give that a go.
All my other forms have dashes in them and they work.
What will happen if I change them? Will they reset in Perch or just continue to work ok?
They'll reset. If they're working now then that's probably not it, but you should plan to correct them because I can't guarantee they'll always work.
I'm on Forms App 1.7.
Should I update that too?
Yes, you should update any old software you're using.
I'm updated and removed the dashes. Still not showing in Forms app.
Can you turn on debug and then let me know what it outputs on the page after submitting the form?
This is from the page the form is on :
And this if from the forms app :
Both of those look like output from the control panel. What about the page with the form on? I need to see what happens when the form is submitted.
Sorry.
and the output HTML from that page :
<div class="contact_form"> <div id="message"></div>
There's no indication that the form has been submitted at all. Do you have anything else going on on this server that might influence it?