- Posts: 3722
COMMUNITY FORUM
Moving from j1.5.23/K2 2.4.1 to j1.7.1/K2 2.5
- william white
-
Topic Author
- Offline
- Platinum Member
Less
More
13 years 7 months ago #56789
by william white
Moving from j1.5.23/K2 2.4.1 to j1.7.1/K2 2.5 was created by william white
Moving from Joomla 1.5.23/K2 2.4.1 to Joomla 1.7.1/K2 2.5
(this is a work in progress and will be updated)
Please backup your site (akeebabackup is the way to go)
Download and install K2 2.5 right on top of your existing 2.4.1 K2 installation
Check the backend of K2, you will see it is new and the dashboard no longer loads with the administrator but is found
under the "components" menu.
Download and install jUpgrade (registar at
Enable mootools system upgrade
Run jupgrade
Test the upgrade by typing yoursite/jupgrade to see the front end - notice that any menu links to k2 return 404 error
Log into the backend of the upgraded site - yoursite/jupgrade/administrator
Notice that there is no K2 component
Install the latest K2 2.5 in this new site
Go to K2 from Joomla Components menu - check Items - they should all be there
Go to your K2 Categories - Set them to Public in the access level
Go to your K2 Items - Set them to Public in the access level
Test your K2 Menu link - it should work
Delete all the files in your site root except the jupgrade directory
Move all the files in the jupgrade directory to your site root directory
Now address your site as yoursite and yoursite/administrator
Ok 1.7.1 and 2.5 is working and the task of upgrading all other components, plugins, and templating begins!
(this is a work in progress and will be updated)
Please backup your site (akeebabackup is the way to go)
Download and install K2 2.5 right on top of your existing 2.4.1 K2 installation
Check the backend of K2, you will see it is new and the dashboard no longer loads with the administrator but is found
under the "components" menu.
Download and install jUpgrade (registar at
Enable mootools system upgrade
Run jupgrade
Test the upgrade by typing yoursite/jupgrade to see the front end - notice that any menu links to k2 return 404 error
Log into the backend of the upgraded site - yoursite/jupgrade/administrator
Notice that there is no K2 component
Install the latest K2 2.5 in this new site
Go to K2 from Joomla Components menu - check Items - they should all be there
Go to your K2 Categories - Set them to Public in the access level
Go to your K2 Items - Set them to Public in the access level
Test your K2 Menu link - it should work
Delete all the files in your site root except the jupgrade directory
Move all the files in the jupgrade directory to your site root directory
Now address your site as yoursite and yoursite/administrator
Ok 1.7.1 and 2.5 is working and the task of upgrading all other components, plugins, and templating begins!
Please Log in or Create an account to join the conversation.
- GertJan van Schuppen
-
- Offline
- New Member
Less
More
- Posts: 17
13 years 7 months ago #56790
by GertJan van Schuppen
Replied by GertJan van Schuppen on topic Re: Moving from j1.5.23/K2 2.4.1 to j1.7.1/K2 2.5
Had also some troubles with the not being able to see the items.
Have to turn on the Access level.
As I have an enormous ammount of articles... is there a way to do it in 1 step?
Or else I have to set the Access level to Public on 3,071 items :) HELP :)
Have to turn on the Access level.
As I have an enormous ammount of articles... is there a way to do it in 1 step?
Or else I have to set the Access level to Public on 3,071 items :) HELP :)
Please Log in or Create an account to join the conversation.
- william white
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 7 months ago #56791
by william white
Replied by william white on topic Re: Moving from j1.5.23/K2 2.4.1 to j1.7.1/K2 2.5
Backup first
For the item table with phpmyadmin use
UPDATE `ex15`.`j17_k2_items` SET `access` = '1' WHERE `j17_k2_items`.`id` >0;
changing the ex15 and j17_k2_items to your database and table names
For the item table with phpmyadmin use
UPDATE `ex15`.`j17_k2_items` SET `access` = '1' WHERE `j17_k2_items`.`id` >0;
changing the ex15 and j17_k2_items to your database and table names
Please Log in or Create an account to join the conversation.
- william white
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 7 months ago #56792
by william white
Replied by william white on topic Re: Moving from j1.5.23/K2 2.4.1 to j1.7.1/K2 2.5
Again Backup First
For all the K2 categoires use phpmyadmin
UPDATE `ex15`.`j17_k2_categories` SET `access` = '1' WHERE `j17_k2_categories`.`id` =1;
replacing ex15 and j17_k2_categories with your database and table name
For all the K2 categoires use phpmyadmin
UPDATE `ex15`.`j17_k2_categories` SET `access` = '1' WHERE `j17_k2_categories`.`id` =1;
replacing ex15 and j17_k2_categories with your database and table name
Please Log in or Create an account to join the conversation.
- Olti Buzi
-
- Offline
- New Member
Less
More
- Posts: 9
13 years 7 months ago #56793
by Olti Buzi
Replied by Olti Buzi on topic Re: Moving from j1.5.23/K2 2.4.1 to j1.7.1/K2 2.5
It's not sufficient...at least for my website.
I tried to open and resave again an article and than it would be OK (I could see again the article on my website). If firstly the category didn't show the exact number of the articles, it would show it after I resaved the article.
The changes I see on database on j17_k2_items.params column are
Old: itemImgSize=
itemImageMainCaption=
itemImageMainCredits=
itemIntroText=
itemFullText=....
New: {"catItemTitle":"","catItemTitleLinked":"","catItemFeaturedNotice":"","catItemAuthor":"",...}
I don't know if also the params column for each article should be updated...
I tried to open and resave again an article and than it would be OK (I could see again the article on my website). If firstly the category didn't show the exact number of the articles, it would show it after I resaved the article.
The changes I see on database on j17_k2_items.params column are
Old: itemImgSize=
itemImageMainCaption=
itemImageMainCredits=
itemIntroText=
itemFullText=....
New: {"catItemTitle":"","catItemTitleLinked":"","catItemFeaturedNotice":"","catItemAuthor":"",...}
I don't know if also the params column for each article should be updated...
Please Log in or Create an account to join the conversation.