Buy Now
Sign in

JCFParameter not found Joomla 2.5.28 - version 4.07 of chronoforms

rwilson12 , December 30 2017
R
rwilson12
I have read the forums and found that an update to Chronoforms 4.07 should fix the below error message but I am still getting the error.

Fatal error: Class 'JCFParameter' not found in /var/www/acg/administrator/components/com_chronoforms/views/index.php on line 106

I reviewed the index.php file and user phpstorm I can see the files the class points to but at the top of the class there is a line about creating the class is the class does not exist.

Anyways the update to chronoforms 4.07 did not fix my issue.

I am running Joomla 2.5.28 and php 5.3.10

any help would be appreciated.

Thanks

Rob
GreyHead
Hi Rob,

Are you using the CF Module or Plug-in? If so those may need to be updated as well as the component.

The class is defined in /administrator/components/com_chronoforms/chronoforms.php and the first line there is to prevent problems when the class is called multiple times.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
R
rwilson12
Thanks Bob.

I did check those and reinstalled the plugin and component this morning.

Here is the exact error.

Fatal error: Class 'JCFParameter' not found in /var/www/acg/administrator/components/com_chronoforms/views/index.php on line 106 Call Stack: 0.0002 663232 1. {main}() /var/www/acg/administrator/index.php:0 0.0555 9528344 2. JAdministrator->dispatch() /var/www/acg/administrator/index.php:46 0.0588 10268968 3. JComponentHelper::renderComponent() /var/www/acg/administrator/includes/application.php:153 0.0636 10350664 4. JComponentHelper::executeComponent() /var/www/acg/libraries/joomla/application/component/helper.php:348 0.0639 10457840 5. require_once('/var/www/acg/administrator/components/com_chronoforms/admin.chronoforms.php') /var/www/acg/libraries/joomla/application/component/helper.php:380 0.0748 13132400 6. ChronoFormsAdmin::index() /var/www/acg/administrator/components/com_chronoforms/admin.chronoforms.php:95 0.0827 13627168 7. HTML_Admin_ChronoForms::index() /var/www/acg/administrator/components/com_chronoforms/controller.php:167 0.0832 13701512 8. require_once('/var/www/acg/administrator/components/com_chronoforms/views/index.php') /var/www/acg/administrator/components/com_chronoforms/admin.chronoforms.html.php:41

I use phpstorm as my ide and I can see the if statement about if JCFParameter class exists but the code is not recognizing.

Rob
GreyHead
Hi Rob,

I have no real idea what is happening - my guess is that the /administrator/components/com_chronoforms/chronoforms.php file is not being loaded???

To test you can try temporarily adding a line like echo 'xxx'; after the initial <?php tag and see if that displays on screen.

Do you have any server security settings that might prevent the file loading ??

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much