Local installation is broken

Have you double checked your wp-config.php file to make sure it’s pointing to the correct database?

Also if your site was previously locally hosted and now it’s live also make sure that the siteurl and home URL’s are correct in the database for the live site under the ‘wp_options’ table.

Edit: If you can access the admin try going to Settings > Permalinks and clicking the save button to refresh your .htaccess file incase things got messed up there.