Recently I've moved one of my development sites into production.
The following steps were taken.
- Complete backup of both versions (4.5 & 8.7)
- Removal of old version
- Uploading new TYPO3 developed version
- Updating database connection in the LocalConfiguration file
After doing all this and enabling the install tool I am able to login to my install tool but not into the backed. Both the install tool and the backend are giving the following error.
Uncaught SyntaxError: Invalid or unexpected token on Jquery. Various other errors also appear because of this. Included below is a screenshot for completion.
No file transfers failed and I am unable to login to the backend. I haven't done anyhthing to the database apart from setting it up

It's possible that file-compression was activated for JS- and CSS files which doesn't match the settings on the new server. If you click in the browser-console on a file-link you get some output like this:
You can adjust the compression-level in install-tool but can see the value in the file
typo3conf/localconf.php(for TYPO3 4.x) ortypo3conf/LocalConfiguration.php(for TYPO3 8). It might currently look like this:and you can adjust it just to 0:
In the install-tool of TYPO3 4.5 the option looks like this: