for the first one, would you please edit admin/includes/functions/general.php line 720 and remove the double quotes - change

language_id = "'
to
language_id = '

and change

'" ORDER BY
to
' ORDER BY

and see if that fixes it? Then go to Admin > Tools > Version and post the Database Engine value?