Two things might help, reinstall for the first problem, and do a new download as well.
The second problem looks like your are using php4. Upgrade to php5, preferably 5.2n.
And i doubt it is related, but why install plugin first and template second. And well why not install the yjsg demo instead of joomla demo, we have much better info in there
. Just trying to keep it simple.