Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Forum set up problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum set up problem

 Post Reply Post Reply
Author
ch_e_wy View Drop Down
Newbie
Newbie
Avatar

Joined: 16 January 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ch_e_wy Quote  Post ReplyReply Direct Link To This Post Topic: Forum set up problem
    Posted: 16 January 2004 at 9:11am

Hi All

I was wondering if you could help me. Ive got the forum up and running fine on my own machine. I've tried to move the forum to a remote server, their file structure is as follow

websitecom -> database -> wwForum.mdb   
websitecom  -> www -> asp files

Ive replaced the code in the common.asp with the phyiscal path for the database. Probs is it doesnt seem to see it.

Anyone got any idea how i rememdy this.

Cheers

N

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: 16 January 2004 at 11:02am
If you are using the physical server path you need to remove the Server.MapPath method.
Back to Top
ch_e_wy View Drop Down
Newbie
Newbie
Avatar

Joined: 16 January 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ch_e_wy Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2004 at 11:10am

Hi there

Ive changed the following line

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

to

 strDbPathAndName = ("E:/FTP_Data/InternetServices/users/********com/database/ww Forum.mdb")

It still doesnt work. You think it might be the host?

Cheers

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: 16 January 2004 at 11:37am
That doesn't look like a correct path, more the path on the FTP server, which maybe different to the path to your web site.

You could either ask your web host what the path is to this database or try a work it out by uploading a file to your web site containg the following:-

<%
'Physical path of the root directory
Response.Write Server.MapPath("/")
%>


This will give the physical path to this file on the web server.
Back to Top
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2004 at 5:21pm

try to use:

strDbPathAndName = (Server.MapPath("\") & "\databasefolder\wwforum.mdb")

my example is the path to server root\databasefolder\wwforum.mdb

This way uses the path relative to root and not relative to the wwf folder!

 



Edited by rigg
Back to Top
ch_e_wy View Drop Down
Newbie
Newbie
Avatar

Joined: 16 January 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ch_e_wy Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2004 at 6:22pm

cheers all

thats me got it working

Just a minor thing, how do i create polls?

i cant see anything in the admin side of things

cheers

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: 20 January 2004 at 4:36am
You need to turn on polls when setting up forums.
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.