Replies: 1 comment 2 replies
-
It is just a EJS Rendering Error. Will Fix it easily. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On inputing root user login data on first login, server internal error is obtained, logs:
2021-04-01T14:54:56.250896+00:00 heroku[router]: at=info method=POST path="/register/rootuser" host=dc-2020.herokuapp.com request_id=bb916e02-2a0e-42cc-946b-aa7be09319e4 fwd="110.235.237.76" dyno=web.1 connect=1ms service=20113ms status=500 bytes=436 protocol=https
2021-04-01T14:54:56.251449+00:00 app[web.1]: ReferenceError: /app/views/dashboard.ejs:28
2021-04-01T14:54:56.251458+00:00 app[web.1]: 26| Generate a Hybrid Password
2021-04-01T14:54:56.251460+00:00 app[web.1]: 27|
2021-04-01T14:54:56.251461+00:00 app[web.1]: >> 28|
Go to Frontend
2021-04-01T14:54:56.251462+00:00 app[web.1]: 29|
2021-04-01T14:54:56.251462+00:00 app[web.1]: 30|
2021-04-01T14:54:56.251463+00:00 app[web.1]: 31| <% } else {%>
2021-04-01T14:54:56.251464+00:00 app[web.1]:
2021-04-01T14:54:56.251465+00:00 app[web.1]: fronturl is not defined
2021-04-01T14:54:56.251465+00:00 app[web.1]: at eval (/app/views/dashboard.ejs:31:26)
2021-04-01T14:54:56.251467+00:00 app[web.1]: at dashboard (/app/node_modules/ejs/lib/ejs.js:691:17)
2021-04-01T14:54:56.251467+00:00 app[web.1]: at tryHandleCache (/app/node_modules/ejs/lib/ejs.js:272:36)
2021-04-01T14:54:56.251468+00:00 app[web.1]: at View.exports.renderFile [as engine] (/app/node_modules/ejs/lib/ejs.js:489:10)
2021-04-01T14:54:56.251468+00:00 app[web.1]: at View.render (/app/node_modules/express/lib/view.js:135:8)
2021-04-01T14:54:56.251469+00:00 app[web.1]: at tryRender (/app/node_modules/express/lib/application.js:640:10)
2021-04-01T14:54:56.251469+00:00 app[web.1]: at Function.render (/app/node_modules/express/lib/application.js:592:3)
2021-04-01T14:54:56.251469+00:00 app[web.1]: at ServerResponse.render (/app/node_modules/express/lib/response.js:1012:7)
2021-04-01T14:54:56.251469+00:00 app[web.1]: at /app/routes/register.js:143:14
2021-04-01T14:54:56.251470+00:00 app[web.1]: at /app/node_modules/mongoose/lib/model.js:4875:16
2021-04-01T14:54:56.251470+00:00 app[web.1]: at /app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:16:11
2021-04-01T14:54:56.251471+00:00 app[web.1]: at /app/node_modules/mongoose/lib/model.js:4898:21
2021-04-01T14:54:56.251471+00:00 app[web.1]: at /app/node_modules/mongoose/lib/model.js:500:16
2021-04-01T14:54:56.251471+00:00 app[web.1]: at /app/node_modules/kareem/index.js:247:48
2021-04-01T14:54:56.251472+00:00 app[web.1]: at next (/app/node_modules/kareem/index.js:168:27)
2021-04-01T14:54:56.251472+00:00 app[web.1]: at next (/app/node_modules/kareem/index.js:170:9)
Please help; TIA !
Beta Was this translation helpful? Give feedback.
All reactions