Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - oh my god!! help!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

oh my god!! help!

 Post Reply Post Reply
Author
Tony20VTurbo View Drop Down
Newbie
Newbie


Joined: 27 January 2004
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tony20VTurbo Quote  Post ReplyReply Direct Link To This Post Topic: oh my god!! help!
    Posted: 03 February 2004 at 7:21pm

Hi all

i tried doing the security thing by changing the location of the database etc and now my forums are blank and not quite back to standard but still no forum headers etc.

ok here goes see if you can tell me whats wrong:

first file D:\South-Seat\Forums

(in the file itself)    - strDbPathAndName = Server.MapPath ("admin/database/wwForum.mdb")

second file D:\South-Seat\Forums\admin

(in the file itself) - Server.MapPath =("database/wwForum.mdb")

now i am confused completely!!

so i followed the explanation:

  1. Locate the file wwForum.mdb found in the database directory in the admin directory (this is the forums access database).

  2. Rename and/or move the location of this file on your web space.

  3. Edit the two files called common.asp with a text editor like notepad. One common.asp file is with the main files and the other should be in a directory called admin.

  4. In these two files you will find the following line of code: -

    strDbPathAndName = Server.MapPath("admin/database/wwForum.mdb")

  5. Change the part marked in blue (admin/database/), to the new path to the database relative to the common.asp file you are editing, if you are editing the common.asp file from the admin section you will have,database/ written in front of the database name, don't worry, just change this to the path to the database relative to the common.asp file.
  6. Change the part marked in red (wwForum.mdb), to the new name of the Forum's Access database.

i renamed the file (wwforum.mdb) and copied it to the route what do i need to do then?

cos now the forums are blank, and how do i revert it back to its last state? cos its completely cocked up! help!!

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: 04 February 2004 at 3:59am
Follow the instructions that you have just posted, it can't be explained any clearer.

You need to edit the lines in bothe common.asp files:-

  1. strDbPathAndName = Server.MapPath("admin/database/wwForum.mdb")

  2. Change the part marked in blue (admin/database/), to the new path to the database relative to the common.asp file you are editing, if you are editing the common.asp file from the admin section you will have,database/ written in front of the database name, don't worry, just change this to the path to the database relative to the common.asp file.
  3. Change the part marked in red (wwForum.mdb), to the new name of the Forum's Access database.
For example if the forum is one level below the root of your site you would have sometjing like:-

strDbPathAndName = Server.MapPath("../database/wwForum.mdb")

The ../ means move up a directory
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.