Home › Forums › Legacy Support › Support queries › Setup issues › I can’t get into the dashboard
- This topic has 70 replies, 3 voices, and was last updated 2 years, 9 months ago by
Anshuman Sahu.
-
AuthorPosts
-
February 9, 2021 at 8:29 pm #339104
Usapuka
SpectatorHi 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 . RegardsFebruary 10, 2021 at 3:05 pm #339314Anshuman Sahu
Keymasterplease enable : https://codex.buddypress.org/getting-started/customizing/bp_enable_multiblog/February 10, 2021 at 6:54 pm #339370Usapuka
SpectatorHi 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,February 11, 2021 at 3:18 pm #339616Anshuman Sahu
KeymasterWell it seems like you have to enable the components individually on each subsite from wp-admin -> settings -> buddypress -> componentsFebruary 11, 2021 at 5:22 pm #339627Usapuka
SpectatorHi 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. RegardsFebruary 12, 2021 at 1:21 pm #339788Anshuman Sahu
Keymaster1 . 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(); } }
February 12, 2021 at 4:01 pm #339823Usapuka
SpectatorHi 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
RegardsFebruary 13, 2021 at 2:04 pm #340016Anshuman Sahu
Keymaster1 . 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(); } }
February 13, 2021 at 8:41 pm #340062Usapuka
SpectatorHi 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.February 15, 2021 at 11:14 am #340250Usapuka
SpectatorHi 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,February 16, 2021 at 1:53 pm #340580Anshuman Sahu
KeymasterWell 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 .February 16, 2021 at 2:46 pm #340596Usapuka
SpectatorHi 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, regardsFebruary 17, 2021 at 2:32 pm #340831Anshuman Sahu
KeymasterWell you need to enable site creation from wp-admin -> network -> settings -> https://prnt.sc/zv3m00February 17, 2021 at 4:07 pm #340853Usapuka
SpectatorHi 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,February 18, 2021 at 3:55 pm #341063Anshuman Sahu
KeymasterWell Im not able to login to your site with the creds shared previously , please share the admin creds again to check this . -
AuthorPosts
- The topic ‘I can’t get into the dashboard’ is closed to new replies.