×
Kunena 5.2.4 and Blue eagle 1.6.4 released (04 Apr 2021)

The Kunena team has announce the arrival of Kunena 5.2.4 [K 5.2.4] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.4

REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with, this template isn't designed to works with Bootstrap 3 and Bootstrap 4.

× 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 Installation fails with "Use of undefined constant KPATH_ADMIN"

More
7 years 8 months ago #1 by Mi
Hi,
I'm new to Kunena. However I expected the setup needs to just load the zip file.

However, after one hour trying to understand what's wrong, I had to give up.

So I downloaded pkg_kunena_v3.0.2_2013-08-18.zip and tried to add to my modules. Please note that I have Joomla 3.1.5 (latest version) WAMP SERVER 2.4 - 65bit (latest version) with Apache 2.4.4, PHP 5.4.12 and MySQL 5.6.12.

As soon and the package starts being uploaded on my server, I get a window with the follwoing error: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php on line 12.

The Whole (long) page follows.

Thanks in advance for any help

Mauro

Kunena Installation Failed!

Sorry, installation failed with following error:

( ! ) Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php on line 12
Call Stack
# Time Memory Function Location
1 0.0003 266816 {main}( ) ..\index.php:0
2 0.0779 5398960 JAdministrator->dispatch( ) ..\index.php:56
3 0.0785 5451400 JComponentHelper::renderComponent( ) ..\application.php:166
4 0.0828 5510816 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.0830 5541456 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\kunena.php' ) ..\helper.php:359
6 0.0833 5551200 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install.php' ) ..\kunena.php:19
7 0.0966 6972776 JControllerLegacy->execute( ) ..\install.php:33
8 0.0966 6972904 KunenaControllerInstall->run( ) ..\legacy.php:722
9 0.4757 8142688 KunenaControllerInstall->runStep( ) ..\controller.php:82
10 0.4757 8143184 call_user_func ( ) ..\controller.php:140
11 0.4757 8143184 KunenaModelInstall->stepDatabase( ) ..\controller.php:140
12 0.4757 8143184 KunenaModelInstall->installDatabase( ) ..\model.php:547
13 0.4773 8390960 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php' ) ..\model.php:661

( ! ) Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php on line 13
Call Stack
# Time Memory Function Location
1 0.0003 266816 {main}( ) ..\index.php:0
2 0.0779 5398960 JAdministrator->dispatch( ) ..\index.php:56
3 0.0785 5451400 JComponentHelper::renderComponent( ) ..\application.php:166
4 0.0828 5510816 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.0830 5541456 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\kunena.php' ) ..\helper.php:359
6 0.0833 5551200 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install.php' ) ..\kunena.php:19
7 0.0966 6972776 JControllerLegacy->execute( ) ..\install.php:33
8 0.0966 6972904 KunenaControllerInstall->run( ) ..\legacy.php:722
9 0.4757 8142688 KunenaControllerInstall->runStep( ) ..\controller.php:82
10 0.4757 8143184 call_user_func ( ) ..\controller.php:140
11 0.4757 8143184 KunenaModelInstall->stepDatabase( ) ..\controller.php:140
12 0.4757 8143184 KunenaModelInstall->installDatabase( ) ..\model.php:547
13 0.4773 8390960 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php' ) ..\model.php:661

( ! ) Warning: DOMDocument::load(): I/O warning : failed to load external entity "file:///C:/wamp/www/cristei26/administrator/KPATH_ADMIN/install/install.xml" in C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php on line 206
Call Stack
# Time Memory Function Location
1 0.0003 266816 {main}( ) ..\index.php:0
2 0.0779 5398960 JAdministrator->dispatch( ) ..\index.php:56
3 0.0785 5451400 JComponentHelper::renderComponent( ) ..\application.php:166
4 0.0828 5510816 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.0830 5541456 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\kunena.php' ) ..\helper.php:359
6 0.0833 5551200 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install.php' ) ..\kunena.php:19
7 0.0966 6972776 JControllerLegacy->execute( ) ..\install.php:33
8 0.0966 6972904 KunenaControllerInstall->run( ) ..\legacy.php:722
9 0.4757 8142688 KunenaControllerInstall->runStep( ) ..\controller.php:82
10 0.4757 8143184 call_user_func ( ) ..\controller.php:140
11 0.4757 8143184 KunenaModelInstall->stepDatabase( ) ..\controller.php:140
12 0.4757 8143184 KunenaModelInstall->installDatabase( ) ..\model.php:547
13 0.4798 8388904 KunenaModelSchema->getCreateSQL( ) ..\model.php:663
14 0.4798 8389360 KunenaModelSchema->getDiffSchema( ) ..\schema.php:122
15 0.4798 8389664 KunenaModelSchema->getXmlSchema( ) ..\schema.php:95
16 0.4798 8389840 KunenaModelSchema->getSchemaFromFile( ) ..\schema.php:80
17 0.4798 8390480 load ( ) ..\schema.php:206

