Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Convertor Script for upgrading from 7.x to 8 beta1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Convertor Script for upgrading from 7.x to 8 beta1

 Post Reply Post Reply Page  123>
Author
Cem Alacayir View Drop Down
Newbie
Newbie
Avatar

Joined: 15 January 2006
Location: Turkey
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cem Alacayir Quote  Post ReplyReply Direct Link To This Post Topic: Convertor Script for upgrading from 7.x to 8 beta1
    Posted: 15 January 2006 at 8:44am

I wrote a ASP script (updateDB.asp) for upgrading Access database from version 7.x to version 8 beta1. I have not tested with SQL Server or other versions, I think it will probably fail with them.

You can download the script from here
 
Update procedure:
1. Install version 8 beta1 package and test if it works ok with the default db.
2. Put your old 7.x mdb file in the forum8\database folder. Make sure you have a backup copy of your old database before proceeding.
3. Open forum8\includes\database_configuration.asp and edit the variable strDbPathAndName  to refer to the 7.x mdb file.
4. Put updateDB.asp file in the root of your forum folder (forum8\updateDB.asp).
5. Run forum8\updateDB.asp , the script will change the structure of the db and insert some required data.
6. After the script finishes, you will have a working v8 forum.
7. Probably you won't be able to see the forum titles on the main page especially as a guest. This is because the permissions system is changed.
You will need to examine and set group permissions on the forum administration area manually.
 
I have upgraded my v7.96 database successfully, hope it works for you too.
 


Edited by Cem Alacayir - 16 January 2006 at 10:29am
Back to Top
superlative View Drop Down
Groupie
Groupie

Not Comparative, I m Superlative :)

Joined: 26 November 2004
Location: Turkey
Status: Offline
Points: 125
Post Options Post Options   Thanks (0) Thanks(0)   Quote superlative Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2006 at 9:25am
Good job. I tested it works.Clap I will referer my [Pre-Upgrade Works] My implement & explain how to topic to this topic.
 
But some small problems. New forum permissions not apply old db. You must set manually forum permissions. After run this script, i can not see forums in the main forum page. For mor information check above link.
Back to Top
mass View Drop Down
Groupie
Groupie
Avatar

Joined: 16 April 2002
Location: Egypt
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote mass Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2006 at 12:26pm
good Jop Thumbs Up I well test today
Back to Top
Silvereye View Drop Down
Newbie
Newbie
Avatar

Joined: 15 January 2006
Location: Sweden
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Silvereye Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2006 at 6:03pm
I followed your instructions but i couldn´t make it work. When trying to access a forum i get this message:
 
Quote Microsoft JET Database Engine (0x80040E07)
Syntaxfel i datum i frågeuttrycket 'tblThread.Author_ID=tblAuthor.Author_ID AND LastThread.Author_ID=LastAuthor.Author_ID AND tblTopic.Start_Thread_ID=tblThread.Thread_ID AND tblTopic.Last_Thread_ID=LastThread.Thread_ID AND (tblTopic.Forum_ID=2 OR (tblTopic.Priority=3) OR (tblTopic.Moved_ID'.
/forum/forum_topics.asp, line 371
 
Great job anyway! Makes things alot easyer with a script like this.
Back to Top
graper View Drop Down
Groupie
Groupie


Joined: 07 April 2005
Location: China
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote graper Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2006 at 12:17am
GOOD I well test today
WWF论坛讨论QQ群:2652358
WWF论坛讨论:Http://Www.CNWWF.Com/Forum/
Back to Top
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2006 at 7:44am
It upgraded successfuly but doesn't show any forum on the main page, in admin area it shows wverything ok but not in forum main page. 
Back to Top
vassabi View Drop Down
Groupie
Groupie


Joined: 13 January 2006
Status: Offline
Points: 87
Post Options Post Options   Thanks (0) Thanks(0)   Quote vassabi Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2006 at 8:01am
I got this error when posting new message after converting

The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
/norq.net/forum/new_post.asp, line 824

Back to Top
superlative View Drop Down
Groupie
Groupie

Not Comparative, I m Superlative :)

Joined: 26 November 2004
Location: Turkey
Status: Offline
Points: 125
Post Options Post Options   Thanks (0) Thanks(0)   Quote superlative Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2006 at 9:09am
Originally posted by vassabi vassabi wrote:

It upgraded successfuly but doesn't show any forum on the main page, in admin area it shows wverything ok but not in forum main page. 
 
Check it my above message ^
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.