Problem with IOS/safari
-
Hi, I seem to be having an issue with ios/safari where a user can view the forum but when they login they get a black screen saying forbidden. Seems to be global for the most part.
Another completely global issue is anyone who was signed up prior to monday when we did an upgarde to .6.1-dev and then back down to 6.0 has not been able to acess their profile and get a 502 error. I'm sure this is due to lost data from stepping down and not super concered about thia atm just feel it could be related so I wanted to include it. Any help yoy could provide me would be appreciated as no ios access somewhat cripples my forum.
Forbidden screen:
Log:
warn: Route requested but not found: /csrf.js
error: /login
Error: invalid csrf token
at verifytoken (/var/node/NodeBB/node_modules/csurf/index.js:237:11)
at csrf (/var/node/NodeBB/node_modules/csurf/index.js7)
at Layer.handle [as handle_request] (/var/node/NodeBB/node_modules/express/lib/router/layer.js:82:5)
at next (/var/node/NodeBB/node_modules/express/lib/router/route.js:110:13)
at Route.dispatch (/var/node/NodeBB/node_modules/express/lib/router/route.js:91:3)
at Layer.handle [as handle_request] (/var/node/NodeBB/node_modules/express/lib/router/layer.js:82:5)
at /var/node/NodeBB/node_modules/express/lib/router/index.js:267:22
at Function.proto.process_params (/var/node/NodeBB/node_modules/express/lib/router/index.js:321:12)
at next (/var/node/NodeBB/node_modules/express/lib/router/index.js:261:10)
at Function.proto.handle (/var/node/NodeBB/node_modules/express/lib/router/index.js:166:3)/var/node/NodeBB$ find ./ -name "csrf"
./node_modules/csurf
./node_modules/csurf/node_modules/csrf
./public/src/modules/csrf.jsThank you for the help.
-
Also open on Github: https://github.com/NodeBB/NodeBB/issues/2642
-
You do know how to take screenshots, right? Hold Home and Power buttons for like two seconds.
-
@RazorAxis said:
we did an upgarde to .6.1-dev and then back down to 6.0
This will be 98% of your issues. You can't downgrade without a database backup from that version. It's like updating a mysql table from
members
tousers
and expectingmembers
to still work when referenced in code.The csrf error may be resolved by updating themes to latest.
-
@a_5mith So back to .6.1 should fix it? The reason we went backwards is the widget system wasn't working. Couldn't do anything with the widgets was like it was frozen. I thought we used a backup. This is more not my end of expertise lol, still in the learning process.
-
@RazorAxis are you running nodebb dev, I mean like in dev mode. This also happens to me, when in dev mode, only on ios.
-
-
@RazorAxis np! Glad I could help.