Forms not working
Permalink
Hi
I have a rental site that was getting no traffic. I tested 6 of the forms.
I've looked at the forms report and get the following.
Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/blocks/form/controller.php:353 Oops, something is wrong with the form you posted (it doesn't have a question set id). (0)
Fairly new to concrete5 - can anyone help.
I have a rental site that was getting no traffic. I tested 6 of the forms.
I've looked at the forms report and get the following.
Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/blocks/form/controller.php:353 Oops, something is wrong with the form you posted (it doesn't have a question set id). (0)
Fairly new to concrete5 - can anyone help.
Hi
I must be blind but I can't see anything wrong. Explain please.
Many thanks.
I must be blind but I can't see anything wrong. Explain please.
Many thanks.
This is the content of your file as I view it this morning
/* ** Let's start with some override from dashboard option's page ** This file is generated by php and placed into theme_supermint / elements / overrides.css.php ** Page name : Home / Theme preset Name : / Theme preset ID : */ /* --- Text Overrides --- */ /* -- FONTS --- */ .alternate, .tp-caption.big_alternate { font-size:em; } body .ccm-page, .ccm-page p, .ccm-page li, .ccm-page td, .ccm-page textarea { } h1,.h1 { font-size:0px} h2,.h2 { font-size:0px} h3,.h3 { font-size:0px}
Viewing 15 lines of 81 lines. View entire code block.
Thats odd, if I revisit or refresh the page I can see this
So the css generation is failing somewhere?
/* ** Let's start with some override from dashboard option's page ** This file is generated by php and placed into theme_supermint / elements / overrides.css.php ** Page name : Home / Theme preset Name : Base / Theme preset ID : 1 */ /* --- Text Overrides --- */ /* -- FONTS --- */ .alternate, .tp-caption.big_alternate { font-family:'Pacifico', sans; text-transform:none !important; font-weight : normal; font-size:0.8em; } body .ccm-page, .ccm-page p, .ccm-page li, .ccm-page td, .ccm-page textarea { font-family:'Roboto', sans;
Viewing 15 lines of 114 lines. View entire code block.
So the css generation is failing somewhere?
This is a cache problem I think..
If I visit your site in a browser that has not been used to visit your site previously (no cache)
I see the pages as per the screenshots I have attached to this post.
If I visit your site in a browser that has not been used to visit your site previously (no cache)
I see the pages as per the screenshots I have attached to this post.
Hi
When I empty cache on browser there is no text on the site until I refresh. I'll look at the cache settings.
When I empty cache on browser there is no text on the site until I refresh. I'll look at the cache settings.
This could be your server using a caching system in the back-end.
It appears to me that the file is being delivered to the browser before it has been compiled.
Perhaps check your servers control panel and switch off any caching there.
It appears to me that the file is being delivered to the browser before it has been compiled.
Perhaps check your servers control panel and switch off any caching there.
Hi again
I've turned off some of the caching and ( I think ) the problem with the text not appearing may be solved.
The form problem has not resolved. There are 4 forms on the page. Could this be the problem.
Regards
I've turned off some of the caching and ( I think ) the problem with the text not appearing may be solved.
The form problem has not resolved. There are 4 forms on the page. Could this be the problem.
Regards
In your /application/config/generated_overrides/concrete.php do you have something like this
If not, that could be your problem..
If not, that could be your problem..
Hi
I'll look at that but in the meantime, I am getting this in the logs:
Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:66 An exception occurred while executing 'INSERT INTO CollectionVersionBlocksOutputCache (cID, cvID, bID, arHandle, btCachedBlockOutput, btCachedBlockOutputExpires) VALUES (?, ?, ?, ?, ?, ?)' with params ["339", "73", "8128", "Main - 4 : 2995", "WEEKLY RATES", 1673341863]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '339-73-8128-Main - 4 : 2995' for key 'PRIMARY' (0)
I'll look at that but in the meantime, I am getting this in the logs:
Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:66 An exception occurred while executing 'INSERT INTO CollectionVersionBlocksOutputCache (cID, cvID, bID, arHandle, btCachedBlockOutput, btCachedBlockOutputExpires) VALUES (?, ?, ?, ?, ?, ?)' with params ["339", "73", "8128", "Main - 4 : 2995", "WEEKLY RATES", 1673341863]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '339-73-8128-Main - 4 : 2995' for key 'PRIMARY' (0)
Hi
Code from page:
Code from page:
<?php /** * ----------------------------------------------------------------------------- * Generated 2018-01-10T10:11:14+00:00 * * DO NOT EDIT THIS FILE DIRECTLY * * @item misc.do_page_reindex_check * @group concrete * @namespace null * ----------------------------------------------------------------------------- */ return array( 'locale' => 'en_GB', 'site' => 'Rent Villa Crete',
Viewing 15 lines of 87 lines. View entire code block.
what is the date time stamp for that log file?
This error is basically saying that the data is already in the database and it cannot be entered a second time..
This error is basically saying that the data is already in the database and it cannot be entered a second time..
Hi
I've included both from this morning. Quite different from what I was getting before. I don't understand the parameter references.
BTW Thanks for all this help.
10 Jan 2018, 09:11:34 Exceptions Guest Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:66 An exception occurred while executing 'INSERT INTO CollectionVersionBlocksOutputCache (cID, cvID, bID, arHandle, btCachedBlockOutput, btCachedBlockOutputExpires) VALUES (?, ?, ?, ?, ?, ?)' with params ["344", "68", "1178", "Main", "\n 1050\n per week", 1673341894]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '344-68-1178-Main' for key 'PRIMARY' (0)
10 Jan 2018, 09:11:03 Exceptions Guest Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:66 An exception occurred while executing 'INSERT INTO CollectionVersionBlocksOutputCache (cID, cvID, bID, arHandle, btCachedBlockOutput, btCachedBlockOutputExpires) VALUES (?, ?, ?, ?, ?, ?)' with params ["339", "73", "8128", "Main - 4 : 2995", "WEEKLY RATES", 1673341863]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '339-73-8128-Main - 4 : 2995' for key 'PRIMARY' (0)
I've included both from this morning. Quite different from what I was getting before. I don't understand the parameter references.
BTW Thanks for all this help.
10 Jan 2018, 09:11:34 Exceptions Guest Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:66 An exception occurred while executing 'INSERT INTO CollectionVersionBlocksOutputCache (cID, cvID, bID, arHandle, btCachedBlockOutput, btCachedBlockOutputExpires) VALUES (?, ?, ?, ?, ?, ?)' with params ["344", "68", "1178", "Main", "\n 1050\n per week", 1673341894]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '344-68-1178-Main' for key 'PRIMARY' (0)
10 Jan 2018, 09:11:03 Exceptions Guest Exception Occurred: /vhost/vhost16/r/e/n/rentvillacrete.com/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:66 An exception occurred while executing 'INSERT INTO CollectionVersionBlocksOutputCache (cID, cvID, bID, arHandle, btCachedBlockOutput, btCachedBlockOutputExpires) VALUES (?, ?, ?, ?, ?, ?)' with params ["339", "73", "8128", "Main - 4 : 2995", "WEEKLY RATES", 1673341863]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '339-73-8128-Main - 4 : 2995' for key 'PRIMARY' (0)
I will send you a Private Message
Hello again weyboat
Just to backtrack
On the pages, 20 in all.
One form as accordion - showing in reports not emailing to client.
One form as open type - showing in report and emailing client.
One form as accordion - showing as exception in report.
One form as accordion ( duplicate of above ) - showing as latest exception in logs.
One form as accordion - showing in reports not emailing to client.
Just to backtrack
On the pages, 20 in all.
One form as accordion - showing in reports not emailing to client.
One form as open type - showing in report and emailing client.
One form as accordion - showing as exception in report.
One form as accordion ( duplicate of above ) - showing as latest exception in logs.
One form as accordion - showing in reports not emailing to client.
Private message reply.
Hi Terry
Please check your latest Private Message
Please check your latest Private Message
Hi
'tis a bit worrying as the forms that WERE working yesterday are no longer working today.
Leave it with you.
'tis a bit worrying as the forms that WERE working yesterday are no longer working today.
Leave it with you.
Hmm
The only thing that has been changed is the adjustments you made to the cache settings?
Did you get my last PM I sent this morning?
The only thing that has been changed is the adjustments you made to the cache settings?
Did you get my last PM I sent this morning?
Sorry, nothing received today.
If you check the logs, there seems to be another problem each time I log on.
Terry
I am not working on your live site, I am working on a copy of it on my
development server.
This is how I do all the testing without making changes to a live site.
I only make changes to the live site, when I have thoroughly tested my
copy of the site in my local machine..
Can you copy the error and email it to me please.
On 11/01/2018 10:04, concrete5 Community wrote:
I am not working on your live site, I am working on a copy of it on my
development server.
This is how I do all the testing without making changes to a live site.
I only make changes to the live site, when I have thoroughly tested my
copy of the site in my local machine..
Can you copy the error and email it to me please.
On 11/01/2018 10:04, concrete5 Community wrote:
I have sent you a PM with a file attachment.
I have sent you an email, please check your inbox (not a PM an email)
I can't believe that SuperMint tool is publicly available. Access should be protected, that's crazy
Thank you everyone
The issue has been resolved.
It would appear that the main culprit was my server over at Easyspace. I have moved to Krystal, recommended by weyboat who did most if not all of the work.
This forum has some very nice people contributing.
The issue has been resolved.
It would appear that the main culprit was my server over at Easyspace. I have moved to Krystal, recommended by weyboat who did most if not all of the work.
This forum has some very nice people contributing.
Hence the forms do not display any text!
Take a look at this page..