Courses disappearing

theimitrovsky
Forums
I'm developing opigno lms website that has custom creator and student roles. Creator can create courses (obviously :) ) and can assign students to them, which they can later attend. My problem is that at random moments, all courses suddenly disappear and no one can see or attend. Even the newly created at that time doesn't appear in the courses list. This problem is solved by clearing the cache, but that's not acceptable solution for me. This had happened at least for or five times, at my local installation, and on live site. Some permanent solution or fix will be greatly appreciated. Thanks in advance :)
Profile picture for user James Aparicio
James Aparicio

Hi theimitrovsky,

Hi theimitrovsky,

Are you sure you are not confusing the catalogue and my-courses page. No one has ever had this issue.

In the catalogue you see the courses available that you are not part of and in the my-courses you see the courses you are part of. Is this the confusing you are having?

Otherwise you may have activated the caching for these views, the views are different per user, so they cannot be cached.

 

Best regards

theimitrovsky

Thanks for the quick response

Thanks for the quick response :) No i dont confuse them, simply because i completely removed the catalogue page, and there isn't one. Also this happened to me on localhost, and to my client on live page at least 4 times in two months time. Its not frequent occurrence but when its happening, it creates big problem . When this is happening, even if you create new course, it wont show in the courses list.
Profile picture for user James Aparicio
James Aparicio

And as soon as you clear the

And as soon as you clear the cache everything works correct?

What version of Opigno are you using? Have you done any changes to the my courses view?

Best regards

theimitrovsky

Im using Opigno LMS (opigno

Im using Opigno LMS (opigno_lms-7.x-1.17) with drupal 7.34 I havent changed anything to my courses view, except for the course logo and there was some weird php tag instead of teachers name (the solution for that i found here on the forum) And yes, the problem disappears when i clear all caches as admin
Profile picture for user James Aparicio
James Aparicio

And is the cache activated

And is the cache activated for that view?

Best regards

theimitrovsky

Yes it is enabled (i guess by

Yes it is enabled (i guess by default because i havent by myself) . Should i disable it?
Profile picture for user James Aparicio
James Aparicio

Hi theimitrovsky,

Hi theimitrovsky,

Try disabling it and let us know, if it fixes the issue.

Best regards

theimitrovsky

Ok, i will.

Ok, i will. Thanks a lot for the assistance