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

Solved Warning: DOMDocument::load(): I/O warning : failed to load external entity "../public_html/administrator/KPATH_ADMIN/install/install.xml" in ../public_html/administrator/components/com_kunena/install/schema.php on line 206

More
11 years 7 months ago #159553 by tiramizu
I´m sorry but I have the same problem and get the attached error message after installing. I made a fresh installation with no old database entries. I use J3.3.6 and JomSocial.
After getting this error message and a broken installation I uninstalled and checked the database and the webspace of old kunena files. Nothing left. After three times trying to install and reading this forum, I was not able to fix this problem - no plugins to activate etc. What else can I do?

The components menu has several Kunena-Links - but all of them just start the installation process again. The needed pluginas are all active and all components are up-to-date.

And for whom is interested - my errors are:
Warning: DOMDocument::load(): I/O warning : failed to load external entity "/var/www/vhosts/b4netzwerk.de/httpdocs/websites/b4netzwerk.neu/administrator/KPATH_ADMIN/install/install.xml" in /var/www/vhosts/b4netzwerk.de/httpdocs/websites/b4netzwerk.neu/administrator/components/com_kunena/install/schema.php on line 206

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/b4netzwerk.de/httpdocs/websites/b4netzwerk.neu/administrator/components/com_kunena/install/schema.php on line 296

Fatal error: Class 'KunenaRoute' not found in /var/www/vhosts/b4netzwerk.de/httpdocs/websites/b4netzwerk.neu/administrator/components/com_kunena/install/sql/install/php/sampledata.php on line 147

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

More
11 years 6 months ago #159702 by theITfactor

Matias wrote: The above errors mean that for some unknown reason api.php inside administrator folder doesn't either load properly or has wrong contents in it.

There is another thing I suggest: compeletely remove Kunena, unzip the archive and try to install zip files inside /packages manually so that you will install com_kunena as the last package. Before installing the component itself:

* make sure that components/com_kunena and administrator/components/com_kunena do not exist
* go to the plugins and find System - Kunena Forum and enable it

After that the installation should succeed; if not, let me know.


I'm having the exact same problems as everyone else when attempting a fresh install of 3.0.6. I tried all of the above, including clearing the cache, to no avail. The System - Kunena Forum plugin is definitely enabled but I get the same errors everyone else is getting when I try to access Kunena in the administrator components backend:
Code:
Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in /******/administrator/components/com_kunena/install/schema.php on line 12 Notice: Use of undefined constant KPATH_ADMIN - assumed 'KPATH_ADMIN' in /******/administrator/components/com_kunena/install/schema.php on line 13 Warning: DOMDocument::load(): I/O warning : failed to load external entity "/******/administrator/KPATH_ADMIN/install/install.xml" in /******/administrator/components/com_kunena/install/schema.php on line 206 Notice: Trying to get property of non-object in /******/administrator/components/com_kunena/install/schema.php on line 281 Warning: Invalid argument supplied for foreach() in /******/administrator/components/com_kunena/install/schema.php on line 296 Fatal error: Class 'KunenaFactory' not found in /******/administrator/components/com_kunena/install/model.php on line 699

Extracting the install package and installing each one individually starting with the plugin gave no errors - it wasn't until I tried to access the component in the backend that it gave the above errors.

One curious thing I noticed is that during the install a folder called "KPATH_ADMIN" was created in the /administrator directory, and it contains an empty 0 byte "install.php" file. Is there an error in the install script somewhere that is accidentally creating this directory and file instead of what it should be doing?

Any help would be much appreciated.

Code:
Database Version 5.5.38 Database Collation utf8_general_ci PHP Version 5.5.17 Web Server Apache/2.4.10 (Amazon) PHP/5.5.17 WebServer to PHP Interface apache2handler Joomla! Version Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

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

More
11 years 6 months ago #159952 by spider22
Hello Team:

I am getting following error during install.... fresh joomla install and first time install this forum software


Kunena Installation Failed!

Sorry, installation failed with following error:

Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "/home1/www/administrator/KPATH_ADMIN/install/install.xml" in /home1/www/administrator/components/com_kunena/install/schema.php on line 206

Warning: Invalid argument supplied for foreach() in /home1/www/administrator/components/com_kunena/install/schema.php on line 296

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

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

More
11 years 6 months ago - 11 years 6 months ago #159955 by theITfactor
Seeing as many people are getting this error, I think it's safe to say it's not an isolated incident and deserves a response from the devs...

Something is definitely botched in that a KPATH_ADMIN directory is being created during install when I highly doubt it should be anything but a variable...

spider22 wrote: Hello Team:

I am getting following error during install.... fresh joomla install and first time install this forum software


Kunena Installation Failed!

Sorry, installation failed with following error:

Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "/home1/www/administrator/KPATH_ADMIN/install/install.xml" in /home1/www/administrator/components/com_kunena/install/schema.php on line 206

Warning: Invalid argument supplied for foreach() in /home1/www/administrator/components/com_kunena/install/schema.php on line 296

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

Last edit: 11 years 6 months ago by theITfactor.

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

More
11 years 6 months ago - 11 years 6 months ago #159960 by sozzled

theITfactor wrote: Seeing as many people are getting this error, I think it's safe to say it's not an isolated incident and deserves a response from the devs...

I completely agree with you. This matter deserves a response from the development team and I would enjoy seeing what team members have to write. :)

theITfactor wrote: Something is definitely botched in that a KPATH_ADMIN directory is being created during install when I highly doubt it should be anything but a variable...

I have also seen this (in one case—one of my websites—where I have Kunena installed) and I, too, am curious how this folder was created. Most of the time—when I upgrade from one version of Kunena to another—I use the recommended upgrade method described in the Wiki ( K 3.0 Upgrade Guide ) instead of the "automatic" method. I use the recommended method because there have been many questions asked (and problems reported) over the years by people who rely on "automated" approaches instead of the using something that is "manual" and (perhaps) more reliable. I think it's better to be safe—use the recommended method—than sorry.

However, as we have seen from several contributions in this topic, the problem is not isolated only to upgrading Kunena. The problem seems to also occur with new installations.

I'm not sure why I have, in one case, a ../administrator/KPATH_ADMIN folder (and this folder, in my case, has one file called install.php). It may be that I ugraded using the "automatic" method or it was left-over from some other upgrade; I really don't know the answer. The only thing I can say (in my case) is that I was able to successfully upgrade Kunena after trying to the process again.

I must have performed more than 500 updates of Kunena. I can't remember any time when I had a problem that was not the fault of something I had done wrong.

Perhaps the developers don't know why this happens. Maybe it's one of those strange mysteries that will never be properly understood? I think, though, that it's probably more important to work around the problem —at least to give people some relief—than it is necessarily to understand the root cause and prevent it from happening in future.

In summary, I agree with you that this topic deserves a response from the Kunena developers. :)
Last edit: 11 years 6 months ago by sozzled.

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

Time to create page: 0.262 seconds