Author |
Topic  |
|
cyberstar
Starting Member
4 Posts |
Posted - 30 May 2001 : 23:50:47
|
I keep getting errors like the following: Active Server Pages error 'ASP 0126'
Include file not found
/forum/member_login.asp, line 20
The include file 'config.asp' was not found.
I have my ISP "BlueGenesis" reset the NT services and the forums start working again just fine.
It varies as to which include file the system barfs on. Resetting services always fixes the problem.
Does anyone have a clue why this problem keeps happening? Better still do you know how to fix this error?
Thanks, Jim
|
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 31 May 2001 : 00:07:37
|
There is no "member_login.asp" file with the standard Snitz Forums.
|
 |
|
cyberstar
Starting Member
4 Posts |
Posted - 31 May 2001 : 00:19:06
|
quote:
There is no "member_login.asp" file with the standard Snitz Forums.
Right, I renamed the standard one and commented out some of the links in the upper right "Home | Profile | Active Topics | Search | FAQ "
This error will happen on the forum page also. AFTER the members have passed through the members_login.asp page. I'll get inc_top.asp or inc_functions.asp errors similar to the one I posted. Each time resetting the services fixes it for a while. Sometimes days, sometimes hours.
|
 |
|
cyberstar
Starting Member
4 Posts |
Posted - 31 May 2001 : 00:33:36
|
Ok, I just rechecked the members_login.asp page. (It's been a while since I touched it) This is a page I constructed based upon the Forum.asp page. Here is the top of the file: '## You should have received a copy of the GNU General Public License '## along with this program; if not, write to the Free Software '## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. '################################################################################# %> <!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <!--#INCLUDE file="inc_top_members.asp" --> <table border="0" width="100%"> <tr> <td width="33%" align="left" nowrap><!--- <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <a href="default.asp"><img src="icon_folder_open.gif" alt="All Forums" height=15 width=15 border="0"> All Forums </a> <br> <img src="icon_blank.gif" height=15 width=15 border="0"><img src="icon_blank.gif" height=15 width=15 border="0"><img src="icon_folder_open_topic.gif" alt="Admin Login" height=15 width=15 border="0"> Member Login<br> </font> ---></td> </tr> </table> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><br> <br>
<% Name = Request.Form("Name") Password = Request.Form("Password")
Here is the top of the Forum page I copied from: '## C/O: Michael Anderson '## PO Box 200 '## Harpswell, ME 04079 '#################################################################################
if Request.QueryString("FORUM_ID") = "" and (Request.Form("Method_Type") <> "login") and (Request.Form("Method_Type") <> "logout") then Response.Redirect "default.asp" end if %> <!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" --> <% mypage = request("whichpage")
if mypage = "" then mypage = 1 end if
-------------
The include statements look identical. Line 20 is the <!--#INCLUDE FILE="config.asp" --> line in my file.
Why would it get included some times and not others? Why would the forum.asp file fail in the same mannor?
|
 |
|
|
Topic  |
|