WordPress LMS for Web and mobile Forums WPLMS Student App We having a problem with the app

We having a problem with the app

Back to course
Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #11086

    frankdage
    Participant

    We are having this problem with the app, app is available on the appstore as LearnPace App.

     

    #11087

    frankdage
    Participant
    This reply has been marked as private.
    #11107

    Alex
    Keymaster
    This reply has been marked as private.
    #11111

    frankdage
    Participant

    I am using ithemes security plugin I just disabled it so please try again as credentials are correct please.

    #11127

    Alex
    Keymaster
    This reply has been marked as private.
    #11129

    frankdage
    Participant

    I honestly did not complain about wallet though, kindly check the video as the recording is from the mobile app. Courses not showing up in the account.

    #11163

    Alex
    Keymaster
    This reply has been marked as private.
    #11179

    frankdage
    Participant

    HI since you changed our site directory it’s been learnpace.com/lp, and we want the learnpace.com only and not the learnpace.com/lp

    #11196

    Alex
    Keymaster

    If you want it to be site.com not http://site.com/lp then please make sure that your wordpress is installed on root of domain that is site.com not in a directory (http://site.com/lp) .
    All site files must be in root .

     

    #11215

    frankdage
    Participant

    Fixed this. Tried releasing android app and got these errors, should I start with the tutorials from scratch please??????

     

    Property ‘browserInit’ does not exist on type ‘Facebook’.

     

    L63:  if(!this.config.isLoggedIn){

    L64:      this.fb.browserInit(this.config.settings.facebook.app_id, “v2.9”);

     

    Error: Failed to transpile program

    at new BuildError (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)

    at C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@ionic\app-scripts\dist\transpile.js:137:20

    at new Promise (<anonymous>)

    at transpileWorker (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@ionic\app-scripts\dist\transpile.js:103:12)

    at Object.transpile (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@ionic\app-scripts\dist\transpile.js:61:12)

    at buildProject (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@ionic\app-scripts\dist\build.js:97:78)

    at C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@ionic\app-scripts\dist\build.js:47:16

    at <anonymous>

    #11237

    Alex
    Keymaster

    Please try running these command in your ionic project folder :

    npm install @ionic-native/[email protected]

     

    ionic cordova plugin add [email protected] --variable APP_ID="123456789" --variable APP_NAME="myApplication"

     

     

    Make sure that you replace the app id and app name with your fb app id and name .

    #11257

    frankdage
    Participant

    C:\Users\BXC\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:69

    throw err;

    ^

     

    Error: EPERM: operation not permitted, rename ‘C:\Users\BXC\.config\configstore\insight-cordova.json.2788178289’ -> ‘C:\Users\BXC\.config\configstore\insight-cordova.json’

    at Object.fs.renameSync (fs.js:766:18)

    at Function.writeFileSync [as sync] (C:\Users\BXC\AppData\Roaming\npm\node_modules\cordova\node_modules\write-file-atomic\index.js:124:8)

    at Configstore.set (C:\Users\BXC\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:62:21)

    at new Configstore (C:\Users\BXC\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:27:11)

    at new Insight (C:\Users\BXC\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)

    at Object.<anonymous> (C:\Users\BXC\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:26:15)

    at Module._compile (module.js:643:30)

    at Object.Module._extensions..js (module.js:654:10)

    at Module.load (module.js:556:32)

    at tryModuleLoad (module.js:499:12)

    [ERROR] An error occurred while running cordova plugin add [email protected] –variable

    APP_ID=424856181031… (exit code 1).

    #11277

    Alex
    Keymaster
    #11380

    frankdage
    Participant

    Ok so finally moved the site to the root instead of the folder, so it’s now learnpace.com now. upon running ionic serve I realised that it keeps pointing to the directory what do I do please.

    include cordova.js or run in a device/simulator

    cordovaWarn @ util.js:60

    checkAvailability @ plugin.js:23

    callCordovaPlugin @ plugin.js:107

    (anonymous) @ plugin.js:261

    value @ decorators.js:132

    (anonymous) @ app.component.ts:49

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    (anonymous) @ localforage.js:1434

    SQLStatement (async)

    (anonymous) @ localforage.js:1425

    SQLTransaction (async)

    (anonymous) @ localforage.js:1424

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    (anonymous) @ localforage.js:1401

    SQLStatement (async)

    (anonymous) @ localforage.js:1399

    SQLTransaction (async)

    (anonymous) @ localforage.js:1398

    t @ polyfills.js:3

    _initStorage$1 @ localforage.js:1388

    (anonymous) @ localforage.js:2212

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    r.scheduleTask @ polyfills.js:3

    r.scheduleMicroTask @ polyfills.js:3

    f @ polyfills.js:3

    t.then @ polyfills.js:3

    setDriver @ localforage.js:2234

    LocalForage @ localforage.js:2040

    4.3 @ localforage.js:2296

    s @ localforage.js:7

    e @ localforage.js:7

    (anonymous) @ localforage.js:7

    (anonymous) @ localforage.js:7

    (anonymous) @ localforage.js:7

    (anonymous) @ vendor.js:150454

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    (anonymous) @ vendor.js:147917

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    (anonymous) @ vendor.js:24570

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    6 @ course.ts:611

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    290 @ users.ts:22

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    565 @ app.module.ts:212

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    529 @ main.ts:5

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    524 @ main.js:5398

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    webpackJsonpCallback @ bootstrap 7c3479865ee9832050d5:25

    (anonymous) @ main.js:1

    avatar.jpg:1 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    Image (async)

    DefaultDomRenderer2.setProperty @ platform-browser.es5.js:2927

    setElementProperty @ core.es5.js:9579

    checkAndUpdateElementValue @ core.es5.js:9498

    checkAndUpdateElementInline @ core.es5.js:9432

    checkAndUpdateNodeInline @ core.es5.js:12231

    checkAndUpdateNode @ core.es5.js:12177

    prodCheckAndUpdateNode @ core.es5.js:12704

    (anonymous) @ HomePage.ngfactory.js:58

    updateRenderer @ core.es5.js:12620

    checkAndUpdateView @ core.es5.js:12149

    callViewAction @ core.es5.js:12507

    execEmbeddedViewsAction @ core.es5.js:12465

    checkAndUpdateView @ core.es5.js:12145

    callViewAction @ core.es5.js:12507

    execComponentViewsAction @ core.es5.js:12439

    checkAndUpdateView @ core.es5.js:12150

    ViewRef_.detectChanges @ core.es5.js:10218

    NavControllerBase._viewAttachToDOM @ nav-controller-base.js:589

    Tab._viewAttachToDOM @ tab.js:324

    NavControllerBase._transition @ nav-controller-base.js:681

    (anonymous) @ nav-controller-base.js:363

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    (anonymous) @ localforage.js:1434

    SQLStatement (async)

    (anonymous) @ localforage.js:1425

    SQLTransaction (async)

    (anonymous) @ localforage.js:1424

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    (anonymous) @ localforage.js:1401

    SQLStatement (async)

    (anonymous) @ localforage.js:1399

    SQLTransaction (async)

    (anonymous) @ localforage.js:1398

    t @ polyfills.js:3

    _initStorage$1 @ localforage.js:1388

    (anonymous) @ localforage.js:2212

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    r.scheduleTask @ polyfills.js:3

    r.scheduleMicroTask @ polyfills.js:3

    f @ polyfills.js:3

    t.then @ polyfills.js:3

    setDriver @ localforage.js:2234

    LocalForage @ localforage.js:2040

    4.3 @ localforage.js:2296

    s @ localforage.js:7

    e @ localforage.js:7

    (anonymous) @ localforage.js:7

    (anonymous) @ localforage.js:7

    (anonymous) @ localforage.js:7

    (anonymous) @ vendor.js:150454

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    (anonymous) @ vendor.js:147917

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    (anonymous) @ vendor.js:24570

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    6 @ course.ts:611

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    290 @ users.ts:22

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    565 @ app.module.ts:212

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    529 @ main.ts:5

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    524 @ main.js:5398

    __webpack_require__ @ bootstrap 7c3479865ee9832050d5:54

    webpackJsonpCallback @ bootstrap 7c3479865ee9832050d5:25

    (anonymous) @ main.js:1

    2polyfills.js:3 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    u @ polyfills.js:3

    t.scheduleTask @ polyfills.js:3

    r.scheduleTask @ polyfills.js:3

    r.scheduleMacroTask @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    r.(anonymous function) @ polyfills.js:2

    Private.FileTransferWrapper.download @ imgcache.js:477

    ImgCache.cacheFile @ imgcache.js:663

    (anonymous) @ imageCache.ts:53

    (anonymous) @ imgcache.js:758

    (anonymous) @ imgcache.js:735

    (index):1 Failed to load https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8100&#8217; is therefore not allowed access. The response had HTTP status code 404.

    avatar.jpg:1 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    Image (async)

    DefaultDomRenderer2.setAttribute @ platform-browser.es5.js:2853

    (anonymous) @ lazy-load.directive.ts:46

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    (anonymous) @ imageCache.ts:55

    (anonymous) @ imgcache.js:758

    (anonymous) @ imgcache.js:735

    2polyfills.js:3 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    u @ polyfills.js:3

    t.scheduleTask @ polyfills.js:3

    r.scheduleTask @ polyfills.js:3

    r.scheduleMacroTask @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    r.(anonymous function) @ polyfills.js:2

    Private.FileTransferWrapper.download @ imgcache.js:477

    ImgCache.cacheFile @ imgcache.js:663

    (anonymous) @ imageCache.ts:53

    (anonymous) @ imgcache.js:758

    (anonymous) @ imgcache.js:735

    (index):1 Failed to load https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8100&#8217; is therefore not allowed access. The response had HTTP status code 404.

    avatar.jpg:1 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    Image (async)

    DefaultDomRenderer2.setAttribute @ platform-browser.es5.js:2853

    (anonymous) @ lazy-load.directive.ts:46

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    t.invokeTask @ polyfills.js:3

    onInvokeTask @ core.es5.js:4140

    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

    (anonymous) @ imageCache.ts:55

    (anonymous) @ imgcache.js:758

    (anonymous) @ imgcache.js:735

    core.es5.js:1084 ERROR TypeError: Cannot read property ‘tabs’ of undefined

    at ProfilePage.webpackJsonp.43.ProfilePage.doRefresh (profile.ts:729)

    at Object.eval [as handleEvent] (ProfilePage.ngfactory.js:6489)

    at Object.handleEvent (core.es5.js:11914)

    at Object.handleEvent (core.es5.js:12617)

    at dispatchEvent (core.es5.js:8814)

    at core.es5.js:10742

    at SafeSubscriber.schedulerFn [as _next] (core.es5.js:3863)

    at SafeSubscriber.__tryOrUnsub (Subscriber.js:242)

    at SafeSubscriber.next (Subscriber.js:189)

    at Subscriber._next (Subscriber.js:129)

    defaultErrorLogger @ core.es5.js:1084

    ErrorHandler.handleError @ core.es5.js:1144

    IonicErrorHandler.handleError @ ionic-error-handler.js:63

    (anonymous) @ core.es5.js:10746

    schedulerFn @ core.es5.js:3863

    SafeSubscriber.__tryOrUnsub @ Subscriber.js:242

    SafeSubscriber.next @ Subscriber.js:189

    Subscriber._next @ Subscriber.js:129

    Subscriber.next @ Subscriber.js:93

    Subject.next @ Subject.js:55

    EventEmitter.emit @ core.es5.js:3837

    Refresher._beginRefresh @ refresher.js:379

    Refresher._onMoveInZone @ refresher.js:335

    (anonymous) @ refresher.js:311

    t.invoke @ polyfills.js:3

    onInvoke @ core.es5.js:4149

    t.invoke @ polyfills.js:3

    r.run @ polyfills.js:3

    NgZone.run @ core.es5.js:4017

    Refresher._onMove @ refresher.js:310

    2polyfills.js:3 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    u @ polyfills.js:3

    t.scheduleTask @ polyfills.js:3

    r.scheduleTask @ polyfills.js:3

    r.scheduleMacroTask @ polyfills.js:3

    (anonymous) @ polyfills.js:3

    r.(anonymous function) @ polyfills.js:2

    Private.FileTransferWrapper.download @ imgcache.js:477

    ImgCache.cacheFile @ imgcache.js:663

    (anonymous) @ imageCache.ts:53

    (anonymous) @ imgcache.js:758

    (anonymous) @ imgcache.js:735

    (index):1 Failed to load https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8100&#8217; is therefore not allowed access. The response had HTTP status code 404.

    2polyfills.js:3 GET https://learnpace.com/lp/wp-content/themes/wplms/assets/images/avatar.jpg 404 (Not Found)

    #11398

    frankdage
    Participant

    We have moved the site from the folder to the root folder, but when we run ionic serve we still getting links to the old folder, how do we reset this please????

    #11403

    Alex
    Keymaster

    Okay please make sure that you have changed the api url in app -> src -> services ->config.ts  as well .

    refer : http://prntscr.com/jdja9w 

    Please also check if you have changes urls of old website that are saved in database as well. (this is not related to api but still for site to function properly and making sure there are no links of images of old website present).

    #11443

    frankdage
    Participant

    Hi now I recreated a new app ionic app I mean and after running through the tutorials I am still having this issue. Check the image attached please.

    https://mega.nz/#!ZRRUmaSC!SGuFPvuPq8ePe5N0G_Df-vs7dm4lckllsaMADaGuG5k

    #11446

    Alex
    Keymaster

    try adding this chrome extension : https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en

     Make sure that your wplms theme and all its plugins are updated to latest version .

    try adding this lin in your .htaccess file in your root of your site .

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    If above does not works then please share your site url ,admin credentials and a valid ftp credentials  to check this issue at your end .
    Ps: mark reply as private while sharing

    #11451

    frankdage
    Participant

    Well it worked when I run the ionic serve now it’s working after I updated the .htaccess file with the Set Environment variable. Now compiling the app to test. Will feedback. Thanks.

    #11478

    Alex
    Keymaster

    Ok sure.

Viewing 20 posts - 1 through 20 (of 20 total)
  • You must be logged in to reply to this topic.