fix several notices and a few bugs caused by variable name/ non-declaration issues (all caught by ZDE's analyze feature, incidentally)
fix several notices and a few bugs caused by variable name/
non-declaration issues
(all caught by ZDE's analyze feature, incidentally)


git-svn-id: 4b064e69dc630d28214c1e1442d27300cccf8e9a@181289 c90b9560-bf6c-de11-be94-00142212c4b1

DQNEO/PEAR_Exception