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
 Stats outside forum won't work with other includes
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 12 October 2004 :  21:16:38  Show Profile  Visit mykel_suthertun's Homepage
I was able to successfully display the forum stats using a file outside of the forum directory (forum_stats.asp). However, when I include forum_stats.asp in index2.asp, I get the following error:

Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'strCookieURL'
/../forum/config.asp, line 132


Line 132 in my config.asp is referring to this:

strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))

My guess is the error is being caused by combining the forum_stats.asp with the other two includes I have that are accessing different databases (inc/shows_display_short.asp, and inc/news_display_short.asp - neither are related to the Snitz code).

I really need to get all three to work on the same page. Can someone help me out? At least give me some direction of what to look for?


[edited title of thread]
[edit]Moved to more appropriate forum - dave[/edit

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com

Edited by - davemaxwell on 13 November 2004 16:53:26

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 19 October 2004 :  01:06:51  Show Profile  Visit mykel_suthertun's Homepage
Please move this to the appropriate forum if it's not there already.

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com
Go to Top of Page

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 22 October 2004 :  00:00:45  Show Profile  Visit mykel_suthertun's Homepage
Moderator? Help?

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 22 October 2004 :  03:52:44  Show Profile  Visit Gremlin's Homepage
Well the error will be most likely becuase you have OPTION EXPLICIT set at the top of page. This option forces every variable to first be dimmed before being used or you will get the above error.

Change the option, or Dim the variable before using it should remove that error.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

mykel_suthertun
Junior Member

USA
227 Posts

Posted - 22 October 2004 :  13:37:27  Show Profile  Visit mykel_suthertun's Homepage
Awesome! Thanks so much! I've been working way too long on that.

Mike Southerton
Webmaster | Don'tSayDie.com | DriveThe.com
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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07