collapse

* User Info

 
 
Welcome, Guest. Please login or register.

* Recent Posts

Forum closed by whazzup
[September 25, 2021, 02:56:14 PM]


How do i replace an image file with another image file by Malu
[December 16, 2020, 03:17:02 PM]


Can't get RSG "Show My Galleries" to work by Dampfnudel
[February 25, 2019, 11:01:55 AM]


Change the order of uploaded images in the gallery by whazzup
[February 19, 2019, 10:37:29 PM]


Upload timeout for large galleries (500 images each) by whazzup
[February 11, 2019, 10:07:25 PM]


Greetings from Ronald Smit by whazzup
[January 06, 2019, 03:39:22 PM]


Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]

Author Topic: Converting from 1.5 to 1.6?  (Read 6176 times)

Offline YesSir

  • Newbie
  • *
  • Posts: 5
Converting from 1.5 to 1.6?
« on: May 31, 2011, 11:47:24 PM »
Hi there,

I was wondering, is it possible to convert RSGallery2 form an existing Joomla 1.5 to a 1.6 site? I could not figure it out yet.

Thanks for your help!

Offline YesSir

  • Newbie
  • *
  • Posts: 5
Re: Converting from 1.5 to 1.6?
« Reply #1 on: June 01, 2011, 07:18:52 PM »
Some extra info:

I tried with a 1.5 install and RSGallery2 2.2.0, which I upgraded to Joomla 1.6. After this I installed RSGallery2 3, but my galleries did not appear.

Replacing RSGallery2 with the latest version on Joomla 1.5 also did not work.

Offline YesSir

  • Newbie
  • *
  • Posts: 5
Re: Converting from 1.5 to 1.6?
« Reply #2 on: June 02, 2011, 12:35:45 AM »
Solved it. For future reference, here is how I did it.

Starting with Joomla 1.5 & RSGallery2 2.2.0:

1. Use this guide: http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_1.6
2. Install RSGallery 2 3 on your new 1.6 site
3. Rename the jos_rsgallery2 entries in the database to j16_rsgallery2
4. Copy the images/rsgallery2 from the 1.5 site to a folder in the 1.6 site

Offline mirjam

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 670
Re: Converting from 1.5 to 1.6?
« Reply #3 on: June 02, 2011, 11:33:45 AM »
Thanks YesSir!

In addition:
The guide YesSir mentions uses jUpgrade. jUpgrade uses extension files to handle components, modules, etc. in the migration from J!1.5 to J!1.6. I'm looking into making such an extension.

jUpgrade converts your J!1.5 database tables to J!1.6 database tables in the same database where the new J!1.6 database tables have prefix "j16" (in default J!1.5 installation the prefix is "jos"). As far as I can tell from my first tests jUpgrade does not handle the rsgallery2 tables well (without extension file), therefore step 3 in YesSir's post is needed.

If you don't use jUpgrade you have to export the five #__rsgallery2_xxx tables (where #_ is your prefix and xxx stands for each of the five tables) from the J!1.5 installation and import them in the J!1.6 database, there are no changes in the tables. In addition to that you copy the /JOOMLA15ROOT/images/rsgallery/ folder (and its contents) from the J!1.5 installation to /JOOMLA16ROOT/images/rsgallery/ in the J!1.6 installation. Then install RSGallery2 3 (current version 3RC1).

Note: RSGallery2 v2.x is for Joomla 1.5.x and RSGallery2 v3.x if for Joomla 1.6.x.
With a little boy in the house I don't spend as much time on RSG2 anymore.

I still like RSG2, if you do too, please think about how you can invest some of your time in RSG2... the one remaining coding volunteer (Whazzup) can use your help!

Offline YesSir

  • Newbie
  • *
  • Posts: 5
Re: Converting from 1.5 to 1.6?
« Reply #4 on: June 02, 2011, 12:59:35 PM »
Thanks for the extra info! I think I found one difference in the tables, a field called "alias" which I did not find in the older RSG2 version? I tried to add a picture and this error came up. A reinstall of RSG2 v.3 created this field (in the galleries and files table) and it is solved.

Offline mirjam

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 670
Re: Converting from 1.5 to 1.6?
« Reply #5 on: June 02, 2011, 01:14:23 PM »
Correct: v3 has a field 'alias' for galleries and items, the upgrade mechanism of RSGallery2 should handle the creation of that field in the tables and of the aliases of the galleries and items.

If you have tried a Nightly Build for Joomla 1.5 of SVN 1013 or above you will already have that field.
With a little boy in the house I don't spend as much time on RSG2 anymore.

I still like RSG2, if you do too, please think about how you can invest some of your time in RSG2... the one remaining coding volunteer (Whazzup) can use your help!

Offline mirjam

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 670
Re: Converting from 1.5 to 1.6?
« Reply #6 on: June 03, 2011, 09:18:31 PM »
Extension files for jUpgrade are available (attached). With that the steps that YesSir mentions become
So, no need to copy directories or change table names...

Questions about jUpgrade? Go to the jUpgrade forum.

[A slightly modified zipfile com_jupgrade-1.1.0-with_RSGallery2_extension.zip is attached as well: it contains the above mentioned extensions files for RSGallery2 and the jUpgrade.xml is changed according to a bug submitted here, so you can skip step 1b.]
With a little boy in the house I don't spend as much time on RSG2 anymore.

I still like RSG2, if you do too, please think about how you can invest some of your time in RSG2... the one remaining coding volunteer (Whazzup) can use your help!

Offline YesSir

  • Newbie
  • *
  • Posts: 5
Re: Converting from 1.5 to 1.6?
« Reply #7 on: June 03, 2011, 09:32:17 PM »
Nice, well done!  :)