Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Continue button missing after updating WPLMS
Tagged: 404, Continue Course, Course
- This topic has 41 replies, 4 voices, and was last updated 5 years, 9 months ago by logan.
-
AuthorPosts
-
January 28, 2019 at 9:36 am #194078sushant95bParticipantHi, In my old installation of WPLMS, there used to be a continue button in the top right for each course. https://prnt.sc/md5j50 However, in my new instance after updating WPLMS and all plugins, I am unable to see the Continue Course button. http://prntscr.com/md5jna 1. I tried updating widgets in student sidebar, did not work 2. Tried different settings as per previous forum posts to get this back, not working 3. Tried to make as offline course and tried. Still not working. Please help me fix this. One more added issue to this is that I keep getting 404 pages when I try to start few courses. And in incognito it works.January 28, 2019 at 9:45 am #194080sushant95bParticipantThis reply has been marked as private.January 29, 2019 at 4:39 am #194211sushant95bParticipantI have fixed the other issues. Now I am getting ""This course can not be taken. Contact Administrator." message when clicking on Start course. I tried removing the student and adding back. But still same issue happens. I also added a code fragment I got from an earlier forum post. That also does not work.January 29, 2019 at 10:55 am #194284loganMember
Hi...
If your website is at https, then please make sure you have set the https in the wp-admin->settings->general->site address and wordpress address.
Please also set the cache duration to be 0 in your wp-admin -> wplms -> miscellaneous and again check this issue . Also try re-saving permalinks and clear all caches.
Also make sure these pages are connected in wp-admin >wplms > course manager. Refer: http://prntscr.com/mdomm2 ** It is possible that the user is enrolled still he cannot access the course status page that means the course is expired for that user. NOTE : PLEASE CLEAR YOUR BROWSER CACHE FIRST AND THEN CHECK IT.January 29, 2019 at 11:39 am #194289sushant95bParticipantAll points checked. 1. Site is http - https://prnt.sc/mdpb6h 2. Cache is 0 - http://prntscr.com/mdpayd 3. Course pages are set correctly - https://prnt.sc/mdpbf9 Still issue persists. Please advise.January 29, 2019 at 12:46 pm #194325loganMemberThe issue is not related to theme or any of its plugins . The start course page is redirecting back to itself some how . http://prntscr.com/mdqcz6 as you can see in this screenshot . I guess the issue is appearing due to a third party plugin or your server itself .Please check your .htaccess rules , try deactivating all your third party plugins and check issue again .January 29, 2019 at 2:22 pm #194365sushant95bParticipantI checked htaccess. Only default rules are set. Also deactivated all 3rd party plugins and checked. Still issue persists. Can you please login and check? I have provided credentials via private messageJanuary 30, 2019 at 4:58 am #194422sushant95bParticipantI would like to give the complete details how I reproduced the error. Please follow the below steps. Step 1: - Clear the cache, history and cookies in your browser. - Enter the application url in the browser and login with dhpuser01 credentials. - Navigate to Course list and click on Course1. - Then you will be redirected to curriculum page where you press the Start course or Continue course button. - Then you will be redirected to error page (500 error). Step 2: - Open incognito window. - Follow the procedures as mentioned above. In both the scenarios we are getting the same error. Once you refresh the page or back button press the error will go off and then if you click on Continue course or Start Course, it works fine. P.S: This error message will be coming only on first time navigation. If you do any intermediate refresh or back button press, this error will not come.January 31, 2019 at 5:31 am #194608sushant95bParticipantNo response?January 31, 2019 at 12:21 pm #194670loganMemberThis is very strange issue. most probably it is a cookie related. we are debugging this issue and will reply.February 1, 2019 at 1:22 am #194742sushant95bParticipantAny update on this issue?February 1, 2019 at 8:22 am #194774MrVibeKeymasterI think @logan did not refer the issue correctly, the amazon EC2 instance have issues in saving cookies because of the url. The first time a user clicks the code breaks at setCookie, second time since the cookie was set, it does not verify other parameters ( basically skips other verifications and setCookie code is not executed). So, we will have to make some changes in your site for this to pass. This is the only issue of its kind, so the fix happens in your site. We'll start working in your site again in few hours, I think if you assign a proper domain to the EC2 link, the issue might not appear at all.February 1, 2019 at 9:54 am #194788sushant95bParticipantThanks, it is an internal training tool and we don't have a domain to point this to. You can work on the instance and let us know once issue is fixed. Do let me know if you need any additional access details.February 1, 2019 at 10:39 am #194797loganMemberHey there, Please paste this snippets in your wp-admin > plugins > editor > wplms-customizer plugin > wplms-customizer.php add_action('wplms_before_start_course',function(){ if(!empty($_POST['course_id'])){ echo ' <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script> <script> jQuery.cookie("course2", '.$_POST['course_id'].', { expires: 1 }); </script> '; } },1);February 1, 2019 at 2:54 pm #194866sushant95bParticipantHello, I pasted it, but looks like issue still happens. Can you check from your side as well? -
AuthorPosts
- The topic ‘Continue button missing after updating WPLMS’ is closed to new replies.