Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - two forums problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

two forums problems

 Post Reply Post Reply Page  12>
Author
Jaszbo View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaszbo Quote  Post ReplyReply Direct Link To This Post Topic: two forums problems
    Posted: 04 October 2005 at 2:54pm
I did a lot of searching, but I can't seem to get two forums to run on the same site.  It has the same domain such as www.webwiz.net/example1/forum and the other forum I wanted on something like www.webwiz.net/example1/forum and I placed both forums in another private folder that's not being shared.  When I access the new one I still see the banner on top of the old one.
I read to go into the  common.asp set
change Dim blnUseApplicationVariables = false

but when I do that nothing works.  I changed the cookies settings on one of them.  On the first forum I logged in as administroator and turned off active users.  The second forum I login as administrator with the default "letmein", it logs me in alright, but then when I click on admin button so I can disable active users I get this "Sorry, only members with sufficient permission can access this page."

I'm sorry as I know this has probably been posted a lot of times, but I can't seem to get it. 
Thanks
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: 05 October 2005 at 6:20am
The simplest way, if possible is to run each of the forums in a sepporate sub domain, this way they should have their own application variables.

The admin login problem you mention is probably due to the cookie prefix that you changed also needs to be updated in the admin/common.asp file as well as the main common.asp file.

Altertivly, and also give you more security you can log directly in the admin area by pointing your browser at the admin folder.
Back to Top
Jaszbo View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaszbo Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 10:06am
I went into both common.asp files in both forums and changed the cookies to something total different.  Basically say one for is example1 all cookies in both common.asp I changed to exp1 and for the other forum both common.asp files I changed to exp2 and when I logged in the new forum, which I'll call example 2 with administrator "letmein" I still cannot get into the administrator panel.

I then went into each common.asp file and tried changing
Dim blnUseApplicationVariables    'Set to true if application varibles are used to
Dim blnUseApplicationVariables    = false

and on either forum I do this I get this error in the browser

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/example2/forum/common.asp, line 122

Dim blnUseApplicationVariables    = false


Let me ask you, when you say subdomain do you  mean for example if I owned say http://www.webwiz.net and I wanted a non-profit site called example1 and another non-profit site for another charity called example2 and the links were http://www.webwiz.net/example1 and http://www.webwiz.net/example2 is this what you consider subdomain?  Because this is the way it's setup currently.
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: 05 October 2005 at 11:21am
You can not place a value into a variable when it is being declared, on the Dim line, look further on in the file for where the value is set for that variable.

A subdomain would be something like:-

http://subdomain.webwiz.net

The example you gave is just another folder, your host can usually setup a subdomain for you and it runs like a sepporate site.

To get to your admin section you can log into it directly by pointing your web browser at the admin folder.
Back to Top
Jaszbo View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaszbo Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 1:35pm
Thank you so much for the reply.  I should have done another search I just opened up my text editor and did a search and changed the first thing I saw.  Now I changed correct value.  I didn't relieze I was changing the decleration and I thought it was being declared in another file for some strnage reason.  Anyway now everything looks like a separete forum

I'm still not able to login to the admin folder.  I tried with my browser pointing to just the admin folder and either files frame_set.asp and even the forum_configure.asp and it keeps saying

Sorry, only members with sufficient permission can access this page.  I'm not sure why I'm having this problem.  I tried recreating the database and it's still saying I don't have premission
Back to Top
Jaszbo View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaszbo Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 1:36pm
Oh I finally got it.  I didn't relieze it was asking me to verify. 
Thank you so much for all your help!!
Back to Top
Jaszbo View Drop Down
Newbie
Newbie


Joined: 26 September 2005
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaszbo Quote  Post ReplyReply Direct Link To This Post Posted: 05 October 2005 at 1:43pm
I'm not able to change anything now though.  I keep getting this error

Microsoft JET Database Engine error '80040e09'
Cannot update. Database or object is read-only.
/forum/admin/forum_configure.asp, line 144

I checked the mdb file and it's not read only and it's in the same folder as the othe database, so I know access to it is ok
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: 06 October 2005 at 2:11pm
This error is a server permissions error and means that you do not have permission to write to the database
Back to Top
 Post Reply Post Reply Page  12>

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.