ChronoForms with PHP 8.0 Stopped Working Topic is solved
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 21
- Joined: Fri Oct 14, 2022 12:00 pm
ChronoForms with PHP 8.0 Stopped Working
When I updated my joomla to 3.10.11 that was Ok but when I updated my PHP to 8.0 my ChronoForms just stopped working, is there a fix for this ? When I try to select Chronoforms i get this message
An error has occurred.
0 Call to undefined function get_magic_quotes_gpc()
Return to Control Panel
Any help appreciated
An error has occurred.
0 Call to undefined function get_magic_quotes_gpc()
Return to Control Panel
Any help appreciated
Last edited by imanickam on Sun Oct 16, 2022 2:23 pm, edited 1 time in total.
Reason: Moved topic » from General Questions/New to Joomla! 3.x to Extensions for Joomla! 3.x. Also, changed the Subject to reflect the Question asked.
Reason: Moved topic » from General Questions/New to Joomla! 3.x to Extensions for Joomla! 3.x. Also, changed the Subject to reflect the Question asked.
- AMurray
- Joomla! Exemplar
- Posts: 9873
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: ChronoForms with PHP 8.0 Stopped Working
Joomla works with PHP 8, Chronoforms appears to, per the statement on the developer's website. https://www.chronoengine.com/blog/5336- ... la-4-ready
I would suggest contacting ChronoForms (their support forum) directly stating you have an issue with PHP 8, concerning the specific error above.
Does the error occur with PHP 7.4 (if you can step the PHP version down in your web host)?
I would suggest contacting ChronoForms (their support forum) directly stating you have an issue with PHP 8, concerning the specific error above.
Does the error occur with PHP 7.4 (if you can step the PHP version down in your web host)?
Regards - A Murray
General Support Moderator
General Support Moderator
- toivo
- Joomla! Master
- Posts: 17510
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: ChronoForms with PHP 8.0 Stopped Working
That and other Deprecated messages and errors in PHP 8 make ChronoForms 6 incompatible with Joomla 3.10.11. If the website uses PHP 8, you need ChronoForms 7.
A quick test of ChronoForms 7 in Joomla 3.10.11 showed that it works also in PHP 8.1.10, as long as Error Reporting in Global Configuration is set to 'Simple'. Other third party extensions may have issues, though.
Toivo Talikka, Global Moderator
-
- Joomla! Enthusiast
- Posts: 108
- Joined: Sun Dec 12, 2021 9:28 am
Re: ChronoForms with PHP 8.0 Stopped Working
I use CF7 with PHP8.0 on my site. It works, but there are some bugs that I had to fix myself.
Unfortunaly, the developer of CF7 doesn't implement his extension.
It's better to choose another extension for the future.
Unfortunaly, the developer of CF7 doesn't implement his extension.
It's better to choose another extension for the future.
-
- Joomla! Apprentice
- Posts: 21
- Joined: Fri Oct 14, 2022 12:00 pm
Re: ChronoForms with PHP 8.0 Stopped Working
No the Chronoforms work fine with PHP 7.4?AMurray wrote: ↑Sun Oct 16, 2022 9:17 pmJoomla works with PHP 8, Chronoforms appears to, per the statement on the developer's website. https://www.chronoengine.com/blog/5336- ... la-4-ready
I would suggest contacting ChronoForms (their support forum) directly stating you have an issue with PHP 8, concerning the specific error above.
Does the error occur with PHP 7.4 (if you can step the PHP version down in your web host)?
- ozneilau
- Joomla! Guru
- Posts: 872
- Joined: Tue Aug 04, 2009 9:05 am
- Location: Tasmania, Australia
- Contact:
Re: ChronoForms with PHP 8.0 Stopped Working
According to the FAQ at https://www.chronoengine.com/faqs/76-ch ... 5-greyhead there are work arounds for any issues with ChronoForms v6 and v7 on PHP 8.
-
- Joomla! Enthusiast
- Posts: 108
- Joined: Sun Dec 12, 2021 9:28 am
Re: ChronoForms with PHP 8.0 Stopped Working
Hi
CF6 works very well with Joomla 3+PHP 7.4. Not tried with PHP8. Doesn't work in Joomla 4.
CF7 works in Joomla3, Joomla 4, under PHP 7.4, PHP8. But there are some bugs and the developer is gone away. So CF7 is not a soluce for the future versions of Joomla and PHP.
Furthermore, you can't upload in CF7 forms downloaded from CF6. You have to rewrite all your forms. And the "language" is différent: not just a copy and paste!
However, I use frequently CF7 because is a real swiss knife!
CF6 works very well with Joomla 3+PHP 7.4. Not tried with PHP8. Doesn't work in Joomla 4.
CF7 works in Joomla3, Joomla 4, under PHP 7.4, PHP8. But there are some bugs and the developer is gone away. So CF7 is not a soluce for the future versions of Joomla and PHP.
Furthermore, you can't upload in CF7 forms downloaded from CF6. You have to rewrite all your forms. And the "language" is différent: not just a copy and paste!
However, I use frequently CF7 because is a real swiss knife!
- ozneilau
- Joomla! Guru
- Posts: 872
- Joined: Tue Aug 04, 2009 9:05 am
- Location: Tasmania, Australia
- Contact:
Re: ChronoForms with PHP 8.0 Stopped Working
Yes, I have ChronoForms on about 25 websites with versions back to v4 in some cases which I am rebuilding in Convert Forms before migrating the websites to Joomla 4 and switching to PHP 8.0.
I upgraded a separate website today for a client who is using Breezing Forms and had to perform similar code change updates as the ones for ChronoForms v6 before being able to change to PHP 8.0. The Breezing Forms developer is apparently also away.
I upgraded a separate website today for a client who is using Breezing Forms and had to perform similar code change updates as the ones for ChronoForms v6 before being able to change to PHP 8.0. The Breezing Forms developer is apparently also away.
-
- Joomla! Enthusiast
- Posts: 108
- Joined: Sun Dec 12, 2021 9:28 am
Re: ChronoForms with PHP 8.0 Stopped Working
CF7 is more than a form builder.
It's a Database manager. You can create/update/delete personal tables, list/create/update/save records, insert PHP, Javascript, JQuery, etc.
Sometimes, I use CF7 module to complete other extensions, like iCagenda last week!
It's a Database manager. You can create/update/delete personal tables, list/create/update/save records, insert PHP, Javascript, JQuery, etc.
Sometimes, I use CF7 module to complete other extensions, like iCagenda last week!
- euoceo
- Joomla! Guru
- Posts: 957
- Joined: Fri Sep 12, 2008 2:48 pm
- Location: Sacramento
- Contact:
Re: ChronoForms with PHP 8.0 Stopped Working
Edit: This fixed the front-end form, unfortunately I didn't check back-end administrator. That's broken still. Sigh..
I also ended up removing that whole section since the function doesn't exist anyways. Put /* */ around the whole code block. Will work on back-end stuff next when I have time... -Bob
Adding solution incase someone searches on this topic. You've probably already found a solution to Chronoforms 5 and PHP8. CF5 is easily the best version of the chronoforms line and I'd prefer not to upgrade to anything else. Here's the easy fix:
Line 52 and 60 in file ROOT/libraries/cegcore/gcloader.php
52: //if(get_magic_quotes_gpc()){ //add double-slash comment to front of line
60: //} //add double-slash comment to front of line
All this does is always create a function called stripslashes_gpc(), that should have limited affect, if any, to the data input since PHP8 doesn't have a magic quotes option.
If/When I upgrade 25+ sites to Joomla 4, I'll see about making CF5 compatible with J4, assuming someone hasn't already done it.
Best,
-Bob
PS. Chrono line of tools have been sold. The new owners are removing pretty much any posts on their website attempting to fix older versions. There was a thread by one of the most helpful "old-timers"(greyhead) detailing differences and fixes. That's been removed. They basically want you to upgrade to CF7, which in my opinion is an abomination of the chronoform line. Their "free" version is so crippled it's unusable.
IE:
Multi Field is disabled in the free version frontend
Calendar is disabled in the free version frontend
Calendar is disabled in the free version frontend
Multi Field is disabled in the free version frontend
Calendar is disabled in the free version frontend
Calendar is disabled in the free version frontend
Radios is disabled in the free version frontend
ReCaptcha is disabled in the free version frontend
JavaScript is disabled in the free version frontend
CSS is disabled in the free version frontend
This form was created by ChronoForms
I also ended up removing that whole section since the function doesn't exist anyways. Put /* */ around the whole code block. Will work on back-end stuff next when I have time... -Bob
Adding solution incase someone searches on this topic. You've probably already found a solution to Chronoforms 5 and PHP8. CF5 is easily the best version of the chronoforms line and I'd prefer not to upgrade to anything else. Here's the easy fix:
Line 52 and 60 in file ROOT/libraries/cegcore/gcloader.php
52: //if(get_magic_quotes_gpc()){ //add double-slash comment to front of line
60: //} //add double-slash comment to front of line
All this does is always create a function called stripslashes_gpc(), that should have limited affect, if any, to the data input since PHP8 doesn't have a magic quotes option.
If/When I upgrade 25+ sites to Joomla 4, I'll see about making CF5 compatible with J4, assuming someone hasn't already done it.
Best,
-Bob
PS. Chrono line of tools have been sold. The new owners are removing pretty much any posts on their website attempting to fix older versions. There was a thread by one of the most helpful "old-timers"(greyhead) detailing differences and fixes. That's been removed. They basically want you to upgrade to CF7, which in my opinion is an abomination of the chronoform line. Their "free" version is so crippled it's unusable.
IE:
Multi Field is disabled in the free version frontend
Calendar is disabled in the free version frontend
Calendar is disabled in the free version frontend
Multi Field is disabled in the free version frontend
Calendar is disabled in the free version frontend
Calendar is disabled in the free version frontend
Radios is disabled in the free version frontend
ReCaptcha is disabled in the free version frontend
JavaScript is disabled in the free version frontend
CSS is disabled in the free version frontend
This form was created by ChronoForms
Joomla! Web Hosting, Design, and Consulting.
-Bob
-Bob