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
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
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.