Wallet features does not work correctly

This topic contains 4 replies, has 2 voices, and was last updated by  Alex 1 year, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6858

    zayarthaungtin
    Participant

    I follow the guide lines but there is still errors in wallet features and error show like this.

    GET http://course.com.mm/wp-json/wplms/v1/user/wallet 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers {_headers: Map(1), _normalizedNames: Map(1)}ok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/subscribe”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.65.CoursePage.buyCourse@course.ts:276
    (anonymous)@CoursePage.ngfactory.js:79
    handleEvent@core.js:13255
    handleEvent@core.js:13982
    dispatchEvent@core.js:9704
    (anonymous)@core.js:10318
    (anonymous)@platform-browser.js:2614
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2

    And also student and instructor profile does not show also

    GET http://course.com.mm/wp-json/wplms/v1/user/profile 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers_headers: Map(1) {“content-type” => Array(1)}_normalizedNames: Map(1) {“content-type” => “content-type”}__proto__: Objectok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/profile”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.44.ProfilePage.ngOnInit@profile.ts:123
    checkAndUpdateDirectiveInline@core.js:12095
    checkAndUpdateNodeInline@core.js:13598
    checkAndUpdateNode@core.js:13541
    prodCheckAndUpdateNode@core.js:14244
    (anonymous)@ProfilePage_Host.ngfactory.js:12
    updateDirectives@core.js:13985
    checkAndUpdateView@core.js:13508
    ViewRef_.detectChanges@core.js:11300
    NavControllerBase._viewAttachToDOM@nav-controller-base.js:460
    Tab._viewAttachToDOM@tab.js:286
    NavControllerBase._transition@nav-controller-base.js:540
    (anonymous)@nav-controller-base.js:261
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2

    XHR failed loading: GET “http://course.com.mm/wp-json/wplms/v1/user/profile”.

    GET http://course.com.mm/wp-json/wplms/v1/user/chart/quiz 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers {_headers: Map(1), _normalizedNames: Map(1)}ok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/chart/quiz”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.44.ProfilePage.ionViewDidEnter@profile.ts:144
    ViewController._lifecycle@view-controller.js:486
    ViewController._didEnter@view-controller.js:395
    NavControllerBase._didEnter@nav-controller-base.js:792
    NavControllerBase._transitionFinish@nav-controller-base.js:623
    (anonymous)@nav-controller-base.js:609
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.run@core.js:4446
    (anonymous)@nav-controller-base.js:608
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    Promise.then (async)
    r@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMicroTask@polyfills.js:3
    f@polyfills.js:3
    c@polyfills.js:3
    (anonymous)@polyfills.js:3
    Animation._didFinish@animation.js:994
    Animation._didFinishAll@animation.js:981
    onTransitionEnd@animation.js:428
    onTransitionEnd@platform.js:610

    XHR failed loading: GET “http://course.com.mm/wp-json/wplms/v1/user/chart/quiz”.

    GET http://course.com.mm/wp-json/wplms/v1/user/chart/course 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers {_headers: Map(1), _normalizedNames: Map(1)}ok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/chart/course”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.44.ProfilePage.ionViewDidEnter@profile.ts:168
    ViewController._lifecycle@view-controller.js:486
    ViewController._didEnter@view-controller.js:395
    NavControllerBase._didEnter@nav-controller-base.js:792
    NavControllerBase._transitionFinish@nav-controller-base.js:623
    (anonymous)@nav-controller-base.js:609
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.run@core.js:4446
    (anonymous)@nav-controller-base.js:608
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    Promise.then (async)
    r@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMicroTask@polyfills.js:3
    f@polyfills.js:3
    c@polyfills.js:3
    (anonymous)@polyfills.js:3
    Animation._didFinish@animation.js:994
    Animation._didFinishAll@animation.js:981
    onTransitionEnd@animation.js:428
    onTransitionEnd@platform.js:610

    XHR failed loading: GET “http://course.com.mm/wp-json/wplms/v1/user/chart/course”.

    And also show the error below after login

    ERROR TypeError: Cannot read property ‘push’ of null

    at Tab.NavControllerBase._queueTrns (nav-controller-base.js:182)

    at Tab.NavControllerBase.setPages (nav-controller-base.js:153)

    at Tab.NavControllerBase.setRoot (nav-controller-base.js:143)

    at Toast._onDidDismiss (profile.ts:432)

    at Toast.ViewController._willUnload (view-controller.js:430)

    at OverlayPortal.NavControllerBase._willUnload (nav-controller-base.js:828)

    at OverlayPortal.NavControllerBase._cleanup (nav-controller-base.js:730)

    at OverlayPortal.NavControllerBase._transitionFinish (nav-controller-base.js:629)

    at nav-controller-base.js:609

    at t.invoke (polyfills.js:3)

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    NavControllerBase._willUnload@nav-controller-base.js:833
    NavControllerBase._cleanup@nav-controller-base.js:730
    NavControllerBase._transitionFinish@nav-controller-base.js:629
    (anonymous)@nav-controller-base.js:609
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.run@core.js:4446
    (anonymous)@nav-controller-base.js:608
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    Promise.then (async)
    r@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMicroTask@polyfills.js:3
    f@polyfills.js:3
    c@polyfills.js:3
    (anonymous)@polyfills.js:3
    Animation._didFinish@animation.js:994
    Animation._didFinishAll@animation.js:981
    onTransitionEnd@animation.js:428
    onTransitionEnd@platform.js:610

    Please help me to fix this bug and thank you.

    • This topic was modified 1 year, 5 months ago by  Alex.
    #6861

    Alex
    Keymaster

    Please follow :

    1. Make sure that your vibe course module plugin is updated to latest version 3.4.1 .

    2. Add this line at the end in your .htaccess file :
    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    #6874

    zayarthaungtin
    Participant

    Thanks for your reply but there is still some errors.

    This error log shows when I click on the course.

    GET http://localhost:8100/null 404 (Not Found)

    Image (async)
    DefaultDomRenderer2.setProperty@platform-browser.js:2949
    setElementProperty@core.js:10485
    checkAndUpdateElementValue@core.js:10404
    checkAndUpdateElementInline@core.js:10338
    checkAndUpdateNodeInline@core.js:13594
    checkAndUpdateNode@core.js:13541
    prodCheckAndUpdateNode@core.js:14244
    (anonymous)@CoursePage.ngfactory.js:827
    updateRenderer@core.js:13989
    checkAndUpdateView@core.js:13513
    callViewAction@core.js:13858
    execComponentViewsAction@core.js:13790
    checkAndUpdateView@core.js:13514
    ViewRef_.detectChanges@core.js:11300
    NavControllerBase._viewAttachToDOM@nav-controller-base.js:460
    Tab._viewAttachToDOM@tab.js:286
    NavControllerBase._transition@nav-controller-base.js:540
    (anonymous)@nav-controller-base.js:261
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2

    And this error shows when I open the course video link.

    this should not be

    Error parsing header X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube: insecure reporting URL for secure page at character position 22. The default protections will be applied.

    And I already ask for this bugs but this is still remain, it shows when I use the sign in/sign up functions.

    ERROR TypeError: Cannot read property ‘push’ of null

    at Tab.NavControllerBase._queueTrns (nav-controller-base.js:182)

    at Tab.NavControllerBase.setPages (nav-controller-base.js:153)

    at Tab.NavControllerBase.setRoot (nav-controller-base.js:143)

    at Toast._onDidDismiss (profile.ts:432)

    at Toast.ViewController._willUnload (view-controller.js:430)

    at OverlayPortal.NavControllerBase._willUnload (nav-controller-base.js:828)

    at OverlayPortal.NavControllerBase._cleanup (nav-controller-base.js:730)

    at OverlayPortal.NavControllerBase._transitionFinish (nav-controller-base.js:629)

    at nav-controller-base.js:609

    at t.invoke (polyfills.js:3)

    Thanks for your help and please reply me to fix this.

    • This reply was modified 1 year, 5 months ago by  Alex.
    #6880

    zayarthaungtin
    Participant

    Thanks for your reply but there is still some errors.

    This error log shows when I click on the course.

    GET http://localhost:8100/null 404 (Not Found)

    And this error shows when I open the course video link.

    this should not be

    Error parsing header X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube: insecure reporting URL for secure page at character position 22. The default protections will be applied.

    And I already ask for this bugs but this is still remain, it shows when I use the sign in/sign up functions.

    ERROR TypeError: Cannot read property ‘push’ of null

    at Tab.NavControllerBase._queueTrns (nav-controller-base.js:182)

    at Tab.NavControllerBase.setPages (nav-controller-base.js:153)

    at Tab.NavControllerBase.setRoot (nav-controller-base.js:143)

    at Toast._onDidDismiss (profile.ts:432)

    at Toast.ViewController._willUnload (view-controller.js:430)

    at OverlayPortal.NavControllerBase._willUnload (nav-controller-base.js:828)

    at OverlayPortal.NavControllerBase._cleanup (nav-controller-base.js:730)

    at OverlayPortal.NavControllerBase._transitionFinish (nav-controller-base.js:629)

    at nav-controller-base.js:609

    at t.invoke (polyfills.js:3)

    Thanks for your help and please reply me to fix this.

    #6911

    Alex
    Keymaster

    Well yes these errors appears in app but they does not appear in mobile when you will generate your app .
    Although we have to fix these errors .We will be fixing these once we resolve other big issues in app like pmpro integration and shortcodes support in app .

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.