This topic is locked

browser problem

7/10/2007 5:08:47 AM
PHPRunner General questions
M
mounir author

hello all !

i have a problem with page with add pages using internet explorer 6.0.2 or Mozilla 1.7.10

the buttons add and reset don't do anything
but with firefox 2.0.0.4 it works fine !!
have you any idea about this problem
Thanks in advance

J
Jane 7/10/2007

Hi,
I wasn't able to reproduce this error.

Please give me the URL where I can see the error.

You can post it here or send to support@xlinesoft.com.

M
mounir author 7/10/2007

ok here is the source code (from the browser) , the application is not published in the web , just in an internal web server
[indent]

<html>

<head><title>User Admin</title>

<link REL="stylesheet" href="include/style.css" type="text/css">

<script language="JavaScript" src="include/validate.js"></script>

<script language="JavaScript">

var TEXT_FIELDS_REQUIRED='The Following fields are Required';

var TEXT_FIELDS_ZIPCODES='The Following fields must be valid Zipcodes';

var TEXT_FIELDS_EMAILS='The Following fields must be valid Emails';

var TEXT_FIELDS_NUMBERS='The Following fields must be Numbers';

var TEXT_FIELDS_CURRENCY='The Following fields must be currency';

var TEXT_FIELDS_PHONE='The Following fields must be Phone Numbers';

var TEXT_FIELDS_PASSWORD1='The Following fields must be valid Passwords';

var TEXT_FIELDS_PASSWORD2='should be at least 4 characters long';

var TEXT_FIELDS_PASSWORD3='Cannot be \'password\'';

var TEXT_FIELDS_STATE='The Following fields must be State Names';

var TEXT_FIELDS_SSN='The Following fields must be Social Security Numbers';

var TEXT_FIELDS_DATE='The Following fields must be valid dates';

var TEXT_FIELDS_TIME='The Following fields must be valid time in 24-hours format';

var TEXT_FIELDS_CC='The Following fields must be valid Credit Card Numbers';

var TEXT_FIELDS_SSN='The Following fields must be Social Security Numbers';

</script>

<script language="JavaScript" src="include/jquery.js"></script>

<script language="JavaScript" src="include/ajaxsuggest.js"></script>

<script language="JavaScript" src="include/jsfunctions.js"></script>

<script language="JavaScript">

var locale_dateformat = 2;

var locale_datedelimiter = "-";

var bLoading=false;

var TEXT_PLEASE_SELECT='Please select';

var AUTOCOMPLETE_TABLE='sman_users_autocomplete.php';

var SUGGEST_TABLE='sman_users_searchsuggest.php';

var SUGGEST_LOOKUP_TABLE='sman_users_lookupsuggest.php';

</script>

<div id="search_suggest"></div>
</head>
<body bgcolor=white onload="define('value_user_group','IsRequired','user_group');define('value_login_count','IsNumeric','login_count');">

<form name="editform" encType="multipart/form-data" method="post" action="sman_users_add.php" onSubmit="return validate();">
<html>

<head>

<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">

<title>AtriumAdvisor SiteManager</title>

<link rel="stylesheet" type="text/css" href="Resources/CSS/aww.css">

<!-- <meta http-equiv="refresh" content="60; url=title.html"> -->
</head>

<body bgcolor="white" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#262626" link="white" alink="#FFFFFF" vlink="white">

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#00355A">

<tr>

<td valign="top" rowspan="2">

<table width="254" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="144" valign="top"><a href="http://aww.alcatel.com"'>http://aww.alcatel.com"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=1&table=forumreplies"; alt="Alcatel" width="144" height="76" border="0"></a><a href="http://aww.alcatel.com"'>http://aww.alcatel.com"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=2&table=forumreplies"; width="144" height="17" border="0"></a></td>

<td width="110" valign="top">
<a href="http://aww.alcatel.com/intranet/"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=3&table=forumreplies"; width="110" height="15" border="0"></a>

<a href="http://ldap.net.alcatel.com/"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=4&table=forumreplies"; width="110" height="15" border="0"></a>

<a href="http://aww.alcatel.com/people/announce/"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=5&table=forumreplies"; width="110" height="15" border="0"></a>

<a href="http://aww.alcatel.com/news/releases/"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=6&table=forumreplies"; width="110" height="15" border="0"></a>

<a href="http://aww.alcatel.com/jobs/"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=7&table=forumreplies"; width="110" height="16" border="0"></a>

<a href="http://aww.alcatel.com?page=/speakout/contacts/page.htm"; target="_top"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=8&table=forumreplies"; width="110" height="17" border="0"></a>

