1) the no database selected error message means that there is a problem in the database connection file.
before uploading to the live server, you need to create the database on your remote host, then update the database connection file to connect to the hosts my sql server.
2) What paypal method are you using? PayPal standard or PayPal payments Pro?