phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
470 website / homepage block always 2007-11-01 14:33 2007-11-01 14:33
jfz  
 
normal  
new 5.7.1 (stable)  
open  
none  
none  
ERROR ERROR in file " phpMyEditSetup.php"
ERROR ERROR in file " phpMyEditSetup.php"
NO INPUT BOX APPEARS TO LET THE USER ENTER OR SELECT ANDIDENTIFIER FORM THE TABLE...

Please note, that there were problems reported by phpMyEdit users
regarding using MySQL reserved word as unique key name (the example for
this is "key" name). Thus we recommend you to use another name
of unique key. Usage of "id" or "ID" should be safe and good idea.
</p>
<form action="'.htmlspecialchars($self).'" method="POST">
<input type="hidden" name="hn" value="'.htmlspecialchars($hn).'">
<input type="hidden" name="un" value="'.htmlspecialchars($un).'">
<input type="hidden" name="pw" value="'.htmlspecialchars($pw).'">
<input type="hidden" name="db" value="'.htmlspecialchars($db).'">
<input type="hidden" name="tb" value="'.htmlspecialchars($tb).'">
<table border="1" cellpadding="1" cellspacing="1" summary="Key selection">'.PHP_EOL;
// <tr><td><input type="radio" name="id" value="">
// <td><i>None</i></td><td><i>No id field required</i></td></tr>


HERE IS THE FIX

<form action="'.htmlspecialchars($self).'" method="POST">
<input type="hidden" name="hn" value="'.htmlspecialchars($hn).'">
<input type="hidden" name="un" value="'.htmlspecialchars($un).'">
<input type="hidden" name="pw" value="'.htmlspecialchars($pw).'">
<input type="hidden" name="db" value="'.htmlspecialchars($db).'">
<input type="hidden" name="tb" value="'.htmlspecialchars($tb).'">
<tr><td><input type="text" name="id" value="">
<table border="1" cellpadding="1" cellspacing="1" summary="Key selection">'.PHP_EOL;
// <tr><td><input type="radio" name="id" value="">
// <td><i>None</i></td><td><i>No id field required</i></td></tr>
Just try using " phpMyEditSetup.php" Ther is no input field for the table record ID. So the program can go no furhter.
See the selection fix in the description. This may not be ideal but it works.
Place this line
<tr><td><input type="radio" name="id" value="">
Above this line
<table border="1" cellpadding="1" cellspacing="1" summary="Key selection">'.PHP_EOL;


There are no notes attached to this bug.