• Resolved deandanna

    (@deandanna)


    I created instructor roles after installing the free LifterLMS plugin on a new WordProcess installation, however, the instructors are unable to login to the platform, with their registration credentials. The error given is that the instructor does not have access to the page ../wp-admin/admin.php?page=custom-dashboard.php). Please see the a copy of the status below

    ” WordPress
    ——————————————-

    Home Url: http://ecourse4me.com
    Site Url: http://ecourse4me.com
    Login Url: http://ecourse4me.com/wp-login.php
    Version: 5.1
    Debug Mode: No
    Debug Log: No
    Debug Display: Yes
    Locale: en_GB
    Multisite: No
    Page For Posts: Blog (#18) [http://ecourse4me.com/blog/]
    Page On Front: Home (#15) [http://ecourse4me.com/]
    Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    Show On Front: page
    Wp Cron: Yes

    Settings
    ——————————————-

    Version: 3.29.3
    Db Version: 3.29.3
    Course Catalog: Course Catalog (#127) [http://ecourse4me.com/courses/]
    Membership Catalog: Membership Catalog (#128) [http://ecourse4me.com/memberships/]
    Student Dashboard: Dashboard (#130) [http://ecourse4me.com/dashboard/]
    Checkout Page: Purchase (#129) [http://ecourse4me.com/purchase/]
    Course Catalog Per Page: 9
    Course Catalog Sorting: menu_order
    Membership Catalog Per Page: 9
    Membership Catalog Sorting: menu_order
    Site Membership: Not Set
    Courses Endpoint: my-courses
    Edit Endpoint: edit-account
    Lost Password Endpoint: lost-password
    Vouchers Endpoint: redeem-voucher
    Autogenerate Username: yes
    Password Strength Meter: yes
    Minimum Password Strength: strong
    Terms Required: no
    Terms Page: Not Set
    Checkout Names: required
    Checkout Address: required
    Checkout Phone: optional
    Checkout Email Confirmation: yes
    Open Registration: no
    Registration Names: required
    Registration Address: optional
    Registration Phone: hidden
    Registration Voucher: optional
    Registration Email Confirmation: no
    Account Names: required
    Account Address: required
    Account Phone: optional
    Account Email Confirmation: yes
    Confirmation Endpoint: confirm-payment
    Force Ssl Checkout: no
    Country: GB
    Currency: GBP
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Decimals: 2
    Trim Zero Decimals: no
    Recurring Payments: yes
    Email From Address: edosuagwu@gmail.com
    Email From Name: E-Course for Me!
    Email Footer Text:
    Email Header Image:
    Cert Bg Width: 800
    Cert Bg Height: 616
    Cert Legacy Compat: no

    Gateways
    ——————————————-

    Manual: Enabled
    Manual Logging: no
    Manual Order: 1

    Server
    ——————————————-

    Mysql Version: 5.6.40
    Php Curl: Yes
    Php Default Timezone: UTC
    Php Fsockopen: Yes
    Php Max Input Vars: 3000
    Php Max Upload Size: 128 MB
    Php Memory Limit: 768M
    Php Post Max Size: 128M
    Php Soap: Yes
    Php Suhosin: No
    Php Time Limt: 120
    Php Version: 7.1.26
    Software: Apache
    Wp Memory Limit: 40M

    Browser
    ——————————————-

    HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

    Theme
    ——————————————-

    Name: Astra
    Version: 1.7.1
    Themeuri: https://wpastra.com/
    Authoruri: https://wpastra.com/about/
    Template:
    Child Theme: No
    Llms Support: Yes

    Plugins
    ——————————————-

    Beaver Builder Plugin (Standard Version): 2.2.1.4
    LifterLMS: 3.29.3
    SG Optimizer: 5.1.1
    WooCommerce: 3.5.6
    WordPress Importer: 0.6.4
    WordPress Starter: 1.0.0
    WPForms Lite: 1.5.1.1

    Integrations
    ——————————————-

    BbPress: No
    BuddyPress: No

    Template Overrides
    ——————————————- “

Viewing 3 replies - 1 through 3 (of 3 total)
  • @deandanna,

    Could you help me figure out where “custom-dashboard.php” is coming from?

    I don’t see anything that obviously points to some custom code on your site but this sounds like you have a custom admin panel page setup which the Instructor role doesn’t have access to (which makes sense since it’s custom and Instructors only gain access to things that they’re explicitly granted).

    If you built a custom dashboard you’ll have to provide the Instructor role with the capability to access that dashboard (docs: https://codex.wordpress.org/Function_Reference/add_cap)

    Let me know if that helps

    Thread Starter deandanna

    (@deandanna)

    Thanks for your response.

    However, I am a newbie to both WordPress and LifterLMs so I do not know how I could have set up a custom admin panel. Come to think of it, doesn’t LifterLMS create a restricted admin dashboard for instructors? Is that a custom dashboard?

    Anyway, as I was able to create instructors in the 30-day LifterLMS trial platform and on a local WordPress installation, I began to suspect something was wrong with my WordPress installation. I re-installed WordPress, made sure the PHP version was 7.2, and voila! … I was able to create instructors.

    However, I am a newbie to both WordPress and LifterLMs so I do not know how I could have set up a custom admin panel. Come to think of it, doesn’t LifterLMS create a restricted admin dashboard for instructors? Is that a custom dashboard?

    The URL in your message says “./wp-admin/admin.php?page=custom-dashboard.php” which is a URL I’ve NEVER seen before (and I’ve been using WordPress since 2008) so I assumed this was something custom. Sorry if I’m wrong!

    The instructor dashboard is “custom” in that there’s a unique set of views (based on instructor permissions) and it’s “custom” in the sense that it doesn’t come with vanilla WordPress (but in that sense everything in LifterLMS is “custom” too).

    This isn’t the URL you’d be directed to as an instructor.

    Anyway, as I was able to create instructors in the 30-day LifterLMS trial platform and on a local WordPress installation, I began to suspect something was wrong with my WordPress installation. I re-installed WordPress, made sure the PHP version was 7.2, and voila! … I was able to create instructors.

    I’m not aware of any issues we’re having with 7.1 but glad that this fixed the issue for you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Instructor role unable to login’ is closed to new replies.