( ! ) Notice: Trying to get property of non-object in C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php on line 281
Call Stack
# Time Memory Function Location
1 0.0003 266816 {main}( ) ..\index.php:0
2 0.0779 5398960 JAdministrator->dispatch( ) ..\index.php:56
3 0.0785 5451400 JComponentHelper::renderComponent( ) ..\application.php:166
4 0.0828 5510816 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.0830 5541456 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\kunena.php' ) ..\helper.php:359
6 0.0833 5551200 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install.php' ) ..\kunena.php:19
7 0.0966 6972776 JControllerLegacy->execute( ) ..\install.php:33
8 0.0966 6972904 KunenaControllerInstall->run( ) ..\legacy.php:722
9 0.4757 8142688 KunenaControllerInstall->runStep( ) ..\controller.php:82
10 0.4757 8143184 call_user_func ( ) ..\controller.php:140
11 0.4757 8143184 KunenaModelInstall->stepDatabase( ) ..\controller.php:140
12 0.4757 8143184 KunenaModelInstall->installDatabase( ) ..\model.php:547
13 0.4798 8388904 KunenaModelSchema->getCreateSQL( ) ..\model.php:663
14 0.4798 8389360 KunenaModelSchema->getDiffSchema( ) ..\schema.php:122
15 0.4814 8409296 KunenaModelSchema->getSchemaDiff( ) ..\schema.php:101

( ! ) Warning: Invalid argument supplied for foreach() in C:\wamp\www\cristei26\administrator\components\com_kunena\install\schema.php on line 296
Call Stack
# Time Memory Function Location
1 0.0003 266816 {main}( ) ..\index.php:0
2 0.0779 5398960 JAdministrator->dispatch( ) ..\index.php:56
3 0.0785 5451400 JComponentHelper::renderComponent( ) ..\application.php:166
4 0.0828 5510816 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.0830 5541456 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\kunena.php' ) ..\helper.php:359
6 0.0833 5551200 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install.php' ) ..\kunena.php:19
7 0.0966 6972776 JControllerLegacy->execute( ) ..\install.php:33
8 0.0966 6972904 KunenaControllerInstall->run( ) ..\legacy.php:722
9 0.4757 8142688 KunenaControllerInstall->runStep( ) ..\controller.php:82
10 0.4757 8143184 call_user_func ( ) ..\controller.php:140
11 0.4757 8143184 KunenaModelInstall->stepDatabase( ) ..\controller.php:140
12 0.4757 8143184 KunenaModelInstall->installDatabase( ) ..\model.php:547
13 0.4798 8388904 KunenaModelSchema->getCreateSQL( ) ..\model.php:663
14 0.4798 8389360 KunenaModelSchema->getDiffSchema( ) ..\schema.php:122
15 0.4814 8409296 KunenaModelSchema->getSchemaDiff( ) ..\schema.php:101
16 0.4824 8411240 KunenaModelSchema->listAllNodes( ) ..\schema.php:281

( ! ) Fatal error: Class 'KunenaRoute' not found in C:\wamp\www\cristei26\administrator\components\com_kunena\install\sql\install\php\sampledata.php on line 147
Call Stack
# Time Memory Function Location
1 0.0003 266816 {main}( ) ..\index.php:0
2 0.0779 5398960 JAdministrator->dispatch( ) ..\index.php:56
3 0.0785 5451400 JComponentHelper::renderComponent( ) ..\application.php:166
4 0.0828 5510816 JComponentHelper::executeComponent( ) ..\helper.php:339
5 0.0830 5541456 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\kunena.php' ) ..\helper.php:359
6 0.0833 5551200 require_once( 'C:\wamp\www\cristei26\administrator\components\com_kunena\install.php' ) ..\kunena.php:19
7 0.0966 6972776 JControllerLegacy->execute( ) ..\install.php:33
8 0.0966 6972904 KunenaControllerInstall->run( ) ..\legacy.php:722
9 0.4933 8411280 KunenaControllerInstall->runStep( ) ..\controller.php:82
10 0.4933 8411776 call_user_func ( ) ..\controller.php:140
11 0.4934 8411776 KunenaModelInstall->stepDatabase( ) ..\controller.php:140
12 0.4934 8411776 KunenaModelInstall->installSampleData( ) ..\model.php:555
13 0.4942 8481912 installSampleData( ) ..\model.php:839

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

