This course can not be taken. Contact Administrator.

Home Forums Legacy Support Support queries Other issues This course can not be taken. Contact Administrator.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #130593
    marinarov
    Spectator
    Hello guys, I am having this problem. My website is https but i set it in general ---> wordpress adress and site adress are both with https. If you get into a course and click in continue course you get ok into the course but if you want to navigate in the curriculum to any previous or next unit you get that message "This course can not be taken. Contact Administrator."    
    #130594
    marinarov
    Spectator
    This reply has been marked as private.
    #130713
    Anshuman Sahu
    Keymaster
    Please try adding this given code in your wplms-customizer.php file in wplms customizer plugin : add_action('wplms_after_start_course',function(){   if(!empty($_POST['course_id'])){     echo '     <script>     jQuery.cookie("course", '.$_POST['course_id'].', { expires: 1 });     </script>     ';   }   });
    #130718
    marinarov
    Spectator
    Hello alex! When I put this code like this, the website crashes, may be is not in the right place <?php /* Plugin Name: WPLMS Customizer Plugin Plugin URI: http://www.Vibethemes.com Description: A simple WordPress plugin to modify WPLMS template Version: 1.0 Author: VibeThemes Author URI: http://www.vibethemes.com License: GPL2 */ /* Copyright 2014  VibeThemes  (email : [email protected])   wplms_customizer program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.   wplms_customizer program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.   You should have received a copy of the GNU General Public License along with wplms_customizer program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */     include_once 'classes/customizer_class.php';       if(class_exists('WPLMS_Customizer_Plugin_Class')) { // instantiate the plugin class $wplms_customizer = new WPLMS_Customizer_Plugin_Class(); add_action('wplms_after_start_course',function(){   if(!empty($_POST['course_id'])){   echo '     jQuery.cookie("course", '.$_POST['course_id'].', { expires: 1 });     ';   } }    
    #130735
    Anshuman Sahu
    Keymaster
    it seems like the code was not pasted properly . Please provide your ftp credentials in  private reply .I will add the code for you .
    #130740
    marinarov
    Spectator
    Like this website doesn´t crash but still having the same contact administrator error     include_once 'classes/customizer_class.php';       if(class_exists('WPLMS_Customizer_Plugin_Class')) { // instantiate the plugin class $wplms_customizer = new WPLMS_Customizer_Plugin_Class(); add_action('wplms_after_start_course',function(){   if(!empty($_POST['course_id'])){   echo '     jQuery.cookie("course", '.$_POST['course_id'].', { expires: 1 });     ';   }       });       }  
    #130741
    marinarov
    Spectator
    This reply has been marked as private.
    #130922
    Anshuman Sahu
    Keymaster
    This reply has been marked as private.
    #131219
    marinarov
    Spectator
    Thanks alex!
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘This course can not be taken. Contact Administrator.’ is closed to new replies.