Siteground migrated my sites. Both primarily use external database enrollment. One is now broken.
After changing the IP address, and giving permission on the database site for the moodle site to use the content, the test of external database enrollment indicates success. Old students see courses enrolled in when they log in. They also see the Course details/Course profile block in profile.
Students who log in - after the migration - can log in successfully but do not have a course details/Course profile block in profile and do not see any courses at 'home/My courses.'
Siteground is telling me I need to hire someone, because they don't know what went wrong.
My other site uses the same method, but the database is on localhost on the working site.
I have been comparing settings in the sites, but I can't see any difference except for one site using localhost in external database enrollment and one using an IP address. As it always ways.
Live logs show this:
Front page | System | Course viewed | The user with id '1470' viewed the course with id '1'. | web |

And on the profile page:

Students before the migration see this at log in:
