Hello,
To begin, I am a beginner in the "chronoengine" world so sorry if my problem is stupid. I apologize in advance.
I became the new administrator of the website of my association created by someone else, and my job became with an issue:
All forms which have been created using PHP custom code do not work anymore, the displayed webpage is empty.
From the admin page, the "view form" option is also empty. I don't see errors when i launch debug on my browser.
Demo forms are working, but if I copy one of them and rename, it does not work anymore.
Another point, when I replace my custom code by a really simple template in PHP, the test form is also empty.
I am still trying to make research on internet to find a solution, but if someone is having an idea, or some advises or tests, it could be very helpful!
Thanks a lot in advance.
Regards
Nico
To begin, I am a beginner in the "chronoengine" world so sorry if my problem is stupid. I apologize in advance.
I became the new administrator of the website of my association created by someone else, and my job became with an issue:
All forms which have been created using PHP custom code do not work anymore, the displayed webpage is empty.
From the admin page, the "view form" option is also empty. I don't see errors when i launch debug on my browser.
Demo forms are working, but if I copy one of them and rename, it does not work anymore.
Another point, when I replace my custom code by a really simple template in PHP, the test form is also empty.
I am still trying to make research on internet to find a solution, but if someone is having an idea, or some advises or tests, it could be very helpful!
Thanks a lot in advance.
Regards
Nico
Hi Nico,
Please check that you have the latest release of CFv5 installed.
Also please try setting Site Error Reporting temporarily to Maximum and see if you get any PHP Error messages.
Bob
Please check that you have the latest release of CFv5 installed.
Also please try setting Site Error Reporting temporarily to Maximum and see if you get any PHP Error messages.
Bob
Hi GreyHead,
First of all, thanks for your guidance 🙂
I have installed the latest release but no effects on the display of the forms in my website, but now when i wish to modify a form, i get a loading page continually
I have also enabled setting Site Error Reporting temporarily to Maximum and now, in place of the list of my form, I could see error "Deprecated: Function create_function() is deprecated in /home/fouleessz/www/libraries/cegcore/helpers/html.php on line 59"

Line 59 of that html.php is:
returnimplode('; ',array_map(create_function('$k,$v','return $k.":".$v;'),array_keys($styles),array_values($styles)));

I'm trying to find some ideas on the net.
Thanks for your help.
Regards,
Nico
First of all, thanks for your guidance 🙂
I have installed the latest release but no effects on the display of the forms in my website, but now when i wish to modify a form, i get a loading page continually

I have also enabled setting Site Error Reporting temporarily to Maximum and now, in place of the list of my form, I could see error "Deprecated: Function create_function() is deprecated in /home/fouleessz/www/libraries/cegcore/helpers/html.php on line 59"

Line 59 of that html.php is:
returnimplode('; ',array_map(create_function('$k,$v','return $k.":".$v;'),array_keys($styles),array_values($styles)));

I'm trying to find some ideas on the net.
Thanks for your help.
Regards,
Nico
replace
If that doesn't fix anything, you might have to drop your PHP version. CFv5 is getting on a bit now, you should be transitioning to v6.
create_function('$k,$v', 'return $k.":".$v;')withfunction($k, $v) { return $k . ":" . $v; }DO NOT copy paste anything from the forums, type it manually.
If that doesn't fix anything, you might have to drop your PHP version. CFv5 is getting on a bit now, you should be transitioning to v6.
Thanks Healyhatman,
I have replaced as mentioned but forms list in joomla admin page is displaying correctly now, but forms still not displayed on the website.
Concerning the loading page, I fixed the issue by following advise found in another post (Disable the 'Pinned toolbar' setting under: Extensions > Templates > Isis > Advanced > Pinned Toolbar).
Still trying to find why all forms do not display in my website. otherwise, i will upgrade to CFV6.
I have replaced as mentioned but forms list in joomla admin page is displaying correctly now, but forms still not displayed on the website.
Concerning the loading page, I fixed the issue by following advise found in another post (Disable the 'Pinned toolbar' setting under: Extensions > Templates > Isis > Advanced > Pinned Toolbar).
Still trying to find why all forms do not display in my website. otherwise, i will upgrade to CFV6.
Just upgrade to v6
Hi Nico,
Just to note - a Deprecated message is just a warning that the code won't work in future versions of PHP. It should still work with the PHP version you are using. I'm guessing that there is another error somewhere here.
Bob
Just to note - a Deprecated message is just a warning that the code won't work in future versions of PHP. It should still work with the PHP version you are using. I'm guessing that there is another error somewhere here.
Bob
Hi healyhatman & GreyHead,
I installed CFV6 and moved all my forms and I can see them in my website now!
I could compare with CFV5 and notice that form functions on load and on submit were empty...
Anyway, I learnt a lot with your advises and I have still a lot of works to do because now I have to understand the goal of each form and update configs to make them run again.
But now, thanks to you , I could advance :-)
Thanks a lot!
Nico
I installed CFV6 and moved all my forms and I can see them in my website now!
I could compare with CFV5 and notice that form functions on load and on submit were empty...
Anyway, I learnt a lot with your advises and I have still a lot of works to do because now I have to understand the goal of each form and update configs to make them run again.
But now, thanks to you , I could advance :-)
Thanks a lot!
Nico
This topic is locked and no more replies can be posted.
