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
This category is for K 1.7 issues only.
To get started please see
K 1.6 & K 1.7 Installation Guide
in our
Documentation Wiki
Question Kunena Upgrade 1.0.11 to 1.6.3
15 years 2 months ago #86523
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: Kunena Upgrade 1.0.11 to 1.6.3
This topic shoudl help :
www.kunena.org/forum/172-k-16-installati...erwer-with-mysql-558
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.
15 years 2 months ago #86526
by CSpaced
Not so much, I've already read through that thread and unfortunately there is no new information in there than what I have already posted.
I'm trying to find out where the "TYPE=MyISAM" command is being issued from during the migration attempt, so that I can go and change it to "ENGINE=MyISAM".
Thanks.
Replied by CSpaced on topic Re: Kunena Upgrade 1.0.11 to 1.6.3
xillibit wrote: This topic shoudl help : www.kunena.org/forum/172-k-16-installati...erwer-with-mysql-558
Not so much, I've already read through that thread and unfortunately there is no new information in there than what I have already posted.
I'm trying to find out where the "TYPE=MyISAM" command is being issued from during the migration attempt, so that I can go and change it to "ENGINE=MyISAM".
Thanks.
Please Log in or Create an account to join the conversation.
15 years 2 months ago - 15 years 2 months ago #86643
by CSpaced
Replied by CSpaced on topic Re: Kunena Upgrade 1.0.11 to 1.6.3
I'm posting this for anyone else that finds themselves in the position I was in.
I've completed my upgrades without any problems, it was relatively straight forward, and I'm certainly glad I didn't pay someone else to do it. I tested the upgrade on a local server, but if you don't have one you can just create a folder on your live server and install the new versions there.
That was it, I was now running Joomla 1.5 and Kunena 1.6.3 with all the data and users from the previous versions working correctly.
A few thoughts
After upgrading Kunena you lose your configuration settings, so in retrospect it may not be necessary to manually create the jos_fb_config tables.
The transition of Joomla will mess up your page layouts, you will more than likely need to find/create a new Joomla template and edit your configuration to make it all fit.
Creating a new folder on the live server and installing/migrating there was the way to go. I was able to check and make sure everything worked ok, and then simply remove the old Joomla installation and move the new installation into the root folder.
Make sure you back everything up before trying anything, just to be on the safe side.
Issues
On my local server I am running PHP version 5.5.8, and ran into an error when trying to use the migrate option in the Kunena 1.6.3 installation. This was a result of a script using the outdated "TYPE=MyISAM". The script should use "ENGINE=MyISAM". I have no idea where this script was located and was unable to update it. However my live server is running PHP V5.2.14, so I performed the upgrade on the live server and didn't have this issue. Had my live server been running PHP V5.5.8, I would have had to hunt down this script before performing the upgrade.
I've completed my upgrades without any problems, it was relatively straight forward, and I'm certainly glad I didn't pay someone else to do it. I tested the upgrade on a local server, but if you don't have one you can just create a folder on your live server and install the new versions there.
- I started out with Joomla 1.0.x and Kunena 1.0.11, and needed to update both Joomla and Kunena.
- I installed a fresh copy of Joomla 1.5 with a new database.(in a seperate folder from your live joomla installation!)
- I installed Kunena 1.0.11.
- I installed the component mtwmigrator and used it to bring my old sites info over to the new site. While mtwmigrator may work to bring over the Kunena 1.0.11 database, I did not try it.
- Using phpmyadmin, I manually exported the kunena database files from the old database and saved them locally. You must check the "add drop table" when you do this. The prefix for the Kunena tables is jos_fb_*
- Using phpmyadmin, I selected the new database and manually imported the Kunena database files into the corresponding tables. Two of the tables needed to be created manually, jos_fb_config and jos_fb_config_backup.
- I uploaded Kunena 1.6.3, and selected the migrate option during the install. This successfully migrated all the 1.0.11 database files over to the new version of Kunena 1.6.3. Kudos to whoever wrote that script.
- Remove old installation and move new installation to the root folder.
That was it, I was now running Joomla 1.5 and Kunena 1.6.3 with all the data and users from the previous versions working correctly.
A few thoughts
After upgrading Kunena you lose your configuration settings, so in retrospect it may not be necessary to manually create the jos_fb_config tables.
The transition of Joomla will mess up your page layouts, you will more than likely need to find/create a new Joomla template and edit your configuration to make it all fit.
Creating a new folder on the live server and installing/migrating there was the way to go. I was able to check and make sure everything worked ok, and then simply remove the old Joomla installation and move the new installation into the root folder.
Make sure you back everything up before trying anything, just to be on the safe side.
Issues
On my local server I am running PHP version 5.5.8, and ran into an error when trying to use the migrate option in the Kunena 1.6.3 installation. This was a result of a script using the outdated "TYPE=MyISAM". The script should use "ENGINE=MyISAM". I have no idea where this script was located and was unable to update it. However my live server is running PHP V5.2.14, so I performed the upgrade on the live server and didn't have this issue. Had my live server been running PHP V5.5.8, I would have had to hunt down this script before performing the upgrade.
Last edit: 15 years 2 months ago by CSpaced.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #90184
by thalion
Replied by thalion on topic Re: Kunena Upgrade 1.0.11 to 1.6.3
I found a solution.
Open file
/install/model.php
under Admin Kunena folder, find this function:
Basically, this function recreate a table from an old table's structure. So it uses old syntax.
After this row (or any similar row):
add:
Do not reload the error page on your web browser; instead, go back and click again on migrate button.
This should work.
Open file
/install/model.php
under Admin Kunena folder, find this function:
Code:
protected function migrateTable
Basically, this function recreate a table from an old table's structure. So it uses old syntax.
After this row (or any similar row):
Code:
$create = preg_replace('/COLLATE [\w\d_]+/', '', $create);
add:
Code:
$create = str_replace(" TYPE=", " ENGINE=", $create);
Do not reload the error page on your web browser; instead, go back and click again on migrate button.
This should work.
Please Log in or Create an account to join the conversation.
Time to create page: 0.228 seconds