abdulsamikhan
Posts: 105 Joined: 12/23/2003 From: Pakistan Status: offline
|
RE: .asp Pages Problem in Sub Directories? - 6/15/2004 12:03:00
This is the actual error message: (I unchecked the friendly error message option from IE): quote:
Active Server Pages error 'ASP 0131' Disallowed Parent Path /test/admin/delMCat.asp, line 4 The Include file '../_fpclass/fpdblib.inc' cannot contain '..' to indicate the parent directory. This is the coding of .asp page: <html>
<!-- #BeginTemplate "../entry.dwt" -->
<head>
<% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do not Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<!-- #BeginEditable "doctitle" -->
<title>Delete Main Category...</title>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="../css/jics.css">
<link rel="stylesheet" type="text/css" href="../css/MSEducation.css">
</head>
<body style="text-align: center" bgcolor="#000000">
<p><a name="Top"></a></p>
<table cellpadding="0" cellspacing="0" width="756" height="502">
<!-- MSTableType="layout" --><tr>
<td></td>
<td></td>
<td></td>
<td height="10"></td>
</tr>
<tr>
<td valign="top" colspan="3">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="4" --><tr>
<td width="20">
<img alt="" src="../images/MsoPnl_Cnr_tl_4C.gif" width="20" height="20"></td>
<td bgcolor="#99CC00" nowrap width="100%">
<!-- MSCellFormattingType="header" --><p align="center">
<b>Welcome to dabclub Songs Collection</b></td>
<td height="20" width="20">
<img alt="" src="../images/MsoPnl_Cnr_tr_4E.gif" width="20" height="20"></td>
</tr>
<tr>
<td valign="top" bgcolor="#7EA800" colspan="3" height="100%">
<!-- MSCellFormattingType="content" --> </td>
</tr>
</table></td>
<td height="95"></td>
</tr>
<tr>
<td bgcolor="#003399" colspan="3" align="center" background="../images/pk-bar.gif">
<p align="center"><font color="#FFFFFF">
<a href="http://www.dabclub.com"><font color="#000000">Home</font></a></font>
<font color="#FFFFFF">|</font> <font color="#FFFFFF">
<a href="../default.asp"><font color="#000000">Song's Home</font></a> |
<a href="http://www.dabclub.com/htm/contacts.htm"><font color="#000000">Contacts</font></a> |
<a href="http://www.dabclub.com/indexfunnypix.asp">
<font color="#000000">Funny Pictures</font></a> |
<a href="http://www.dabclub.com/discussion"><font color="#000000">Discussion Form</font></a> |
<a href="http://www.dabclub.com/wallpapers/mainwallpapers.htm">
<font color="#000000">Wallpapers</font></a> |
<a href="http://www.dabclub.com/feedback.asp"><font color="#000000">Feedback</font></a> |
<a href="http://www.dabclub.com/guestbook.asp"><font color="#000000">Sign Guest Book
</font></a>| <a href="http://www.dabclub.com/jokes.asp">
<font color="#000000">Jokes</font></a> |
<a href="http://www.dabclub.com/general/cookbook/cookbook.htm">
<font color="#000000">Cookbook</font></a> |
<a href="http://www.dabclub.com/egreetings/skrifa.asp">
<font color="#000000">e-Greetings</font></a> |
<a href="http://www.dabclub.com/htm/about.htm"><font color="#000000">About us</font></a></font></td>
<td height="20"></td>
</tr>
<tr>
<td width="50" bgcolor="#7EA800"> </td>
<td valign="top" width="650" height="356">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="2" --><tr>
<td bgcolor="#99CC00" height="1">
<img alt="" width="1" height="1" src="../images/MsSpacer.gif"></td>
</tr>
<tr>
<td valign="top" bgcolor="#EFFFBF" height="100%" width="100%">
<!-- MSCellFormattingType="content" --><!-- #BeginEditable "MainSection" -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table8">
<tr>
<td height="20" bgcolor="#E1FF88">
<p align="center"><b><span style="font-size: 14pt">
Delete Main Category</span></b></td>
</tr>
</table>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="../_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan -->
<table width="100%" border="1">
<thead>
<tr>
<th width="7%"><b>ID</b></th>
<th width="11%"><b>M Cat ID</b></th>
<th width="18%"><b>Cat Name</b></th>
<th><b>Belongs</b></th>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart" s-columnnames="ID,MCatID,CatName,Belongs" s-columntypes="3,3,202,202" s-dataconnection="Songs" b-tableformat="TRUE" b-menuformat="FALSE" s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE" i-listformat="0" b-makeform="FALSE" s-recordsource="MainCategory" s-displaycolumns="ID,MCatID,CatName,Belongs" s-criteria s-order s-sql="SELECT * FROM MainCategory" b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields s-norecordsfound="No records returned." i-maxrecords="256" i-groupsize="20" botid="0" u-dblib="../_fpclass/fpdblib.inc" u-dbrgn1="../_fpclass/fpdbrgn1.inc" u-dbrgn2="../_fpclass/fpdbrgn2.inc" tag="TBODY" preview="<tr><td colspan=64 bgcolor="#FFFF00" width="100%"><font color="#000000">This is the start of a Database Results region. The page must be fetched from a web server with a web browser to display correctly; the current web is stored on your local disk or network.</font></td></tr>" startspan --><!--#include file="../_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color: black;'>The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM MainCategory"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=4 align=""LEFT"" width=""100%"">No records returned.</td></tr>"
fp_sDataConn="Songs"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=20
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&ID=3&MCatID=3&CatName=202&Belongs=202&"
fp_iDisplayCols=4
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="../_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="48619" --><tr>
<td width="7%">
<p align="center"><input type="checkbox" name="MyCheckBox" value="<%=FP_FieldVal(fp_rs,"ID")%>"></td>
<td width="11%">
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,MCatID,CatName,Belongs" s-column="MCatID" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>MCatID<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"MCatID")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="9970" --></td>
<td width="18%">
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,MCatID,CatName,Belongs" s-column="CatName" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>CatName<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"CatName")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="11503" --></td>
<td>
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,MCatID,CatName,Belongs" s-column="Belongs" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Belongs<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Belongs")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="12237" --></td>
</tr>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE" b-menuformat="FALSE" u-dbrgn2="../_fpclass/fpdbrgn2.inc" i-groupsize="20" clientside tag="TBODY" preview="<tr><td colspan=64 bgcolor="#FFFF00" width="100%"><font color="#000000">This is the end of a Database Results region.</font></td></tr><TR><TD VALIGN=MIDDLE COLSPAN=64><NOBR><INPUT TYPE=Button VALUE=" |< "><INPUT TYPE=Button VALUE=" < "><INPUT TYPE=Button VALUE=" > "><INPUT TYPE=Button VALUE=" >| "> [1/20]</NOBR><BR></td></tr>" startspan --><!--#include file="../_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="56926" --></tbody>
</table>
<p align="center"> </p>
<p align="center">
<input type="submit" value="Delete Selected" name="B1">
<input type="reset" value="Unchecked All" name="B2"></p>
</form>
<p align="center"> </p>
<p align="center"><a href="#Top">Back to Top</a><!-- #EndEditable --></td>
</tr>
</table></td>
<td width="54" bgcolor="#7EA800"> </td>
<td height="356"></td>
</tr>
<tr>
<td bgcolor="#B38E00" colspan="3" background="../images/pk-bar.gif" align="center">
<p align="center">Copyright © All rights reserved.
<font color="#EFFFBF">
<a target="_blank" href="http://www.jixoft.com"><font color="#000000">
Maintained and Developed by <font face="Arial Black"><b><i>JiXoft</i></b></font>.com</font></a></font></td>
<td height="21" width="2"></td>
</tr>
</table>
</body>
<!-- #EndTemplate -->
</html>
I hope you can better solve...
|