More
7 years 8 months ago #2 by xillibit
Hello,

Is it an upgrade or a clean install of Kunena ?

It seems that some Kunena classes aren't loaded correctly, check in your Joomla configuration that tmp and log paths are correct.

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
7 years 8 months ago - 7 years 8 months ago #3 by sozzled
G'day, Mi, and welcome to Kunena.

Did use the installation method shown in the K 3.0 Installation Guide ?

Also please see Support for PC-hosted websites (e.g. WAMP, XAMPP) .
Last edit: 7 years 8 months ago by sozzled.

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

More
7 years 8 months ago #4 by cbrace
I am seeing this error as well. I've tried both v3.0.0 as well as v3.0.2. Fresh install under Joomla v2.5.14.
Sorry, installation failed with following error:
Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in /usr/local/www/nuj/administrator/components/com_kunena/install/schema.php on line 12 Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in /usr/local/www/nuj/administrator/components/com_kunena/install/schema.php on line 13 Notice: Trying to get property of non-object in /usr/local/www/nuj/administrator/components/com_kunena/install/schema.php on line 281 Warning: Invalid argument supplied for foreach() in /usr/local/www/nuj/administrator/components/com_kunena/install/schema.php on line 296 Fatal error: Class 'KunenaRoute' not found in /usr/local/www/nuj/administrator/components/com_kunena/install/sql/install/php/sampledata.php on line 147 Fatal error: Access to undeclared static property: JLoader::$classes in /usr/local/www/nuj/libraries/loader.php on line 195

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

More
7 years 8 months ago #5 by xillibit
Hello,

Check if check that System - Kunena Forum plugin has been turned on in your system. It's required to get Kunena to work.

Then when you have enabled it, go to Kunena backend the isntallation process will continue by itself.

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
7 years 7 months ago - 7 years 7 months ago #6 by Prototyp 206
Hello, when i want to sort the categories, it doesn't save. And i also enabled SEF but links doesn't work and look like "teetown.de/en/component/kunena/about-us"
I tried with several browsers.
Some idea anyone?

My config:
This message contains confidential information

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

Joomla! SEF: Enabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 60 seconds | Max execution memory: 128M | Max file upload: 101M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : gantry | author: RocketTheme, LLC | version: 4.1.12 | creationdate: Unknown

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 3.0.2 | creationdate: 2013-08-18

Kunena version detailed: Kunena 3.0.2 | 2013-08-18 [ Nocturne ]
| Kunena detailed configuration:

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

Third-party components: Jomsocial 3.0.3

Third-party SEF components: None

Plugins: JomSocial - My Kunena Forum Menu 3.0.3 | JomSocial - My Kunena Forum Posts 3.0.3 | JomSocial - Kunena Groups 3.0.3

Modules: None

Last edit: 7 years 7 months ago by sozzled. Reason: Topics merged; unrelated question struck out

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

More
7 years 7 months ago - 7 years 7 months ago #7 by Prototyp 206
I tried to reinstall, but aborts now with an fatal error

Installation mit folgendem Fehler fehlgeschlagen:
Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in /var/customers/webs/teeworlds/administrator/components/com_kunena/install/schema.php on line 12
Warning: Spoiler!
Last edit: 7 years 7 months ago by sozzled. Reason: Call stack hidden to conserve screen real estate

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

More
7 years 7 months ago #8 by xillibit
Hello,

Check if check that System - Kunena Forum plugin has been turned on in your system. It's required to get Kunena to work.

Then when you have enabled it, go to Kunena backend the isntallation process will continue by itself.

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
7 years 7 months ago - 7 years 7 months ago #9 by sozzled
Prototyp 206: Has your problem - this problem - been resolved?
Last edit: 7 years 7 months ago by sozzled.

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

More
7 years 7 months ago #10 by Prototyp 206
Well System - Kunena Forum was disabled. Don't know why, but now it works

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.246 seconds