Forums

ChronoForms 4 not working with PHP5.5

moreiter 14 Jul, 2014
My Webhoster forces upgrade to PHP5.5 ... if I do so, Chronoforms Form Wizard stopps working:

"Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead ..."

Support for PHP 5.4 will end within 2 weeks. Any updates / suggestions / solutions availabe?

Many thanks,
Monika
GreyHead 14 Jul, 2014
Hi Monika,

That is just a warning message, the code will still work correctly. The easiest fix it so set your site Error Reporting to System Default or to None in the site Global Configuration. Normally that will hide warning messages. If it doesn't please contact your web host and ask them how to change the PHP Error Reporting.

Longer term Max will need to upgrade the code to use preg_replace_callback before pre_replace is removed from a future version of PHP.

Bob
Max_admin 22 Aug, 2014
Hi,

Just an update here, this issue has been fixed in the core and a new update is available for v4 on our downloads page!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mushr00m 05 Mar, 2015
Hi !

I just swtich to PHP5 and I use the last version of Chronoform for Joomla 2.5 and I have the same error :
Deprecated : preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in
...administrator/components/com_chronoforms/views/form_wizard.php on line 462.
Also same error on line 208. Didn't you made a fix Max ?

Thanks
Max_admin 06 Mar, 2015
Hi Mushr00m,

I think the latest fixes have been applied to the J3 release only, but this is not a serious issue you have, just go to the Joomla global config and set the "error reporting" to "none", that should hide the messages.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mushr00m 06 Mar, 2015
Yes I did that but I would like a real fix ^^ Is it the same peace of code in J3 so I can modify it in the J2.5 version ?
Max_admin 06 Mar, 2015
v4 release for J2.5 has some differences compared to the J3 release, if it didn't I would be able to release updates for both versions, v5 doesn't have this problem.

But you can inspect the J3 release code at the same line numbers (or around them) and copy the fixes from there.

My suggestion though would be to keep your v4 forms as they are, install v5 and use it for any new forms, both versions can work together!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.