Cirkus Serveri Forum
    • CoD4xAdmin
    • Recent
    • Popular
    • Groups
    • Users
    • Register
    • Login

    Error with administrator options

    Scheduled Pinned Locked Moved
    Support
    2
    3
    237
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CJMavison
      last edited by

      Hello, I am still new to these themes, I have just done the installation of CoD4x WebAdmin, and I have a problem when entering with the default user and trying to access the administrator options, I cannot see them and it shows me only the following:

      TypeError: /var/www/html/app/views/admin/home/index.pug:244
      242| i.zmdi.zmdi-refresh-alt
      243| .card-body

      244| if (results.appversion.local_version!=results.appversion.github_version)
      245| .alert.alert-danger
      246| .m-b-20
      247| | You are running

      Cannot read property 'local_version' of null
      at eval (eval at wrap (/var/www/html/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1443:25)
      at template (eval at wrap (/var/www/html/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1933:72)
      at Object.exports.renderFile (/var/www/html/node_modules/pug/lib/index.js:427:38)
      at Object.exports.renderFile (/var/www/html/node_modules/pug/lib/index.js:417:21)
      at View.exports.__express [as engine] (/var/www/html/node_modules/pug/lib/index.js:464:11)
      at View.render (/var/www/html/node_modules/express/lib/view.js:135:8)
      at tryRender (/var/www/html/node_modules/express/lib/application.js:640:10)
      at Function.render (/var/www/html/node_modules/express/lib/application.js:592:3)
      at ServerResponse.render (/var/www/html/node_modules/express/lib/response.js:1012:7)
      at /var/www/html/app/controllers/admin/index.js:49:8
      at tryCatcher (/var/www/html/node_modules/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler (/var/www/html/node_modules/bluebird/js/release/promise.js:547:31)
      at Promise._settlePromise (/var/www/html/node_modules/bluebird/js/release/promise.js:604:18)
      at Promise._settlePromise0 (/var/www/html/node_modules/bluebird/js/release/promise.js:649:10)
      at Promise._settlePromises (/var/www/html/node_modules/bluebird/js/release/promise.js:729:18)
      at Promise._fulfill (/var/www/html/node_modules/bluebird/js/release/promise.js:673:18)
      at PropertiesPromiseArray.PromiseArray._resolve (/var/www/html/node_modules/bluebird/js/release/promise_array.js:127:19)
      at PropertiesPromiseArray._promiseFulfilled (/var/www/html/node_modules/bluebird/js/release/props.js:78:14)
      at Promise._settlePromise (/var/www/html/node_modules/bluebird/js/release/promise.js:609:26)
      at Promise._settlePromise0 (/var/www/html/node_modules/bluebird/js/release/promise.js:649:10)
      at Promise._settlePromises (/var/www/html/node_modules/bluebird/js/release/promise.js:729:18)
      at Promise._fulfill (/var/www/html/node_modules/bluebird/js/release/promise.js:673:18)
      at /var/www/html/node_modules/bluebird/js/release/nodeback.js:42:21
      at /var/www/html/node_modules/mongoose/lib/model.js:4876:16
      at /var/www/html/node_modules/mongoose/lib/helpers/promiseOrCallback.js:24:16
      at /var/www/html/node_modules/mongoose/lib/model.js:4899:21
      at /var/www/html/node_modules/mongoose/lib/query.js:4380:11
      at /var/www/html/node_modules/kareem/index.js:135:16
      at processTicksAndRejections (internal/process/task_queues.js:79:11)

      alt text

      I would greatly appreciate your help

      1 Reply Last reply Reply Quote 0
      • NeHoN
        NeHo Administrators
        last edited by

        Hello, please read this answer, this is the same problem and that should help you to solve this

        https://forum.cirkus-serveri.com/topic/118/help-me-with-this-problem/2

        I keep hitting the 'Escape' key - but I'm still here. ...

        1 Reply Last reply Reply Quote 1
        • C
          CJMavison
          last edited by

          Thanks buddy, it's fully working now

          1 Reply Last reply Reply Quote 1
          • First post
            Last post

          0

          Online

          191

          Users

          268

          Topics

          1.2k

          Posts
          Powered & Designed by NeHo