CCv4 gives Server error 500 after Joomla 3.5 upgrade

skittle 24 Mar, 2016
I just upgraded to Joomla 3.5. After the upgrade, both CFv4 and CCv4 break and give a Server error 500 when clicked. I am aware of the issue (http://www.chronoengine.com/faqs/56-cfv4/cfv4-other-faqs/5125-chronoformschronoconnectivity-fails-after-a-joomla-upgrade.html) concerning the versions folder not containing a folder for the new Joomla version and so I created a new folder (with the appropriate contents) for both CFv4 and CCv4. I then reinstalled a fresh copy of CFv4 and CCv4. After these steps CFv4 works fine. CCv4, however, still causes the Server error 500. Any thoughts on how to fix this?

Thanks in advance,

John
GreyHead 24 Mar, 2016
Hi John,

I'll try installing CCv4 on Joomla! 3.5 and see what I find.

Bob
GreyHead 24 Mar, 2016
Hi John,

I just checked with CCv4 on Joomla! 3.5 and I'm not seeing any problems apart from the missing version folder.

Do you see any clues in the server logs about the cause of the 500 message?

Bob
skittle 24 Mar, 2016
Thanks Bob,

This seems relevant (from error_log under administrator folder) -

[24-Mar-2016 08:11:11 America/Denver] PHP Fatal error: Class 'JParameter' not found in /home3/prefligh/public_html/washhaus/administrator/components/com_chronoconnectivity/versions/j3.5/admin.chronoconnectivity.php on line 24
GreyHead 24 Mar, 2016
Hi skittle,

It looks like you have an even older version of CCv4 installed. The current version doesn't use JParameter. The easiest solution is probably to take a database backup of the ChronoConnectivity table(s) for security the upgrade your CC to the latest release of v4

Bob
skittle 24 Mar, 2016
Thanks Bob,

I think I'm closer to getting this fixed but I still need some help.

I downloaded and installed the latest version of CCv4 this morning before starting this thread. I can verify that my site is running CCv4.0.1.

I believe the problem is that even the latest version still has the bug which does not create the appropriate folder under administrator/components/com_chronoconnectivity/versions/jx.x when Joomla is updated to a new version. My workaround has simply been to copy an older jx.x folder to a new folder that corresponds to the current version of joomla - in this case I copied the contents of j3.4 to my new j3.5 folder. This has always worked until now. Your last response gave a good clue. I erased the files from the j3.5 folder (which had been copied from an older version of CC) and copied the newest version of admin.chronoconnectivity.php. Progress! - this caused a different error - specifically it said that admin.chronoconnectivity.html.php was missing so I uploaded the latest version of admin.chronoconnectivity.html.php. to my j3.5 folder. Now I get the following error -

[24-Mar-2016 11:59:16 America/Denver] PHP Fatal error: Cannot redeclare class HTML_ChronoConnectivity in /home3/prefligh/public_html/washhaus/administrator/components/com_chronoconnectivity/versions/j3.5/admin.chronoconnectivity.html.php on line 16

Thanks again,

John
GreyHead 25 Mar, 2016
Answer
Hi John,

The admin.chronoconnectivity.html.php file does not belong in the j3.5 folder - it should be in /administrator/components/com_chronoconnectivity/ and I would expect it to be there.

The only files in the J3.5 folder are index.html and admin.chronoconnectivity.php

I just downloaded the latest (rather old) version of CCv4 and the admin.chronoconnectivity.php file in the J3.3 folder there should be correct if copied to J3.4 and/or J3.5 It does not use JParameter - look for JCFParameter( around line 24

Bob
skittle 25 Mar, 2016
Thank you Bob!
Breakbeatz 12 May, 2016
Hi there,

I got an similar problem: After updating to Joomla 3.5 I can't reach the administration of CC v4 in the backend. There's just a blank page :-(
CCv4 works well in the frontend, but I cant make new connections.
Breakbeatz 12 May, 2016
Ah! Nearly solved by the FAQ about the versions...but I have to put in the connectionapp by hand like:
.../administrator/index.php?option=com_chronoconnectivity&select_app=Connection1 or even Connection2
The dropdown doesn't work...
GreyHead 13 May, 2016
Hi Breakbeatz,

I'm seeing the drop-down OK (Joomla! 3.5.1 with the Isis3 admin template).

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