This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JForum and the fly likes upgrade from 2.0.2 to 2.1.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "upgrade from 2.0.2 to 2.1.6" Watch "upgrade from 2.0.2 to 2.1.6" New topic
Author

upgrade from 2.0.2 to 2.1.6

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I am running JForum 2.0.2 for a long time, really like it. Now I am trying to upgrade it to 2.1.6, to have the uploading images feature.

I have no problem with the new installation of 2.1.6. But when I try to import data from the old database, I can't make it work. What's the normal procedure to upgrade JForum from 2.0.2 to 2.1.6? Thanks!
[originally posted on jforum.net by dostoevsky]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
dostoevsky wrote:I am running JForum 2.0.2 for a long time, really like it. Now I am trying to upgrade it to 2.1.6, to have the uploading images feature.

I have no problem with the new installation of 2.1.6. But when I try to import data from the old database, I can't make it work. What's the normal procedure to upgrade JForum from 2.0.2 to 2.1.6? Thanks!


I guess that you are running on mysql?

In the /upgrade directory in 2.1.6 you will find upgrade scripts. You will have to run all the scripts from 2.0.2 up til 2.1.6 in the right order (2.0.2_to.2.1 first and so on)

:!: Please make a backup of your database first !!!

Also go through the configuration files to see that everything is the way you want it.
[originally posted on jforum.net by lazee]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I have a copy of JForum 2.1.4, but can't find the instruction for upgrading 2.0.2 to 2.1.4.

I tried to install 2.1.6, then drop the jforum database, restore the running 2.0.2 database, then run a script to modify the database structure from 2.0.2 to 2.1.6 (I write the script by myself by comparing the mysql_db_struct.sql files). But it does not work, no category and forum show up, either in forum index or admin index. But I can see all the users and groups though in admin index view...

I also tried to install 2.1.6, then restore the 2.0.2 database into it, still not working, same problem, no category and forum show up, although I can see all data are imported into the mysql jforum database.

By the way, in your 2.1.4 to 2.1.6 instruction, "merging config file", do you mean modify the 2.1.6 config files according to 2.1.4 config files?

More help please!
[originally posted on jforum.net by dostoevsky]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Have you tried to configure the permissions again? Admin Panel -> Groups -> Permissions

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rafael Steil wrote:Have you tried to configure the permissions again? Admin Panel -> Groups -> Permissions

Rafael


This trick works! Thanks a lot Rafael!

But I met another problem, can't upload file larger than 100K. Please see my another post,
http://www.coderanch.com/t/576841 .
[originally posted on jforum.net by dostoevsky]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: upgrade from 2.0.2 to 2.1.6