Continue button missing after updating WPLMS

Home Forums Legacy Support Support queries How-to & Troubleshooting Continue button missing after updating WPLMS

Viewing 15 posts - 1 through 15 (of 42 total)
  • Author
    Posts
  • #194078
    sushant95b
    Participant
    Hi, 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.
    #194080
    sushant95b
    Participant
    This reply has been marked as private.
    #194211
    sushant95b
    Participant
    I 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.
    #194284
    logan
    Member

    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.
    #194289
    sushant95b
    Participant
    All 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.
    #194325
    logan
    Member
    The 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 .
    #194365
    sushant95b
    Participant
    I 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 message
    #194422
    sushant95b
    Participant
    I 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.
    #194608
    sushant95b
    Participant
    No response?
    #194670
    logan
    Member
    This is very strange issue. most probably it is a cookie related. we are debugging this issue and will reply.
    #194742
    sushant95b
    Participant
    Any update on this issue?
    #194774
    MrVibe
    Keymaster
    I 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.
    #194788
    sushant95b
    Participant
    Thanks, 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.
    #194797
    logan
    Member
    Hey 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);  
    #194866
    sushant95b
    Participant
    Hello, I pasted it, but looks like issue still happens. Can you check from your side as well?
Viewing 15 posts - 1 through 15 (of 42 total)
  • The topic ‘Continue button missing after updating WPLMS’ is closed to new replies.