Forums

Allowed memory exhausted on frontend

petersen 08 May, 2014
I have several forms on my site but one form shows me a blank screen (completely white). Error log shows:

[08-May-2014 17:04:36 UTC] PHP 13. ob_get_clean() \components\com_chronoforms\libraries\includes\data_republish.php:229
[08-May-2014 17:04:36 UTC] PHP 12. HTMLFormPostDataLoad->load() \administrator\components\com_chronoforms\form_actions\show_html\cfaction_show_html.php:162
[08-May-2014 17:04:36 UTC] PHP 11. CfactionShowHtmlHelper->loadAction() \administrator\components\com_chronoforms\form_actions\show_html\cfaction_show_html.ctp:3
[08-May-2014 17:04:36 UTC] PHP 10. require() \components\com_chronoforms\chronoforms.html.php:38
[08-May-2014 17:04:36 UTC] PHP 9. HTML_ChronoForms::processView() \components\com_chronoforms\chronoforms.php:115
[08-May-2014 17:04:36 UTC] PHP 8. process() \components\com_chronoforms\chronoforms.php:103
[08-May-2014 17:04:36 UTC] PHP 7. require_once() \libraries\cms\component\helper.php:351
[08-May-2014 17:04:36 UTC] PHP 6. JComponentHelper::executeComponent() \libraries\cms\component\helper.php:331
[08-May-2014 17:04:36 UTC] PHP 5. JComponentHelper::renderComponent() \libraries\cms\application\site.php:178
[08-May-2014 17:04:36 UTC] PHP 4. JApplicationSite->dispatch() \libraries\cms\application\site.php:208
[08-May-2014 17:04:36 UTC] PHP 3. JApplicationSite->doExecute() \libraries\cms\application\cms.php:255
[08-May-2014 17:04:36 UTC] PHP 2. JApplicationCms->execute() \index.php:40
[08-May-2014 17:04:36 UTC] PHP 1. {main}() \index.php:0
[08-May-2014 17:04:36 UTC] PHP Stack trace:
[08-May-2014 17:04:36 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 105152321 bytes) in \components\com_chronoforms\libraries\includes\data_republish.php on line 229

Any ideas?
petersen 08 May, 2014
I've removed the Event Loop functions and it doesn't fix it.
Max_admin 08 May, 2014
Please post a screenshot for your "Events" section here or send it using the "contact us" page.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
petersen 09 May, 2014
http://awesomescreenshot.com/0742s0xn06

The OnFail event behind the joomla footer is another ShowStopper
Max_admin 09 May, 2014
Nothing clearly tells where the problem is, so if its only this form then I suggest that you take a copy and start removing your submit actions one by one until you find where is the problem!

Do you get the data saved or the email sent ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
petersen 09 May, 2014
The form doesn't even display, no emails or data. I'll pull it apart and rebuild it until it breaks.

Thanks Max
Max_admin 09 May, 2014
I thought you get the blank page on submit, but there is nothing to tell why the errors occur on load, do you have any "custom elements" ? or your form is using custom code ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
petersen 09 May, 2014
Got it. I had some custom validation and had included the validation and accordion libraries within the form code using JHTML::_

Took those out and it's fixed it, although my onsubmit validation isn't firing. Works onblur though....

http://staging.scienceboffins.co.uk/kids-parties/booking-form?view=form
This topic is locked and no more replies can be posted.