two forums problems
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=16799
Printed Date: 15 April 2026 at 11:03pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: two forums problems
Posted By: Jaszbo
Subject: two forums problems
Date 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
|
Replies:
Posted By: WebWiz-Bruce
Date 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.
------------- 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
|
Posted By: Jaszbo
Date 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.
|
Posted By: WebWiz-Bruce
Date 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.
------------- 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
|
Posted By: Jaszbo
Date 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
|
Posted By: Jaszbo
Date 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!!
|
Posted By: Jaszbo
Date 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
|
Posted By: WebWiz-Bruce
Date 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
------------- 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
|
Posted By: mack
Date Posted: 06 October 2005 at 5:29pm
All you have to do is, if you're using Windows 2003 set them on seperate application pools.
Or, if you can't access that simply edit the prefix to be something else. That way they cannot interfere. They don't have to be in a seperate subdomain.
Turning off Application Variables might make it slow. Not exactly sure how WebWiz works with that, as I haven't looked at the code.
Try resetting your database permissions on the mdb file to be read+write. I would recommend putting it outside of the directory or else someone can download your database and ruin forum.
|
|