Print Page | Close Window

oh my god!! help!

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=9520
Printed Date: 07 April 2026 at 10:08pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: oh my god!! help!
Posted By: Tony20VTurbo
Subject: oh my god!! help!
Date 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!!




Replies:
Posted By: WebWiz-Bruce
Date 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


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net