Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Rescue an old version?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Rescue an old version?

 Post Reply Post Reply
Author
Steve993 View Drop Down
Newbie
Newbie


Joined: 27 June 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Steve993 Quote  Post ReplyReply Direct Link To This Post Topic: Rescue an old version?
    Posted: 27 June 2008 at 10:24pm
I'm trying to help a friend of mine out get his old forum going (or at least have it visiable for archive purposes).  However I only have the installed version on the host's server.  Now for whatever reason the current host doesn't run asp pages anymore.  So I've since copied all the files/folders to my 2003 box.  I can successfully bring up a new install of Web Wiz, but my friends old site errors out. 

Is there any way for me to tell what version I'm working with?  He has a wwForum.mdb file located in an admin/database folder if that helps.  Also that file in question is only 20KB.  Seems rather small or is the DB file somewhere else?  This is my first taste of asp pages and Web Wiz as I've only messed with similar php sites before. 

I don't know if this site is hosed or if its even salvageable.  Just trying to see what people much more knowledgeable than me think.  Thanks for any help!!

http://www.marsmonkey.com/oldIA/default.asp


Back to Top
Jono View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 18 September 2006
Location: United Kingdom
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jono Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2008 at 8:20am
20kb for the database does seem very small. I wonder if the download process truncated the file (i.e. it was in ASCII mode and not BINARY mode for the transfer).
 
Can you try and re-download it?
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2008 at 10:01am
Could you tell us which version of the forum your friend was running? (if the DB is in an Admin folder sounds like V7 or older to me)

In older versions the database connection was in the "common.asp" file, this will tell you the location of the database. Though your friend may of used a MSSQL database and if the host suddenly turned off ASP they potentially could of just deleted the MSSQL database.

The default location and name was "admin/database/wwForum.mdb", but it was HIGHLY recommened that you move it to a more secure location for example above the root folder eg:

C:\website\root\forum = www.site.com/forum/
C:\website\private\  = secure as not accessed from domain


As I said, the common.asp file will tell you the type and location of the database
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
Steve993 View Drop Down
Newbie
Newbie


Joined: 27 June 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Steve993 Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2008 at 6:21pm
I double checked again and the wwForum.mdb is 20KB even on the original server.  So far it sounds like the DB file is corrupt. 

The common.asp showed some good info...

Const strVersion = "7.9"
strDatabaseType = "Access"
strDbPathAndName = Server.MapPath("admin/database/wwForum.mdb")

Seems as though the DB file itself is at least my first issue.  I'll see if the host has a backup of this file from any point in the past.  Other then that might be a lost cause.  I really appreciate you guys pointing me in the right direction!

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 June 2008 at 8:45am
An empty Access database under 7.9 is around 700KB in size.

Once you get the working 7.9 database, download the latest free Express Edition and inside it you will find another zip file containing upgrade tools. You will need to use the 7.x to 9.x Access Database Upgrade tool.

Once you have upgraded the database to a 9.x database upload the latest version of Web Wiz Forums and edit in notepad the file database/database_connection.asp and set the path to your upgraded database. This will then keep all existing posts, members, etc.
Back to Top
 Post Reply Post Reply

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.