Fix Yii website internal server error on login

Job ID: 31094966

Budget: $250 – $750 AUD

Our Yii based website has been migrated to a new server and now we are getting a http 500 error when you try to login. The styling on the website is not working either.

site: http://13.211.211.246/

Here is a list of the steps that were taken to migrate -
1. Logged into old server console
2. Navigated to phpMyAdmin service
3. Exported the database to download onto local machine
4. Navigated to the terminal service
5. Used browser terminal to open ./etc/ssh/sshd_config and modified option "PermitRootLogin" to "yes", allowing root user to login via ssh
6. Navigated to "Manage root’s SSH Keys" service
7. Generated a private/public key pair, and downloaded private key
8. Used ssh command with key on local machine to ssh into old server as root
9. zipped up the folder containing the drupal server "/home/wardsgroup/public_html"
10. used scp command on local machine to download zip archive onto local machine
11. Logged on to AWS lightsail
12. Selected "Account -> Account" from the top menu
13. Selected SSH Keys
14. downloaded the default private key
15. Used the scp command with private key on local machine to upload the olf server sql dump and public_html zip to the new server as admin
16. Used the ssh command to ssh into new server
17. Unzipped the public_html folder and replaced the current apache2 server folder at /var/www/html/drupal
18. used mysql cli to create wardsgro_wardsgroup database
19. added a new user with the old server mysql credentials with all privileges relating to database (make sure identified with password)
20. imported old server sql dump to created database
21. restarted apache2 service
22. Installed Drush for easier drupal management

Current status: Everything appears, but after login the screens dont have any styling and we get 500 errors on certain pages.

Attached photos showing before and after.
Related categories: PHP MySQL HTML Yii