</td>

</tr>

</table>
</td>

<td background="include/images/AASiteManager.gif" valign="bottom" width="280" height="90" class="link_white">

<img height="1" width="280" src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=9&table=forumreplies">;

</td>

<td width="100%">

<form method="get" name="gse" action="http://aww.search.alcatel.com/search/search.jsp"; target="_top">

<table border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="10%">&nbsp;</td>

<td width="145">
<input name="querytext" type="text" class="form" value="Enter keywords" size="12">

<input type="hidden" name="server" value="aww.search.alcatel.com">

<input type="hidden" name="port" value="49201">

<input type="hidden" name="resultCount" value="10">

<input type="hidden" name="resultCountMax" value="10">

<input type="hidden" name="mode" value="simple">

</td>

<td width="100%">

<a href="java script:document.gse.submit()"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=10&table=forumreplies"; width="68" height="20" border="0"></a>
</td>

<td width="70%">&nbsp;</td>

</tr>

</table>

</form>

</td>

</tr>

<tr>

<td colspan="2" background="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=11&table=forumreplies">;

<table width="100%" cellspacing="0" cellpadding="0">
<tr height="17">

<td width="100">

<a href="http://www.alcatel.com/"; target="_blank">

<img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=12&table=forumreplies"; width="100" height="17" border="0"></a>

</td>

<td width="100">

<a href="https://aww-password-toolbox.net.alcatel.com:8889/"; target="_top">

<img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=13&table=forumreplies"; width="100" height="17" border="0"></a>

</td>
<td width="100">

<a href="http://aww.alcatel.com./gateway.htm"; target="_top">

<img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=14&table=forumreplies"; width="100" height="17" border="0"></a>

</td>

<td width="100%" background="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=15&table=forumreplies">;

<table vspace="0" hspace="0" border="0" cellspacing="0">

<tr valign="center">

<td valign="middle" class="hour-place">

&nbsp;<!-- <img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=16&table=forumreplies"; vspace="0" hspace="2" border="0" height="5" width="5">Plano </td><td valign="middle" class="hour-time"><b>14:55</b></td><td valign="middle" class="hour-place"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=17&table=forumreplies"; vspace="0" hspace="2" border="0" height="5" width="5">Paris </td><td valign="middle" class="hour-time"><b>21:55</b></td><td valign="middle" class="hour-place"><img src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19565&image=18&table=forumreplies"; vspace="0" hspace="2" border="0" height="5" width="5">Shanghai </td><td valign="middle" class="hour-time"><b>03:55</b> -->
</td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

</table>
</body>

</html>
<h1>User Admin, Add new record</h1>
<div align=left><hr width=300 noshade size=1></div>
&nbsp;&nbsp;&nbsp;<a href="sman_users_list.php?a=return">Back to list</a>



<table cellpadding=2>
<tr><td class=shade width=150>user_id</td><td width=250>

<input type="Hidden" name="value_user_id" value="">

</td></tr>

<tr><td class=shade width=150>user_name</td><td width=250>

<input type="text" name="value_user_name" value="">

</td></tr>

<tr><td class=shade width=150>user_passwd</td><td width=250>
<input type="Password" name="value_user_passwd" value="">

</td></tr>

<tr><td class=shade width=150>user_desc</td><td width=250>

<input type="text" name="value_user_desc" value="">

</td></tr>

<tr><td class=shade width=150>user_email</td><td width=250>

<input type="text" name="value_user_email" value="">

</td></tr>
<tr><td class=shade width=150>user_group</td><td width=250>

<select size = "1" name="value_user_group" ><option value="">Please select</option><option value="dev" selected>dev</option><option value="manager">manager</option><option value="ops">ops</option><option value="staging">staging</option><option value="syseng">syseng</option></select>

&nbsp;<img src="images/icon_required.gif">

</td></tr>

<tr><td class=shade width=150>last_login_dts</td><td width=250>
<input type=text name="value_last_login_dts" size = "20" value=""><input type="hidden" name="type_last_login_dts" value="date0">

</td></tr>

<tr><td class=shade width=150>login_count</td><td width=250>

<input type="text" name="value_login_count" value="0">

</td></tr>
<tr height=50><td colspan=2 align=center>

<input class=button type=submit value="Save" id=submit1 name=submit1>

<input class=button type=reset value="Reset">
<input type=hidden name="a" value="added">

</td></tr>
</form>
<!-- legend -->

<tr height=50><td colspan=2 align=left>

<hr width=300 noshade size=1>

<img src="images/icon_required.gif"> - Required field

</td></tr>
</table>
<script type="text/javascript">

$(document).ready(function(){
function loadSelectContent(txt, selectControl, selectValue)

{

$('#'+selectControl).get(0).options[0]=new Option(TEXT_PLEASE_SELECT,'');

var str = txt.split('\n');

var index = 0;

for(i=0,j=0; i < str.length - 1; i=i+2, j++) {

$('#'+selectControl).get(0).options[j+1]=new Option(unescape(str[i+1]),unescape(str[i]));

if ( unescape(str[i]) == selectValue ) {index = j+1;}

}

$('#'+selectControl).get(0).selectedIndex = index;

}

});

</script>
<script>SetToFirstControl();</script>

</body>

</html>
[/indent]
and the source from phprunner :

[indent]

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

<HTML><HEAD><TITLE>User Admin</TITLE>

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

href="include/style.css" type=text/css rel=stylesheet>{$includes}

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

<BODY bgColor=white {$bodyonload}>

<FORM name=editform action=sman_users_add.php method=post

encType=multipart/form-data {$onsubmit}>{include_if_exists file="include/header.php"}

<H1>User Admin, {mlang_message tag="ADD_NEW_RECORD"}</H1>{doevent name="AddOnLoad"} {$message}

<DIV align=left>

<HR width=300 noShade SIZE=1>

</DIV>&nbsp;&nbsp;&nbsp;<A href="sman_users_list.php?a=return">{mlang_message tag="BACK_TO_LIST"}</A><BR><BR>

<TABLE cellPadding=2>

<TBODY>

<TR>

<TD class=shade width=150>user_id</TD>

<TD width=250>{build_edit_control field="user_id" mode="add" value=$value_user_id} </TD></TR>

<TR>

<TD class=shade width=150>user_name</TD>

<TD width=250>{build_edit_control field="user_name" mode="add" value=$value_user_name} </TD></TR>

<TR>

<TD class=shade width=150>user_passwd</TD>

<TD width=250>{build_edit_control field="user_passwd" mode="add" value=$value_user_passwd} </TD></TR>

<TR>

<TD class=shade width=150>user_desc</TD>

<TD width=250>{build_edit_control field="user_desc" mode="add" value=$value_user_desc} </TD></TR>

<TR>

<TD class=shade width=150>user_email</TD>

<TD width=250>{build_edit_control field="user_email" mode="add" value=$value_user_email} </TD></TR>

<TR>

<TD class=shade width=150>user_group</TD>

<TD width=250>{build_edit_control field="user_group" mode="add" value=$value_user_group} &nbsp;<IMG

src="images/icon_required.gif"> </TD></TR>

<TR>

<TD class=shade width=150>last_login_dts</TD>

<TD width=250>{build_edit_control field="last_login_dts" mode="add" value=$value_last_login_dts} </TD></TR>

<TR>

<TD class=shade width=150>login_count</TD>

<TD width=250>{build_edit_control field="login_count" mode="add" value=$value_login_count} </TD></TR>

<TR height=50>

<TD align=middle colSpan=2><INPUT class=button id=submit1 type=submit value=Save name=submit1>

<input class=button type=reset value="{mlang_message tag="RESET"}"> <input type=hidden name="a" value="added"></TD></TR></FORM><!-- legend -->

<TR height=50>

<TD align=left colSpan=2>

<HR width=300 noShade SIZE=1>

<BR><IMG src="images/icon_required.gif"> - {mlang_message tag="REQUIRED_FIELD"} </TD></TR></TBODY></TABLE>{include_if_exists file="include/footer.php"} {$linkdata}<script>SetToFirstControl();</script></BODY></HTML>
[/indent]

J
Jane 7/11/2007

Hi,
it seems there are two forms on your page and one of these forms enclose within another.

To fix it switch to HTML mode on the Visual Editor tab, find this code:

<FORM name=editform action=sman_users_add.php method=post

encType=multipart/form-data {$onsubmit}>{include_if_exists file="include/header.php"}

and replace it with this one:

{include_if_exists file="include/header.php"}

<FORM name=editform action=sman_users_add.php method=post

encType=multipart/form-data {$onsubmit}>

M
mounir author 7/11/2007

Yes , That's what i did thank you , i found it this morning <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19580&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

thank you again

Hi,

it seems there are two forms on your page and one of these forms enclose within another.

To fix it switch to HTML mode on the Visual Editor tab, find this code:

and replace it with this one: