Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Fatal error: Cannot redeclare class CKunenaConfig

More
16 years 11 months ago #17276 by drew2
Fatal error: Cannot redeclare class CKunenaConfig in /home/content/b/i/k/bikebuilder72/html/components/com_kunena/lib/kunena.config.class.php on line 419

Any idea what this is? Just upgraded to 1.0.10.

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #17301 by xillibit
Hello,

this error is very strange, do you have changed anything or some hacks ?

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #17315 by sozzled
A "redeclare class" error occurs because a PHP class object has already been declared/defined by one component before a second component (in this case kunena.config.class.php) attempts to declare/define the a PHP class object with the same name. It is, indeed, unusual for two components to attempt to declare a class named CKunenaConfig. One can only ask what other components are enabled on this user's website? Two instances of Kunena? That hardly seems possible. Fireboard and Kunena? Hmmm :dry:

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #17357 by mibert
I have the same problem.
I have upgraded to CB1.2.1 and Kunena 1.0.10 today and I am facing the following issue:

As soon as I publish the plugin cb.simpleboardtab I can not load any user profiles.

The following Error is reported:
Fatal error: Cannot redeclare class CKunenaConfig in /xxxxxxxx/components/com_kunena/lib/kunena.config.class.php on line 419

Any advise on this issue would be most appreciated.

With best regards and thanks in advance

Michael

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago - 16 years 11 months ago #17440 by sozzled
mibert wrote:

As soon as I publish the plugin cb.simpleboardtab I can not load any user profiles.

I'm very interested in this problem - I'm still doing a lot of testing with K 1.0.10 (and CB 1.2.1) so I'd like to know more about how you encountered the error. When you write "I cannot load any user profiles" what do you mean exactly?

Last night, when working on a totally unrelated problem - it had to do with something broken in K 1.0.9's search function - I upgraded to K 1.0.10 on a production website. It's enough to say that I spent the next 2½ hours trying to diagnose why I couldn't login/logout to my website! I went back to K 1.0.9 then up to K 1.0.10 then back to 9 and back to 10 again. At the same time, I went from CB 1.2.1 back to 1.2 and then back to 1.2.1 again. Eventually I fixed my problem but not without a lot of sweat (and a few words I'd rather not repeat in polite company :laugh: ). It turns out that there are major dependencies built into K 1.0.10 because of it's ability to "detect" Community Builder. In a nutshell, you have to get CB operating correctly before you can operate Kunena properly.

My "war stories" aside, you do need to publish the cb.simpleboardtab plugin. If you don't publish the plugin (even if you don't provide a tab on your CB user profile display) you can't use Kunena. If, however, as mibert wrote, publishing the plugin causes other problems, I'd like to know what they are. B)
Last edit: 16 years 11 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #17497 by mibert
Hi there and thanks for your posting.

at least the above problem was fixed by disabling the Artio JoomSEF. Now Forum and CB are working OK but still smaller issues.

Before I had disabled JoomSEF only for CB and activated it for Kunena. With 1.0.9 it was working mostly fine.

I downloaded the latest CB and Kunena extentions for JoomSEF and activated them but no change.

Currently I am running my site with JoomSEF disabled for CB and Kunena as this seems to be the only working configuration. Anyway, I dont really like it this way, so if there is any solution, I would appreciate.

I will report my other minor issues with Kunena in another post.

Best regards

Michael

Please Log in or Create an account to join the conversation.

Time to create page: 0.226 seconds