Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials (jReviews 2.0)
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
CSV Import for Joomla and jReviews
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 09:12:30 AM
21676 Posts in 4952 Topics by 2840 Members
Latest Member: gpreet9
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  jReviews 2.x  |  Installation and configuration  |  Upgrading from jReviews 1.x in Joomla 1.0.x to jReviews 2.0 in Joomla 1.5.x « previous next »
Pages: [1] 2
Author Topic: Upgrading from jReviews 1.x in Joomla 1.0.x to jReviews 2.0 in Joomla 1.5.x  (Read 1874 times)
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8597


« on: May 17, 2008, 11:11:02 PM »

I apologize for the lack of documentation, but I preferred to release the beta as soon as possible since so many users were waiting for it. I've only migrated one jReviews installation and that was the demo site. If you would like to share your steps, then please do so you can help others. Here's what I did using phpMyAdmin:

1. Export core table data (not structure) using the complete insert option. Complete insert is important because the table fields are somewhat different. You only need to export data for the core tables:

jos_content, jos_categories, jos_sections, jos_content_frontpage, jos_content_rating (optional if you are using core ratings anywhere on your site).

Alternatively you can use the migrator application in J1.5, but I haven't used this so you need to hit the Joomla.org site for that.

Now import it in your new site.

2. Export jreviews tables including table structure and data and select the drop tables option. By now you should've already installed jReviews on your new site. Because the table structure is exactly the same and because some tables contain columns for custom fields, you must use the drop tables options so they are re-created with the correct columns.

Now import it in your new site.

This works well for english, but might produce problems for languages with special characters if you are moving from a non-ut8 site. Unfortunately I don't know the steps to convert from non-utf8 to utf8 at the moment. If anyone does this, please share.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
andreasa
Hero Member
*****
Offline Offline

Posts: 271



WWW
« Reply #1 on: May 18, 2008, 04:25:31 AM »

Just for your information:

Migrator from 1.0 to 1.5
This need used on Joomla 1.0, with this component you do a dump of your db and in the mean time you convert some table (jos_content for ex.) in the new Joomla 1.5 format (very few changes but necessary).
You need:
install the migrator on joomla 1.0
do the dump
start the installation process of Joomla 1.5
load the dump during the installation process.

In my case some time all fine some time not.

You can use also
mtwMigrator
This is a component for Joomla! 1.5, so you need install Joomla! 1.5 normally and then install this component and follows the instruction.
In my opinion is better, but please do a lot of test locally before , in both case is not so easy, especially if you have a lot of content, menu, categories and your site isn't in English.  Wink

I hope this can help someone.  Smiley
Logged
annemoss
Full Member
***
Offline Offline

Posts: 56



WWW
« Reply #2 on: July 05, 2008, 09:59:48 PM »

I have a clean install of joomla 1.5.  I was under the impression that jr reviews would not be difficult to install. Is it difficult with this release?
Logged

Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8597


« Reply #3 on: July 06, 2008, 10:38:45 AM »

I have a clean install of joomla 1.5.  I was under the impression that jr reviews would not be difficult to install. Is it difficult with this release?
With a clean install you just need to install jReviews and that's it. If you are migrating from another version, then you need to follow the steps outlined in this post.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
annemoss
Full Member
***
Offline Offline

Posts: 56



WWW
« Reply #4 on: July 06, 2008, 11:23:28 AM »

Thanks.
Logged

nigelbywater
Newbie
*
Offline Offline

Posts: 1


« Reply #5 on: August 08, 2008, 05:48:17 PM »

My Joomla v1.5 site is not a fresh install and has a lot of content so i need to update the site with my JReviews content from J1.0.  What's the easiest way of doing this?
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8597


« Reply #6 on: August 08, 2008, 10:07:42 PM »

That is definitely more complicated, even without jReviews. For instance if you have sections and categories with certain ids in your Joomla 1.0 site that already exist in your Joomla 1.5 you need to change those ids which needs to be changed in the sections table, category table and content table for the content item belonging to those categories. The same goes for content ids, and that affects the jReviews comments table which stores those ids for each review.

This is a complicated migration, without even considering jReviews, if you have overlapping section,category and content ids and you should hire someone with Joomla and mysql expertise to help you with it.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
kakemann
Newbie
*
Offline Offline

Posts: 10


« Reply #7 on: August 27, 2008, 06:53:15 AM »

Nice tutorial, but I'm running into problems.
The Joomla migration process is finished and all Core content is there.

I have installed Jreviews.

If I have understood correctly I can drop all the jreviews tables in the databse and import all the old ones from my old install because structure is the same.

