Contact form disappears on upgrade

Permalink
I have had difficulty changing the email address that is to be contacted when someone submits a message on my client's site. So I upgraded to the latest concrete5.
Now the div containing the form block has collapsed on the 'Contact' page.
When I force the div to open up by giving it a specific height in the css, you can see the background image, but the concrete5 blocks have disappeared.
The 'About' page on the site has collapsed as well, but the other pages are fine.
The site is:http://www.contourcurtains.co.uk

Can anyone help, please?

 
mhawke replied on at Permalink Reply
mhawke
A couple of thoughts...

First, background images in a div don't force the div to expand so I would set a 'min-height:610px' on the '#main_about' div and the '#main_contact' div. You will still have issues if the content of the page grows larger than 610px because the background image will start to repeat. That's why a lot of images used for backgrounds fade to white at the bottom.I see you have no-repeat on the Contact page but not the About page.

Second, you are using class='container' for an outer container div and an inner container div. If it were my site, I would rename the inner div as 'inner_container' so I could style it separately. I know you are styling the ID's but there are some styling that will be the same across all pages (like min-height) so I like to use classes as much as possible.
MartinLaurie replied on at Permalink Reply
Thank you for responding to my question, and I will bear in mind what you said about naming the divs.
As I mentioned, I did try giving the div a height before. I've now given it a height of 610px. But the block created in concrete5, containing the contact form, which should be visible to the left of the image has disappeared.
When I log in and look at the page in edit mode it's all there in place. But not when visited in the usual way. It was fine in concrete 5.5.2.1 but not in 5.6.0.2.
The reason I tried upgrading in the first place was that when I tried to edit the contact block and change the email address that should receive notification of a message being left, it wouldn't let me save the change of address - giving the following error message:

An unexpected error occurred. mysql error: [1054: Unknown column 'addFilesToSet' in 'field list'] in EXECUTE("insert into btForm ( questionSetId, surveyName, bID,thankyouMsg,notifyMeOnSubmission,recipientEmail,displayCaptcha,addFilesToSet) values ('1327761515', 'Contact', '133', 'Thank You!\r\nI will reply as soon as possible', 1, 'oldemailaddress@host.net', '0',NULL)") < Back to Home
mhawke replied on at Permalink Reply
mhawke
It has to be 'min-height:610;', not just height.

While in Edit Mode, can you check 'permissions' on those areas to see if 'Guests' have 'View' permission?
MartinLaurie replied on at Permalink Reply
Yes, guests have view permission
mhawke replied on at Permalink Reply
mhawke
Sorry, I should have mentioned to check the permissions on the Area and on the Block itself.

Also, turn off all your concrete5 caching and clear the cache.

I would also try deleting the form and re-creating it. I have found that when I upgraded from 5.5, the permissions in 5.6 sometimes refuses to 'let go' of old blocks created in 5.5 but if you create a new form, it will inherit the new permissions model.
mhawke replied on at Permalink Reply
mhawke
It just occurred to me as well that the C5 dashboard also uses "class='container'" which might be causing a conflict. IMHO all classes used by C5 should be uniquely named so they can't clash with those in the theme but we're not there yet so you have to avoid using 'reserved' classes such as 'container'.
MartinLaurie replied on at Permalink Reply
Thank you for all your suggestions. I tried them all. But, in the end your comment:
the permissions in 5.6 sometimes refuse to 'let go' of old blocks created in 5.5 made me think that this may apply to the complete pages. So, I deleted the offending pages and added new pages, copying and pasting the text from the deleted ones.
It's worked! The pages don't collapse and they allowed me to use the new email address.
Thanks again.