This topic is locked

Custom Menu.asp page Please help!

4/30/2007 2:55:27 PM
ASPRunnerPro General questions
Lowkeck authorDevClub member

Hello All,
I have been trying to design my menu.asp page for some time now. I simply would like to spread the menu links across a table. The page displays correctly (displays the way I want it to) in ASP runner (Build 225), but when a user logs in after compiling they get an http error 500. If I "Reset this page" in the ASPRunner editor, everything works fine. I am going to post the code below this, if anyone notices something obvious, please point it out. I would be greatly appreciate any help.
Thanks,

Jay

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK

href="include/style.css" type=text/css rel=stylesheet>

<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>

<BODY>

<P align=center><IMG alt="Test Logo"

src="images/front-logo.gif" border=0></P>

<P align=center>{include_if_exists file="include/header.asp"} <BR></P>

<TABLE align=center>

<TBODY>

<TR>

<TD align=middle>{mlang_message tag="LOGGED_AS"}

<B>{$username}</B>&nbsp; <A href="login.asp?a=logout">{mlang_message tag="LOG_OUT"}</A> </TD>

<TD width=20>&nbsp;</TD>{if $not_a_guest}

<TD><A href="changepwd.asp">{mlang_message tag="CHANGE_PASSWORD"}</A></TD>{/if}</TR></TBODY></TABLE>

<TABLE cellSpacing=1 cellPadding=1 width="75%" align=center border=1>

<TBODY>

<TR>

<TD width=192>

<P align=center><STRONG>CLIENT SECTION</STRONG></P></TD>

<TD width=181>

<P align=center><STRONG>MECHANICAL SECTION</STRONG></P></TD>

<TD width=185>

<P align=center><STRONG>SYSTEM SETUP</STRONG></P></TD>

<TD width=195>

<P align=center><STRONG>ADMINISTRATOR SECTION</STRONG></P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_CLIENT_MAIN}<A href="CLIENT_MAIN_list.asp">CLIENT

LIST</A> <BR>{/if}</P></TD>

<TD width=181>

<P align=center>{if $allow_MECHANICAL_Repairs}<A

href="MECHANICAL_Repairs_list.asp">MECHANICAL REPAIRS</A> <BR>{/if}</P></TD>

<TD width=185>

<P align=center>{if $allow_SECURITY_LOGON}<A href="SECURITY_LOGON_list.asp">USER

ACCOUNTS</A> <BR></P>{/if}</TD>

<TD width=195>

<P align=center>{if $allow_EFTP}<A href="EFTP_list.asp">ELECTRONIC-FTP

(BETA)</A> <BR>{/if}</P></TD></TR>

<TR height=1>

<TD width=192>

<P align=center>{if $allow_CLIENT_SUPPORT}<A href="CLIENT_SUPPORT_list.asp">CALL

TICKETS</A> </P></TD>

<TD width=181>

<P align=center>{if $allow_Mechanical____Pending_Shop_Repairs}<A

href="Mechanical____Pending_Shop_Repairs_list.asp">PENDING MECHANICAL

REPAIRS</A> </P></TD>

<TD width=185>

<P align=center>{if $allow_SECURITY_USERGRP}<A

href="SECURITY_USERGRP_list.asp">SECURITY GROUPS</A> </P></TD>

<TD width=195>

<P align=center>{if $allow_Support____Client_List__Admin_Only_}<A

href="Support____Client_List__Admin_Only__list.asp">CLIENT LIST (ADMIN

ONLY)</A> </P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_CLIENT_TIME}<A href="CLIENT_TIME_list.asp">TIME &amp;

ATTENDANCE INFO</A> </P></TD>

<TD width=181>

<P align=center>{if $allow_Mechanical____Approved_Shop_Repairs}<A

href="Mechanical____Approved_Shop_Repairs_list.asp">APPROVED MECHANICAL

REPAIRS</A> </P></TD>

<TD width=185>

<P align=center>{if $allow_SS_Ticket_Status}<A

href="SS_Ticket_Status_list.asp">TICKET STATUS STATES</A> </P></TD>

<TD width=195>

<P align=center>{if $allow_Expiring_Maintenance_Contracts__Time_}<A

href="Expiring_Maintenance_Contracts__Time__list.asp">EXPIRED MAINTENANCE

CONTRACTS</A> </P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_CLIENT_PAC}<A

href="CLIENT_PAC_list.asp">PARKING\ACCESS INFO</A> </P></TD>

<TD width=181>

<P align=center>{if $allow_Denied_Shop_Repairs}<A

href="Denied_Shop_Repairs_list.asp">DENIED MECHANICAL REPAIRS</A> </P></TD>

<TD width=185>

<P align=center>{if $allow_SS_US_State_List}<A href="SS_US_State_List_list.asp">USA

STATE LIST</A> </P></TD>

<TD width=195>

<P align=center>{if $allow_SUPPORT_Maintenance_Cancel}<A

href="SUPPORT_Maintenance_Cancel_list.asp">MAINTENANCE CANCELLATIONS</A>

</P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_CLIENT_Delivery_Slips}<A

href="CLIENT_Delivery_Slips_list.asp">DELIVERY SLIPS</A> </P></TD>

<TD width=181>

