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.
Wallyhowe
An error has occurred.
0 Call to undefined function ereg()
This is happening on all my CF4 forms.
Wallyhowe
Hi Wallyhowe,
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.
Bob
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.
Bob
Hi Bob
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.
Wally
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.
Wally
Hi Wallyhowe,
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?
Bob
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?
Bob
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?
Wally
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?
Wally
Hi Wally,
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.
Bob
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.
Bob
This topic is locked and no more replies can be posted.