Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Help-- Content Display – site is down
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

funinbc
Junior Member

245 Posts

Posted - 07 December 2004 :  14:14:17  Show Profile
This has to do with the Content Display Mod on the front page

www.funinbc.com


The display mod was from here
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=40300&SearchTerms=portal,mod




The Content Display mod brings info over from the forum to the front page.


The forum page is

http://www.funinbc.com/forum/default.asp


I made a change to the forum to only allow signed members to view the forum. Now when they go to the front page with Content Display mod it tries and redirects them to this:

http://www.funinbc.com/login.asp?target=index.asp which does not work


I have changed the site back to allow everyone to view the site but this is still happening.


If you go directly to the forum and sign in then the front page will work again. If you sign out, clear your cookies and try and go to the front page it will not work

HELP!!
What do I have to do to get the home page back up??

Edited by - funinbc on 07 December 2004 17:32:04

funinbc
Junior Member

245 Posts

Posted - 07 December 2004 :  16:31:12  Show Profile
When you go to:
/index.asp

It redirects to:
/login.asp?target=index.asp

Which of course does not work.

Does this have something to do with index.asp, login.asp, or something completely different?
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 08 December 2004 :  00:37:16  Show Profile
can anyone help??? I have an active site but now no one can see it.

Would it help to post a text file of index.asp or login.asp?
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 08 December 2004 :  02:16:21  Show Profile
does index.asp reside outside of the forum directory? If so, sounds like you might have 2 sets of Application variables and only 1 of them is updating.

I've never used the Content Display MOD, so I can't help you with that.

does the index.asp page use the inc_header.asp file from the forum? If so, try this:

find this section of code in the inc_header.asp file (around line #169 of an unmodified file)
if strRequireReg = "1" and strDBNTUserName = "" then
	if not Instr(strScriptName,"policy.asp") > 0 and _
	not Instr(strScriptName,"register.asp") > 0 and _
	not Instr(strScriptName,"password.asp") > 0 and _
	not Instr(strScriptName,"faq.asp") > 0 and _
	not Instr(strScriptName,"login.asp") > 0 then
modify it so it looks like this (basically just adding 1 line of code)
if strRequireReg = "1" and strDBNTUserName = "" then
	if not Instr(strScriptName,"policy.asp") > 0 and _
	not Instr(strScriptName,"register.asp") > 0 and _
	not Instr(strScriptName,"password.asp") > 0 and _
	not Instr(strScriptName,"faq.asp") > 0 and _
	not Instr(strScriptName,"index.asp") > 0 and _
	not Instr(strScriptName,"login.asp") > 0 then


I would go ahead and modify both the inc_header.asp file in the forum directory and the one outside the forum directory (if you are using 2 different files).
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 08 December 2004 :  10:14:22  Show Profile

Your right I use inc_header.asp file on the front page outside the forum directory.



Thank you I have changed this to:

if strRequireReg = "1" and strDBNTUserName = "" then
if not Instr(strScriptName,"policy.asp") > 0 and _
not Instr(strScriptName,"register.asp") > 0 and _
not Instr(strScriptName,"password.asp") > 0 and _
not Instr(strScriptName,"faq.asp") > 0 and _
not Instr(strScriptName,"index.asp") > 0 and _
not Instr(strScriptName,"login.asp") > 0 then

but I still get the blank page

http://www.funinbc.com/login.asp?target=index.asp



Any other Idea's I can try?

Edited by - funinbc on 08 December 2004 10:20:26
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 08 December 2004 :  10:39:25  Show Profile
you can try rebooting the server. Or just remove that entire if/then section from the inc_header.asp page that you are using outside the forum.
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 08 December 2004 :  20:54:02  Show Profile
Thank you VERY MUCH!! that was the answer and all is well once again!!




Now I just have to fix the slow search engine that stalls out the site and move over the data base to mysql...but that is another topic



Thanks again!
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 08 December 2004 :  21:31:02  Show Profile
you're welcome
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07