<P align=center>&nbsp;</P></TD>

<TD width=185>

<P align=center>{if $allow_SS_PAC_Software_List}<A

href="SS_PAC_Software_List_list.asp">PARKING/ACCESS SOFTWARE

LIST</A></P></TD>

<TD width=195>

<P align=center>{if $allow_NETWORK_Asset_Tracking}<A

href="NETWORK_Asset_Tracking_list.asp">NETWORK ASSET TRACKING</A>

</P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_CLIENT_PSQ}<A

href="CLIENT_PSQ_list.asp">PROFESSIONAL SERVICE QUOTES</A> </P></TD>

<TD width=181>

<P align=center>&nbsp;</P></TD>

<TD width=185>

<P align=center>{if $allow_SS_Maintenance_Contracts}<A

href="SS_Maintenance_Contracts_list.asp">MAINTENANCE CONTRACTS</A> </P></TD>

<TD width=195>

<P align=center>{if $allow_NETWORK_Soft_License}<A

href="NETWORK_Soft_License_list.asp">MICROSOFT LICENSES</A> </P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_SUPPORT_INFO_DEVELOPMENT}<A

href="SUPPORT_INFO_DEVELOPMENT_list.asp">INFOTRONICS DEVELOPMENT

ISSUES</A> </P></TD>

<TD width=181>

<P align=center>&nbsp;</P></TD>

<TD width=185>

<P align=center>{if $allow_SS_Technician_List}<A

href="SS_Technician_List_list.asp">MASTER TECHNICIAN LIST</A> </P></TD>

<TD width=195>

<P align=center>&nbsp;</P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_SUPPORT_HDB_Library}<A

href="SUPPORT_HDB_Library_list.asp">INFOTRONICS HDB LIBRARY</A> </P></TD>

<TD width=181>

<P align=center>&nbsp;</P></TD>

<TD width=185>

<P align=center>{if $allow_SS_Delivery_Slips_Technician_List}<A

href="SS_Delivery_Slips_Technician_List_list.asp">TECHNICIAN LIST

(DELIVERY SLIPS)</A> </P></TD>

<TD width=195>

<P align=center>&nbsp;</P></TD></TR>

<TR>

<TD width=192>

<P align=center>{if $allow_SALES_MAIN}<A href="SALES_MAIN_list.asp">CLIENT

SALES TRACKING</A> </P></TD>

<TD width=181>

<P align=center>&nbsp;</P></TD>

<TD width=185>

<P align=center>{if $allow_SS_Mechanical_Technician_List}<A

href="SS_Mechanical_Technician_List_list.asp">TECHNICIAN LIST

(MECHANICALS)</A> </P></TD>

<TD width=195>

<P align=center>&nbsp;</P></TD></TR>

<TR>

<TD width=192>

<P align=center>&nbsp;</P></TD>

<TD width=181>

<P align=center>&nbsp;</P></TD>

<TD width=185>

<P align=center>{if $allow_SS_Mechanical_Status_List}<A

href="SS_Mechanical_Status_List_list.asp">MECHANICAL STATUS CODES</A>

</P></TD>

<TD width=195>

<P align=center>&nbsp;</P></TD></TR></TBODY></TABLE>

<P></P>

<P align=center><EM>Test-Trak Version 2.5</EM></P>

<P align=center><STRONG>IMPORTANT LINKS:</STRONG>&nbsp;&nbsp; <A

href="http://www.test.com">Test Website&nbsp;</A> |&nbsp; <A

href="http://support.test.com">Remote Support&nbsp;</A> |&nbsp; <A

href="ftp://ftp.test.com">Test FTP Site</A>&nbsp; |<A

href="https://mail.test.com">Test E-mail Site</A><BR>{include_if_exists file="include/footer.asp"} </P></BODY></HTML>
Sergey Kornilov admin 4/30/2007

Try to reset the page and add your changes step-by-step. i.e. add a table on the menu page, test it, move first menu item, test it etc.
After you find what exactly breaks this page it would be much easier to help you.

Lowkeck authorDevClub member 4/30/2007

Ok. I followed your reccomendation. The page breaks when I copy my first link into the table. Here is what I am doing.

I take this code:
[codebox]

{if $allow_EFTP}<A

href="EFTP_list.asp">ELECTRONIC-FTP

(BETA)</A> <BR>{/if}[/codebox]
I insert it into here (replacing the &nbsp;):
[codebox]

<TR>

<TD>&nbsp;</TD>

[/codebox]

Am I doing anything wrong?

Sergey Kornilov admin 5/2/2007

After you make this change post your app to Demo Account and send me a link where I can see and troubleshoot this issue.

I can be reached at support@xlinesoft.com.

Lowkeck authorDevClub member 5/7/2007

Sergey, I appreciate you taking the time to look at this for me. I am just not sure how to post to the Demo account.

Sergey Kornilov admin 5/7/2007

Demo Account button can be found on the last tab in ASPRunnerPro 4.1 and higher.

Lowkeck authorDevClub member 5/17/2007

Thanks Sergey. The upload is timing out everytime I try to upload it. It reaches 167KB and times out. Any ideas?

Sergey Kornilov admin 5/18/2007

ZIp and send everything to support@xlinesoft.com along with your order number.