I get this in my name and email field:
" <b>Notice</b>: Undefined variable: stored in <b>/home/doomsday/public_html/themes/binary/image.php</b> on line <b>110</b>"
line 110
<td class="commentform" valign="top">
<form name="commentform" id="commentform" action="#comments" method="post">
<div class="imgcommentform">
<!-- If comments are on for this image AND album... -->
<input type="hidden" name="comment" value="1" />
<input type="hidden" name="remember" value="1" />
<?php if (isset($error)) { ?><div class="error">There was an error submitting your comment. Name, a valid e-mail address, and a comment are required.</div><!--error!--></td></tr><?php } ?>
Name:<input type="text" name="name" size="20" value="<?=$stored[0];?>" class="width" />
E-Mail (Not public, required):<input type="text" name="email" size="20" value="<?=$stored[1];?>" class="width" />
Site:<input type="text" name="website" size="40" value="<?=$stored[2];?>" class="width" />
<!--<tr><td colspan="2"><label><input type="checkbox" name="remember" <?=($stored[3]) ? "checked=\"1\"" : ""; ?>> Save my information</label></td></tr>-->
<textarea name="comment" rows="6" cols="40"></textarea>
<input type="submit" class="takki" value="Add Comment" />
</div><!--imgcommentform!-->
</form>
</td>
</tr>
</table><!--commenthidden!-->
You can see for example here:
http://rs-doomsday.com/april-2009/april1st.png.phpI have it set where it only asks for your name yet it still asks for everything.
At one point i was getting errors when trying to take off the comments for the images in the admin area.
Anyone know if I did something wrong, and how to fix it?
Comments
I suggest you compare the comment handling code of your theme with that of one of the distributed themes to see if you can find the difference which is causing this problem.
Thanks in advance.