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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Solved Fatal error: Class 'KunenaRoute' not found in ../administrator/components/com_kunena/install/sql/install/php/sampledata.php on line 147

More
12 years 5 months ago - 12 years 5 months ago #150541 by sozzled
This is an old topic and, I must admit, not something that I have encountered personally.

It's possible that there may be some "peculiar" folder permissions preventing certain files being copied to where they need to be copied and these, in turn, account for why the installation process cannot complete successfully in your case.

The conditions that prevailed when this topic began several months ago have now changed. K 3.0 RC was never supported and many of the problems in that version were fixed in the stable release(s) that followed. Even so, K 3.0.1 is also unsupported. The only supported version of Kunena (at this time) is K 3.0.3. It is not entirely true to say that you cannot downgrade from K 3.0 to K 2.0 because the internal data structures of K 3.0 are the same as K 2.0 but only if K 3.0 was successfully installed in the first place and only if you do not uninstall K 3.0 (see Downgrading to Kunena 2.0 is possible ); this exemption only applies to websites built on J! 2.5.

The K 3.0.3 release notes contain information about "writable folders". This information may be relevant in your case.

The recommended installation and upgrade procedures are in the Wiki.

I hope some of this helps.
Last edit: 12 years 5 months ago by sozzled.

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

More
12 years 5 months ago #150544 by NathanHawks
To be clear, this is an attempt to install Kunena, on a site which has never had it before.

After much troubleshooting and many manual uninstallations where tables and files were left behind by Kunena's install script, I was able to fix it with one line of code, and complete the installation of 3.0.3 on 2.5.16. Buuuuuuuuut... despite saying the installation finished and getting no errors in Apache's error_log, every time I hit the Kunena component in the Joomla admin, it repeats the install process. (This includes clicking Close, and then using the Components menu.)

All I did was add this line to schema.php at line 11:

require_once(__DIR__."/../api.php");

Apparently there is a file loading order issue which came into effect on my site for some reason?

Installation details now say:

Prepare Installation ... OK
Installing Kunena - Alphauserpoints plug-in ... OK
Installing Kunena - Community plug-in ... OK
Installing Kunena - Comprofiler plug-in ... OK
Installing Kunena - Gravatar plug-in ... OK
Installing Kunena - Uddeim plug-in ... OK
Installing Kunena - Kunena plug-in ... OK
Installing Kunena - Joomla plug-in ... OK
Installation completed successfully. ... OK

But hitting the admin component causes it to repeat the install process.

BUT!!! Then I added a menu item for the Kunena Homepage link to my front-end and cleared my site cache. And just on a freak whim, before even reloading my homepage, I went back into Administrator -> Components -> Kunena... and now it works?!?!

I can post messages in the front-end, so far zero errors on either end...

Now, before any of this was solved, I had repeatedly checked permissions and ownership on things. All files and folders for the entire site tree, were owned by the same user Apache runs as. I feel very confident that if it had been a mere issue of permissions or file ownership, I'd have had zero trouble, just like I have in past Kunena installs.

Here's the configuration report (with URL and mail config details removed, otherwise intact), now that things are working:

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 128M | Max file upload: 6M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : atomic | author: Ron Severdia | version: 2.5.0 | creationdate: Unknown

Kunena default template details : Blue Eagle | author: Kunena Team | version: 3.0.3 | creationdate: 2013-10-20

Kunena version detailed: Kunena 3.0.3 | 2013-10-20 [ Bifrost ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: None

Third-party SEF components: None

Plugins: None

Modules: None

The following user(s) said Thank You: sozzled, foobla

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

More
12 years 5 months ago - 12 years 5 months ago #150545 by sozzled

NathanHawks wrote: BUT!!! ... just on a freak whim, before even reloading my homepage, I went back into Administrator -> Components -> Kunena... and now it works?!?!

I can post messages in the front-end, so far zero errors on either end.

And (touch wood) you won't have any errors, either.

An important point was made by Matias earlier in this topic:

Matias wrote: Try installing stable version (downloads page). Sometimes PHP is a bit slow on catching up on changed files and also I've got similar errors to yours, which go away in 10-15 minutes with no changes made.

This just goes to show that the problems you've encountered can happen to anyone.

The key phrase in the last message posted by Nathan is

and now it works

and I am going to assume this is not an open-ended question but a statement of fact. On this basis I am marking this topic as resolved and putting it into the archive for others to read, to learn from, and hopefully to help them, too.
Last edit: 12 years 5 months ago by sozzled.
The following user(s) said Thank You: NathanHawks

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

More
12 years 5 months ago #150551 by Matias
Not much to say in here, I believe that the issues were caused by cached files, just like sozzled suspected. Unfortunately I've not found cure for that issue as cleaning all kinds of cache doesn't seem to work.

Kunena doesn't remove database or user files during uninstall. It also prevents older incompatible versions to be installed (prevents data corruption).
The following user(s) said Thank You: NathanHawks

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

More
12 years 4 months ago #151236 by NathanHawks
Perhaps the installer should detect the presence of the blocking bit of cache, and clear it at some appropriate stage during the installation?

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

More
12 years 2 months ago #153419 by foobla

NathanHawks wrote:
All I did was add this line to schema.php at line 11:

require_once(__DIR__."/../api.php");


This one does the trick.

foobla.com/joomla/obrss - Create ultimate RSS Feed for Kunena
foobla.com/joomla/obsocialsubmit - Auto Publish from Kunena to Twitter, Facebook, LinkedIn ...
foobla.com/joomla/obgrabber - Auto create Kunena topic from RSS Feed and other sources

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

Time to create page: 0.252 seconds