Forums

Fatal Error when installing

jmes 22 Feb, 2016
Sorry, I'm quite new to this. I am trying to install Chronoforms V5 on Joomla, however keep receiving the following error:

Fatal error: 'break' not in the 'loop' or 'switch' context in 
....
joomla\libraries\cegcore\helpers\html.php on line 45


It looks like the extension has installed, but every time I click on it, it returns the same error as above.

I wanted to know if anyone can help with this issue. I have searched online, but cannot seem to find any answers (although I'm lead to believe it may be something to do with PHP??).

(This is a local installation of Joomla using XAMPP.)
GreyHead 22 Feb, 2016
Hi jmes,

I haven't seen that one before. What version if PHP do you have installed in your XAMPP? Googling the error is looks as though it is showing up in various places because of some changes in PHP 7.

It looks as though it will be OK to just comment out the break statements - I see a couple at lines 45 and 52 - please try replacing the break; with // break; (there are many more but the rest are in switch statements and should be OK).

There may be others in different files :-(

Bob
GreyHead 28 Feb, 2016
Hi Jmes,

I have now installed ChronoForms v5 with Joomla! 7 and there are still some bugs to be worked through. Please see this FAQ for my notes.

Bob
This topic is locked and no more replies can be posted.