I can’t get into the dashboard

Home Forums Legacy Support Support queries Setup issues I can’t get into the dashboard

Viewing 15 posts - 31 through 45 (of 71 total)
  • Author
    Posts
  • #339104
    Usapuka
    Spectator
    Hi Alex, Hello, Something is going wrong and it seems to me that it is because in the new sites there is no access to the BuddyPress configuration, there is no way to assign the different pages. On the new site I have appointed an administrator whose user is "administrador". Who appears as a Participant on the Primary Site and has access to the Dashboard of that primary site as an Instructor, where he could create courses (that is wrong): https://screencast-o-matic.com/watch/crnQYTSQKZ . Regards
    #339314
    Anshuman Sahu
    Keymaster
    please enable : https://codex.buddypress.org/getting-started/customizing/bp_enable_multiblog/
    #339370
    Usapuka
    Spectator
    Hi Alex, I enabled the Buddy Press Multiblog and my site crashed: https://prnt.sc/yzz3tk and https://prnt.sc/yzz06h. At this time I disabled mutiblog and it is still not working. From what I see I'm going to have to do a new installation from scratch, but before that I would like to be certain that both the theme and the plugins are compatible with a multisite. On the other hand, I would like to have a step by step tutorial (or the corrections of this one: https://www.youtube.com/watch?v=i80MKz2YcfY) for Version 4.x. Regards,
    #339616
    Anshuman Sahu
    Keymaster
    Well it seems like you have to enable the components individually on each subsite from wp-admin -> settings -> buddypress -> components
    #339627
    Usapuka
    Spectator
    Hi Alex, I took out the debug mode and was able to continue working on my site. The components are set and yet the site is not working properly https://screencast-o-matic.com/watch/crnXbjSYCM: 1. I cannot create new sites. 2. The administrator of the new site does not log in to his dashboard. 3. The administrator of the new site can login as an Instructor to the primary site. At this moment Buddy Press Multiblog is enabled, and the site is still malfunctioning. Regards
    #339788
    Anshuman Sahu
    Keymaster
    1 . please goto wp-admin -> wplms -> Buddypress -> Create Blog (multisite) -> set to members only . 2 . Well in multisite you need to add the admin email while creating it from backend network -> sites . 3 . yes the multisite allows the login to other sites you can prevent this by adding this code in your wplms-customizer.php file in wplms customier plugin :
    add_action('authenticate', array($this, 'validate_on_login'), 100, 3);
    
    function validate_on_login(){
      if (!is_user_logged_in()) {
         return;
      }
    
      $user = wp_get_current_user();
    
      //allow only login if user is member of this blog
    
      if (!is_user_member_of_blog( $user->ID, get_current_blog_id() ) && !is_super_admin( $user->ID )) {
        wp_logout();
        wp_redirect(network_site_url());exit();
      }
    
    }
    
    #339823
    Usapuka
    Spectator
    Hi Alex,
    2 . Well in multisite you need to add the admin email while creating it from backend network -> sites
    This means that new sites must be created from here?: https://prnt.sc/z8fubv Not from here?: https://prnt.sc/z8g4u3 3. When I try to activate the wplms-customizer plugin I get the following error (on line39 starts the script you sent me):
    Fatal error: Uncaught Error: Using $this when not in object context in /home/uv2561/public_html/lms/wp-content/plugins/wplms-customizer/wplms-customizer.php:39 Stack trace: #0 /home/uv2561/public_html/lms/wp-admin/includes/plugin.php(2299): include() #1 /home/uv2561/public_html/lms/wp-admin/plugins.php(191): plugin_sandbox_scrape('wplms-customize...') #2 {main} thrown in /home/uv2561/public_html/lms/wp-content/plugins/wplms-customizer/wplms-customizer.php on line 39
    Regards
    #340016
    Anshuman Sahu
    Keymaster
    1 . no the user should have access to admin panel of the site.We need to test this up , maybe this is related to the student/subscriber user role , he wouldnt be promoted to admin of new site. 2 . Im sorry this is the corrected code :
    add_action('authenticate',  'validate_on_login', 100, 3);
    
    function validate_on_login(){
      if (!is_user_logged_in()) {
         return;
      }
    
      $user = wp_get_current_user();
    
      //allow only login if user is member of this blog
    
      if (!is_user_member_of_blog( $user->ID, get_current_blog_id() ) && !is_super_admin( $user->ID )) {
        wp_logout();
        wp_redirect(network_site_url());exit();
      }
    
    }
    #340062
    Usapuka
    Spectator
    Hi Alex, I have activated the wplms-customizer plugin. I had to deactivate the vibe-zoom, wplms-h5p-plugin and wplms-multisite-usermeta plugins because of the number of errors they produced. I can't do much on the site: users can't log in, I can't create new sites https://screencast-o-matic.com/watch/crnIYzSUk9... I don't know how to continue. This site doesn't work and if I start another one from scratch I have no assurance that both the theme and the plugins are ready for a multisite.
    #340250
    Usapuka
    Spectator
    Hi Alex, At this moment I can not login in the Admin area: https://acaneb.org/acaneb/ErrorLMS.png. What can I do? Please help, my site do not work at all. Regards,
    #340580
    Anshuman Sahu
    Keymaster
    Well as you can see I registered a student user on the main site and created a new site site3 there and it worked for me : http://somup.com/crnDIHDYu5 I was able to login as admin . You need to make sure while creating site that you are logged into wordpress as well. Please enable " Synchronise VibeBP with WP Login " in wp-admin -> vibebp -> settings .
    #340596
    Usapuka
    Spectator
    Hi Alex, As far as I can see yours is a local installation (localhost), with my site I can't do anything of what you are telling me because my site is inaccessible. You have the Administrator and ftp credentials, I would appreciate if you take a look at it and tell me what I can do. Thanks, regards
    #340831
    Anshuman Sahu
    Keymaster
    Well you need to enable site creation from wp-admin -> network -> settings -> https://prnt.sc/zv3m00
    #340853
    Usapuka
    Spectator
    Hi Alex, My site is inaccessible so I can't do any of what you are proposing, at this time there are only 2 possibilities: 1. Please tell me how to fix it (you have the credentials to do it). 2. Or I'll do a new multisite installation, for which I have to be certain that it will work. I would need to know what to do for WPMLS V4.x, which is not indicated in the instructions of this old video: https://www.youtube.com/watch?v=i80MKz2YcfY. Regards,
    #341063
    Anshuman Sahu
    Keymaster
    Well Im not able to login to your site with the creds shared previously , please share the admin creds again to check this .
Viewing 15 posts - 31 through 45 (of 71 total)
  • The topic ‘I can’t get into the dashboard’ is closed to new replies.