After Web site migration, new students don't see Course details/Course profile block in profile

After Web site migration, new students don't see Course details/Course profile block in profile

by Cindy Weber -
Number of replies: 5
Moodle 3.11.4+ Boost
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
SystemCourse viewedThe user with id '1470' viewed the course with id '1'.web
This is what the student sees at log in:


And on the profile page:


Students before the migration see this at log in:

Average of ratings: -
In reply to Cindy Weber

Re: After Web site migration, new students don't see Course details/Course profile block in profile

by Ken Task -
Picture of Particularly helpful Moodlers
clarification please ...
"Siteground migrated my sites"
'migrated' to me means moved... or are you talking about upgrading?

If upgrading, from what version to what version?

When one acquires an account that's authentication to get into site ..  how are you handling enrollments?

And am kinda confused ... you have 3 sites?
2 of them using localhost for DB and 1 on them using external DB?

How about something simple (am simple minded), like below:

Site       DB hosting
Site A - localhost - moodle version DB version
Site B - external DB - moodle version DB version and what DB flavor
Site C - ?

'SoS', Ken

In reply to Ken Task

Re: After Web site migration, new students don't see Course details/Course profile block in profile

by Cindy Weber -
Ken - No. This was a host migration. Siteground moved my sites to Virginia from another state. I was given notice of the move, and told to check the sites after they notified me that it was 'successfully done'. These moodles are originals from Moodle 3.11.4+. I hadn't planned on upgrading because they were working fine.
I have 2 sites. I had sent certain students taking certain courses to one Web site and others to another. I guess at the time I did it, I was concerned with size, and sometimes another site comes in handy - like now.
Siteground is my host for both domains. One domain is on the same local host as the database and the other one connects to that same database. I have been doing this for probably almost 20 years or so.
PHPMyAdmin Server type: MySQL
In reply to Cindy Weber

Re: After Web site migration, new students don't see Course details/Course profile block in profile

by Ken Task -
Picture of Particularly helpful Moodlers
If I am understanding correctly, moving to a different State (data center) would mean changing IP addresses and thus really new entries in DNS.

In the setup of DB servers for moodle, localhost means 127.0.0.1 ... if on Linux really uses a socket connection for which  you don't really have to supply info.

So in the config.php file of the one that doesn't work, what is DB server?

'SoS', Ken

PS - expect a PM in this system



Average of ratings: Useful (1)
In reply to Ken Task

Re: After Web site migration, new students don't see Course details/Course profile block in profile

by Cindy Weber -
Thank you Ken! You helped me think clearly. smile There are 2 spots to change the IP address.
Site Admin/Plugins/Authentication/External database AND
Site Admin/Plugins/Enrolments/External database
I forgot about the Database host spot under Enrolments and only changed the Host in Authentication. That is why the student was being entered in the database but wasn't being enrolled in the course.
Average of ratings: Useful (1)
In reply to Cindy Weber

Re: After Web site migration, new students don't see Course details/Course profile block in profile

by Ken Task -
Picture of Particularly helpful Moodlers
Welcome!   Nice chatting with ya via phone! (both of us in US).
Suggestion ... share, in your profile, not only where you host but what you are using for a cart!  smile

'SoS', Ken