warning in log x from '\' is deprecated
-
@teh_g is that log for a single request? If not, can you run
./nodebb dev
and make a single request? Can you reproduce anywhere else? Is this in a public facing website I can look at? Have you tried./nodebb build
? -
@PitaJ said in warning in log x from '\' is deprecated:
@teh_g is that log for a single request? If not, can you run
./nodebb dev
and make a single request? Can you reproduce anywhere else? Is this in a public facing website I can look at? Have you tried./nodebb build
?Unfortunately the log is just from my production instance at https://gamingexodus.com. I haven't narrowed down a specific request that causes the warnings.
I did a
./nodebb build
and am running in dev mode now. I did some basic clicking around, and I do not see anything coming up in the log yet. The warnings did not happen too often though, so I kind of expect it to not be on every click. -
I can't tell if my clicking did this, or if it was someone else on my site. I noticed this warning right after I clicked the https://gamingexodus.com/groups link:
27/3 12:33:03 [6371] - warn: [deprecated] Accessing `images/cover-default.png` from `/` is deprecated. Use `/assets/images/cover-default.png` to access this file.
-
With the
Lavender
theme I get these on my console:27/3 06:04:01 [26017] - warn: [deprecated] Accessing `stylesheet.css` from `/` is deprecated. Use `/assets/stylesheet.css` to access this file. 27/3 06:04:02 [26017] - warn: [deprecated] Accessing `nodebb.min.js` from `/` is deprecated. Use `/assets/nodebb.min.js` to access this file. 27/3 06:04:06 [26017] - warn: [deprecated] Accessing `src/client/chats/recent.js` from `/` is deprecated. Use `/assets/src/client/chats/recent.js` to access this file. 27/3 06:04:07 [26017] - warn: [deprecated] Accessing `src/client/chats/search.js` from `/` is deprecated. Use `/assets/src/client/chats/search.js` to access this file. 27/3 06:04:08 [26017] - warn: [deprecated] Accessing `src/client/chats/messages.js` from `/` is deprecated. Use `/assets/src/client/chats/messages.js` to access this file. 27/3 06:04:08 [26017] - warn: [deprecated] Accessing `src/modules/scrollStop.js` from `/` is deprecated. Use `/assets/src/modules/scrollStop.js` to access this file.
-
@rod what version lavender? Latest is 4.0.0.
-
@teh_g ok, can you check user profile pages as well? And upgrade script should have updated that.
Regardless, these deprecation warnings are for developers, and can be safely ignored until NodeBB v2.0.0, which is still far out.
-
@rod what version of NodeBB are you on? [email protected] is compatible with NodeBB 1.4.4+