Author |
Topic  |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 12:31:16
|
I am embarrassed to ask this question, but here I go  The instructions ask to add
<!--#INCLUDE FILE="inc_adminlevel.asp" -->
at the end of the files inc_header.asp and inc_header_short.asp.
Do I still need to add %> before and <% after the include or it is not necessary in this case?
Both files end with %> before the include. |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 16 January 2008 : 12:33:13
|
I believe you will want to add that in before the %> |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 16 January 2008 : 12:34:38
|
No.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 12:35:34
|
thanks, that makes sense! but this is what the readme says:
2. Open your inc_header.asp and inc_header_short.asp go to end of page where you will see %> and at bottom of the page, add this line right after %>
|
 |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 16 January 2008 : 12:45:40
|
Oh then you want to put it right after it and like shaggy said no its not needed. I have never used that mod so was taking a guess on where to put it |
 |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 12:48:47
|
Thanks Shaggy and Jeff |
 |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 14:34:03
|
All went well with Admin Level Mod except a mismatch error.
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'ChkString'
/inc_adminlevel.asp, line 35
Line 35 is the fourth line in the code below: '## Forum_SQL strSql = "SELECT MEMBER_ID, M_ALEVEL, M_LEVEL, M_NAME, M_PASSWORD " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " WHERE " & strDBNTSQLName & " = '" & ChkString(fName, "SQLString") & "' "
|
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 16:08:19
|
I checked twice again. Nothing missed in there based on Readme. Thanks |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
texanman
Junior Member
 
United States
410 Posts |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 16:25:59
|
LOL! Shouldn't it at least redirect me to default.asp without giving me this error? :-) |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 16 January 2008 : 16:31:06
|
I see! Thanks a lot for your explanation! |
 |
|
|
Topic  |
|