dhodges47 / SCORM-LearningManagementSystem

Open Source SCORM Learning Management System demo
MIT License
145 stars 72 forks source link

Issue with Loading The Index.html resource #22

Closed jemraider21 closed 2 years ago

jemraider21 commented 2 years ago

I have a few packages that I am testing out before I integrate the project with my main project. I can verify that the the uploading of the courses are successful and that the database updates accordingly, but when I try to launch these courses, I get a blank screen. Under the network tab, I see that a call is made to load the index.html file, but that resource is returning with a 404 error

dhodges47 commented 2 years ago

This is a very common error. It means that the virtual folder you specified in Appsettings isn't pointing to the actual content folder. How to fix: Look at the url in the network tab. Does the folder it is referencing exist in your application? If not, change the value in AppSettings to match the folder where you actually store your content.

On Wed, Nov 24, 2021 at 12:51 PM Jared @.***> wrote:

I have a few packages that I am testing out before I integrate the project with my main project. I can verify that the the uploading of the courses are successful and that the database updates accordingly, but when I try to launch these courses, I get a blank screen. Under the network tab, I see that a call is made to load the index.html file, but that resource is returning with a 404 error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dhodges47/SCORM-LearningManagementSystem/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB5OFWCT7DJ4RKUTKF2HTDUNUQ2XANCNFSM5IWVIUHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jemraider21 commented 2 years ago

The above suggestion fixed my issue. I was zipping the folder instead of just the content inside of the folder and the program was confused to why the index file wasn't found