- Posts: 2
- Thank you received: 0
Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Solved Fatal error: Class 'KunenaRoute' not found in ../administrator/components/com_kunena/install/sql/install/php/sampledata.php on line 147
I tried to install Kunena 3.0 RC. But during the installation I get always teh same arror message:
Fatal error: Class 'KunenaRoute' not found in /homepages/18/d27822984/htdocs/_Alsen/administrator/components/com_kunena/install/sql/install/php/sampledata.php on line 147
I can see Kunena under the Components Menu, but if I click on it, I also get the error message.
What could it be?
I'm using Joomla 3.1.1.
Thanks
Michael
Please Log in or Create an account to join the conversation.
You can also try to uninstall all Kunena extensions (search for Kunena in manage tab) and try again. It usually fixes issues like this, for example if copying a file failed during installation (Joomla happily ignores failures like that).
Please Log in or Create an account to join the conversation.
I also uninstalled Kunena twice and reinstalled it, but the error was always the same.
Please Log in or Create an account to join the conversation.
Please check that System - Kunena Forum plugin has been turned on in your system. It's required to get Kunena to work.
Please Log in or Create an account to join the conversation.
this problem solved when I install kunena 2.0.4 and upgrade to 3.0.2
Please Log in or Create an account to join the conversation.
- NathanHawks
- Offline
- New Member
- US-Based Joomla Tech for Hire!
Joomla 2.5.16
Affected versions of Kunena:
- pkg_kunena_v3.0.1_2013-06-29.zip
- pkg_kunena_v3.0.3_2013-10-20.zip
- com_kunena_v2.0.4_2013-01-18.zip
Can't install; always faced with "Sorry, installation failed on fatal error!"
Installation Details say only "Prepare Installation ... OK"
Apache error_log says "PHP Fatal error: Class 'KunenaRoute' not found in (...)/administrator/components/com_kunena/install/sql/install/php/sampledata.php
After each attempt I clicked Close and was told by com_installer that the installation was successful. So, I went to Extension Manager -> Manage, searched for Kunena, and saw what looked like a successful installation. I uninstalled all extensions by The Kunena Team due to the error and tried again with the newer version. Same results, so I uninstalled again.
After finding this thread, I attempted to install:
- com_kunena_v2.0.4_2013-01-18.zip
But I was told that I can't downgrade from 3.0.3. The uninstallation had not removed Kunena's versions table. I deleted the table and tried again.
This installation appeared successful, but Kunena did not put itself into my Components menu, and using its built-in upgrade tool resulted in a server error:
PHP Fatal error: require_once(): Failed opening required 'KPATH_ADMIN/liveupdate/liveupdate.php' (include_path='.:/usr/share/php:/usr/share/pear') in administrator/components/com_kunena/admin.kunena.php on line 25, referer: administrator/index.php?option=com_kunena
So, I next tried upgrading via com_installer. I used the newest version (3.0.3 cited above) but was told:
Can't install; always faced with "Sorry, installation failed on fatal error!"
Installation Details: "Prepare Installation ... OK"
PHP Fatal error: Class 'KunenaFactory' not found in (...)/administrator/components/com_kunena/install/model.php on line 699, referer: https://(...)/administrator/index.php?option=com_kunena&view=install&tmpl=component
Edit: At this point, I had Kunena in my Components menu, but attempting to use any of its menu entries, leads to the installer, which keeps producing the same fatal in the previous paragraph.
Some other errors in case they help:
PHP Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN'
administrator/components/com_kunena/install/schema.php on line 13, referer: administrator/index.php?option=com_kunena&view=install&tmpl=component
PHP Notice: Trying to get property of non-object in administrator/components/com_kunena/install/schema.php on line 281, referer: administrator/index.php?option=com_kunena&view=install&tmpl=component
PHP Warning: require_once(KPATH_ADMIN/liveupdate/liveupdate.php): failed to open stream: No such file or directory in administrator/components/com_kunena/admin.kunena.php on line 25, referer: administrator/index.php?option=com_kunena
Perhaps api.php isn't being loaded?
Please Log in or Create an account to join the conversation.
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.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- NathanHawks
- Offline
- New Member
- US-Based Joomla Tech for Hire!
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:
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!
ID Name Menutype Link Path 219 Forum mainmenu Itemid=273 kunena-2013-11-15 273 Forum kunenamenu view=home&defaultmenu=275 forum 274 Index kunenamenu view=category&layout=list forum/index 275 Recent Topics kunenamenu view=topics&mode=replies forum/recent 276 New Topic kunenamenu view=topic&layout=create forum/newtopic 277 No Replies kunenamenu view=topics&mode=noreplies forum/noreplies 278 My Topics kunenamenu view=topics&layout=user&mode=default forum/mylatest 279 Profile kunenamenu view=user forum/profile 280 Help kunenamenu view=misc forum/help 281 Search kunenamenu view=search forum/search 282 Kunena mainmenu view=home&defaultmenu=122 kunena
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:| Kunena integration settings:Warning: Spoiler!
Kunena config settings: board_offline 0 enablerss 1 threads_per_page 20 messages_per_page 6 messages_per_page_search 15 showhistory 1 historylimit 6 shownew 1 disemoticons 0 template blue_eagle showannouncement 1 avataroncat 0 catimagepath category_images showchildcaticon 1 rtewidth 450 rteheight 300 enableforumjump 1 reportmsg 1 username 1 askemail 0 showemail 0 showuserstats 1 showkarma 1 useredit 1 useredittime 0 useredittimegrace 600 editmarkup 1 allowsubscriptions 1 subscriptionschecked 1 allowfavorites 1 maxsubject 50 maxsig 300 regonly 0 pubwrite 0 floodprotection 0 mailmod 0 mailadmin 0 captcha 0 mailfull 1 allowavatarupload 1 allowavatargallery 1 avatarquality 75 avatarsize 2048 imageheight 800 imagewidth 800 imagesize 150 filetypes txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2 filesize 120 showranking 1 rankimages 1 userlist_rows 30 userlist_online 1 userlist_avatar 1 userlist_name 1 userlist_posts 1 userlist_karma 1 userlist_email 0 userlist_joindate 1 userlist_lastvisitdate 1 userlist_userhits 1 latestcategory showstats 1 showwhoisonline 1 showgenstats 1 showpopuserstats 1 popusercount 5 showpopsubjectstats 1 popsubjectcount 5 usernamechange 0 showspoilertag 1 showvideotag 1 showebaytag 1 trimlongurls 1 trimlongurlsfront 40 trimlongurlsback 20 autoembedyoutube 1 autoembedebay 1 ebaylanguagecode en-us sessiontimeout 1800 highlightcode 0 rss_type topic rss_timelimit month rss_limit 100 rss_included_categories rss_excluded_categories rss_specification rss2.0 rss_allow_html 1 rss_author_format name rss_author_in_title 1 rss_word_count 0 rss_old_titles 1 rss_cache 900 defaultpage recent default_sort asc sef 1 showimgforguest 1 showfileforguest 1 pollnboptions 4 pollallowvoteone 1 pollenabled 1 poppollscount 5 showpoppollstats 1 polltimebtvotes 00:15:00 pollnbvotesbyuser 100 pollresultsuserslist 1 maxpersotext 50 ordering_system mesid post_dateformat ago post_dateformat_hover datetime hide_ip 1 imagetypes jpg,jpeg,gif,png checkmimetypes 1 imagemimetypes image/jpeg,image/jpg,image/gif,image/png imagequality 50 thumbheight 32 thumbwidth 32 hideuserprofileinfo put_empty boxghostmessage 0 userdeletetmessage 0 latestcategory_in 1 topicicons 1 debug 0 catsautosubscribed 0 showbannedreason 0 version_check 1 showthankyou 1 showpopthankyoustats 1 popthankscount 5 mod_see_deleted 0 bbcode_img_secure text listcat_show_moderators 1 lightbox 1 show_list_time 720 show_session_type 0 show_session_starttime 0 userlist_allowed 0 userlist_count_users 1 enable_threaded_layouts 0 category_subscriptions post topic_subscriptions every pubprofile 1 thankyou_max 10 email_recipient_count 0 email_recipient_privacy bcc captcha_post_limit 0 keywords 0 userkeywords 0 image_upload registered file_upload registered topic_layout flat time_to_create_page 1 show_imgfiles_manage_profile 1 hold_newusers_posts 0 hold_guest_posts 0 attachment_limit 8 pickup_category 0 article_display intro send_emails 1 fallback_english 1 cache 1 cache_time 60 iptracking 1 rss_feedburner_url autolink 1 access_component 1 | Joomla! detailed language files installed:Warning: Spoiler!Kunena - AlphaUserPoints Disabled
Kunena - Community Builder Disabled
Kunena - Gravatar Disabled
Kunena - JomSocial Disabled
Kunena - Joomla Enabled: access=1 login=1
Kunena - Kunena Enabled: avatar=1 profile=1
Kunena - UddeIM Disabled
Warning: Spoiler!
Joomla! languages installed: en-GB English (United Kingdom)
Third-party components: None
Third-party SEF components: None
Plugins: None
Modules: None
Please Log in or Create an account to join the conversation.
And (touch wood) you won't have any errors, either.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.
An important point was made by Matias earlier in this topic:
This just goes to show that the problems you've encountered can happen to anyone.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.
The key phrase in the last message posted by Nathan is
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.and now it works
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Kunena doesn't remove database or user files during uninstall. It also prevents older incompatible versions to be installed (prevents data corruption).
Please Log in or Create an account to join the conversation.