robdrimmie / babynewt

Simple, unthreaded forum software written in PHP with a MySQL database.
MIT License
8 stars 1 forks source link

errors viewing with template qs param #16

Open robdrimmie opened 11 years ago

robdrimmie commented 11 years ago

(via null)

went to the template selection page, and was greeted by a bunch of SQL errors

I see two things:

1) the link for "View site with selected template" somehow gets created at the end of printing out the "Your Templates". This causes clicking on the select menu for "Public Templates" to direct you to the link destination instead.

2) There's a weird value in the "Public Templates" select menu which isn't what we're running into but suspicious:

"Notice: Undefined index: selTemplate in /home/ccranium/1142/edittemplate.php on line 138"

Possible workaround: Use the "tab" key to interact with the form and avoid clicking the link.