I can see all of my old content from the Joomla 1.0 install in PHPmyadmin, but they are called bak_jreviews..... and so on.

I first tried to export one of these tables (comments table) just renamed the file from bak_jreviews_comments.sql to jos_jreviews_comments .sql.
Then I tried to import it but it wouldn't work.

So how can I change the bak prefix so the table is excatly as it should, and so it will be imported successfully?

Hope this makes sense, and that someone are able to tell me how to get these old bak tables in.


« Last Edit: August 27, 2008, 07:09:52 AM by kakemann » Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8597


« Reply #8 on: August 27, 2008, 08:05:28 AM »

Why don't you rename the table from bak_ to jos_ ? If you export it, you need to edit it and do a search replace of bak_ for jos_ because changing the file name doesn't do anything to the table names.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
kakemann
Newbie
*
Offline Offline

Posts: 10


« Reply #9 on: August 27, 2008, 08:32:35 AM »

Do I need some kind of a program to edit it, or do you mean with notepad? Or do you mean just to rename the filename. I tried to rename the filename, ut it seems like there are some other stuff that causes error when trying to import. It won't let me.
Logged
kakemann
Newbie
*
Offline Offline

Posts: 10


« Reply #10 on: August 27, 2008, 09:14:52 AM »

Hey!


Easy!

Used Dreamweaver and replaced all bak.... with jos....

Works!
Logged
filmforward
Full Member
***
Offline Offline

Posts: 67


« Reply #11 on: September 25, 2008, 06:42:36 AM »

Hi!

I´ve got a few questions before I start exporting from 1.x in joomla 1.0 to jReviews 2.0 in Joomla 1.5:

I´ve migrate the content allready to my new 1.5-site. It works and all sections, categories and the whole content works fine! Smiley

Now I want to export the jReviews-tables! I´m not a phpmyadmin-profi and so I´ve got some questions about it:

I´ve checked all jReviews-tables to export them - but I don´t know which checkboxes and settings in phpmyadmin have to checked in and wich one not. There is a picture added at this posting, so you can see my problems!

Could someone please tell me details about the export? That would be fine! Smiley

The other question: How to import the downloaded tables? Do I´ve to do this by clicking on SQL in phpmyadmin and then upload the downloaded sql-file? What do I have to attend at this step?

- and here is question and problem number three:

when I download the sql-file, the file has a size of over 30mb!!! The problem ist the table jos_jreviews_captcha! Ther are so many entries... - and the upload-limit for the sql-file is 9MB! So do I have to export the jos_jreviews_captcha neccessarily? What is the function of this table and why has it such a big size?

I hope for an answer! Smiley

best regards,

filmforward
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8597


« Reply #12 on: September 25, 2008, 08:33:44 AM »

Hi,

You can ignore the captcha table. This is used to store temporary information and should actually be cleared automatically, so obviously something is not right.

For the export:
1) Under Struktur, check boxes 1,3,4 as you have on your image
2) Under Data, check first and last boxes only

Once you export you will have an sql file or compressed sql file and you can import by selecting this file or copying the contents in the sql window, but given the size it's better to import using the file.

The most important thing here for data integrity is that the ids of the articles in the jos_content table still match the pids of the reviews in the jreviews_comments_table. Otherwise your reviews will be assigned to random articles.

If you are having problem with the size, you can export the tables separately as well.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
rusoaie
Newbie
*
Offline Offline

Posts: 1


« Reply #13 on: October 21, 2008, 05:29:59 AM »

Hello, Alejandro!

Can you please write another post with the exact mysql tables needed to be exported from Joomla 1/Jreviews 1 and then imported in Joomla 1.5/Jreviews 2 with the exact modifications needed to be done to the sql file before the import (columns to be added/deleted)?

Thank you!
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8597


« Reply #14 on: October 21, 2008, 08:32:49 AM »

The jReviews tables didn't change at all. My recommendation is you follow the steps in the original post where all tables are listed. Don't export the table structure, just the data, and use the complete insert option:

Quote
1. Export core table data (not structure) using the complete insert option. Complete insert is important because the table fields are somewhat different. You only need to export data for the core tables:

jos_content, jos_categories, jos_sections, jos_content_frontpage, jos_content_rating (optional if you are using core ratings anywhere on your site).

Now import it in your new site.

2. Export jreviews tables including table structure and data and select the drop tables option. By now you should've already installed jReviews on your new site. Because the table structure is exactly the same and because some tables contain columns for custom fields, you must use the drop tables options so they are re-created with the correct columns.

In point 2. you can also export only the data if you have already installed jReviews in the new site.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
Pages: [1] 2
« previous next »
    Jump to: