On trying to backup CF4 forms (to restore in a newer version) I am getting the error:
An error has occurred.
0 Call to undefined function ereg()
This is happening on all my CF4 forms.
I suspect that you don't have the latest release of CFv4 installed. If I recall correctly this is a bug due to ereg being deprecated in later versions of PHP.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
This was my first thought so I downloaded and installed the 3 items again but same result:
Component date 20-07-2016
Module date 16-11-2013
Plugin date 16-11-2013
I will go through the process again.
If you set error reporting to Maximum do you see an error message that says where the error is occurring - the file and line number?
Yes, component 4.0.7_j3
Cleared cache, reinstalled, same problem.
No, just the same error message
Well it is definately a PHP issue.
I have 2 different sites, both running PHP 7.0 and forms do not backup.
Downgraded one to PHP 5.6 and all worked fine.
Back to 7.0 and fails again.
Bob - do you have CF4 able to back up on PHP7.0?
I get a slightly more useful message "Call to undefined function ereg()
. . ./administrator/components/com_chronoforms/controller.php:321"
If you open that file and edit lines 321 and 324 to replace ereg( with preg_match( then the back up should work correctly.
Thats great Bob
2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com