Old Pic Showing Instead of New Pic

Technical Support
  • Hi, there is an issue of new pic not showing when uploaded. Instead the old pic from cache is showing. The new pic only shows once I close and reopen the browser. This can easily be fixed if someone can save the last modified datetime of the pic in the db and put that datetime in the pic query string like this:

    <img id="user-current-picture" class="avatar avatar-xl avatar-rounded" src="/assets/uploads/profile/1-profileavatar.jpeg?mod=2018-12-30 22:59:00" data-original-title="" title="">

    thanks,
    Saeed 🙂


Suggested Topics


  • 0 Votes
    15 Posts
    731 Views
    2020-06-26T04:19:34.263803+00:00 heroku[router]: at=info method=GET path="/manifest.json" host=forum.bustudymate.in request_id=6cc9d18f-1844-4cef-858c-61d32786f640 fwd="103.89.232.24" dyno=web.1 connect=0ms service=10ms status=304 bytes=353 protocol=https 2020-06-26T04:19:34.284978+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksYRl&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=6fa5b05c-f822-4701-bd42-d18b7b55686b fwd="103.89.232.24" dyno=web.1 connect=1ms service=4ms status=200 bytes=220 protocol=https 2020-06-26T04:19:34.676416+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksYXv&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=7472964c-8fcd-4501-a684-c821b894cd04 fwd="103.89.232.24" dyno=web.1 connect=1ms service=5ms status=200 bytes=220 protocol=https 2020-06-26T04:19:34.683347+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksYWQ&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=1ab69b1d-4996-4d9b-ad8f-f9927ea8136b fwd="103.89.232.24" dyno=web.1 connect=1ms service=106ms status=200 bytes=185 protocol=https 2020-06-26T04:19:34.720926+00:00 heroku[router]: at=info method=GET path="/api/topic/37/what-is-the-use-of-writing-cat-exam/3?_=1593145173111" host=forum.bustudymate.in request_id=b8f02373-03f5-4cc1-a704-dc794fe76178 fwd="103.89.232.24" dyno=web.1 connect=1ms service=49ms status=200 bytes=543 protocol=https 2020-06-26T04:19:35.028251+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksYcg&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=839bc1d5-4793-47bc-892e-8c31367d06cb fwd="103.89.232.24" dyno=web.1 connect=1ms service=48ms status=200 bytes=185 protocol=https 2020-06-26T04:19:35.001706+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksYd5&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=bb0a02b1-4fec-4916-a009-210190886fbe fwd="103.89.232.24" dyno=web.1 connect=0ms service=7ms status=200 bytes=220 protocol=https 2020-06-26T04:19:35.394712+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksYi7&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=5b190551-0549-4a53-a57c-6f602933894e fwd="103.89.232.24" dyno=web.1 connect=1ms service=64ms status=200 bytes=170 protocol=https 2020-06-26T04:19:43.151052+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=9pF6zh6MtYSfAXRxAAAC" host=forum.bustudymate.in request_id=5ee515d7-6c65-41e9-baf2-870295dda3fb fwd="103.89.232.24" dyno=web.1 connect=1ms service=8309ms status=101 bytes=175 protocol=https 2020-06-26T04:19:43.151996+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/api/topic/37/what-is-the-use-of-writing-cat-exam/1?_=1593145173112" host=forum.bustudymate.in request_id=2ad889f6-2382-49d9-ab95-5f204ce4ffa6 fwd="103.89.232.24" dyno=web.1 connect=1ms service=8131ms status=503 bytes=0 protocol=https 2020-06-26T04:19:58.472155+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksb9o" host=forum.bustudymate.in request_id=903a716b-3c72-4368-90d9-5a6b6855d9b8 fwd="103.89.232.24" dyno=web.1 connect=1ms service=20ms status=200 bytes=267 protocol=https 2020-06-26T04:19:58.904917+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBkseRr&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=dc2402fa-b6c1-418f-ade7-0baa0df3ec5a fwd="103.89.232.24" dyno=web.1 connect=1ms service=40ms status=200 bytes=254 protocol=https 2020-06-26T04:19:59.206294+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBkseXC&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=a3d1dc23-e295-4934-8254-095e3458ed51 fwd="103.89.232.24" dyno=web.1 connect=1ms service=9ms status=200 bytes=220 protocol=https 2020-06-26T04:19:59.480420+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBkseXH&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=c2d0cc32-9099-479d-9a0a-ac29ead6d06e fwd="103.89.232.24" dyno=web.1 connect=1ms service=4ms status=200 bytes=185 protocol=https 2020-06-26T04:19:59.427838+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NAWhI1D&sid=43huBGWCbcUN6H8tAADA" host=forum.bustudymate.in request_id=b4e258e5-2a6c-4da2-8fb7-4c35a7f7c469 fwd="66.249.79.148" dyno=web.1 connect=0ms service=6ms status=400 bytes=295 protocol=https 2020-06-26T04:19:59.755142+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksebk&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=1c015708-9e27-4ae2-8f1f-9423ac940add fwd="103.89.232.24" dyno=web.1 connect=0ms service=3ms status=200 bytes=220 protocol=https 2020-06-26T04:19:59.793872+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBkseg4&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=9818a9dc-4b92-433c-ba56-ca4c24e56102 fwd="103.89.232.24" dyno=web.1 connect=0ms service=13ms status=200 bytes=367 protocol=https 2020-06-26T04:20:00.096131+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksel5&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=ef03ccd3-b358-44e9-8640-bfdbf401f063 fwd="103.89.232.24" dyno=web.1 connect=1ms service=3ms status=200 bytes=170 protocol=https 2020-06-26T04:20:00.167773+00:00 heroku[router]: at=info method=GET path="/assets/uploads/system/favicon.ico?v=n69g57bvs0s" host=forum.bustudymate.in request_id=116ee51b-4c2a-4ded-b490-7e15627bc1a8 fwd="103.89.232.24" dyno=web.1 connect=1ms service=47ms status=404 bytes=441 protocol=https 2020-06-26T04:20:00.311995+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NAWhITj&sid=ExYbVDilb94jG_MSAAEB" host=forum.bustudymate.in request_id=1f5a6c6d-a26a-4639-b470-78361ea0110b fwd="66.249.79.148" dyno=web.1 connect=0ms service=7ms status=400 bytes=228 protocol=https 2020-06-26T04:20:04.385491+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=e5te55j7j-x_V961AAAA" host=forum.bustudymate.in request_id=f14e1c44-7b50-4fc9-9ec8-34a7342accda fwd="103.89.232.24" dyno=web.1 connect=0ms service=4688ms status=101 bytes=175 protocol=https 2020-06-26T04:20:04.389584+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/api/topic/37/what-is-the-use-of-writing-cat-exam/1?_=1593145173112" host=forum.bustudymate.in request_id=e21f819a-7820-4693-8b4b-5b2525414f44 fwd="103.89.232.24" dyno=web.1 connect=1ms service=5900ms status=503 bytes=0 protocol=https 2020-06-26T04:20:19.878543+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksg8L" host=forum.bustudymate.in request_id=fb64f2c1-adc7-4675-88ef-1aba3f85c03a fwd="103.89.232.24" dyno=web.1 connect=1ms service=35ms status=200 bytes=267 protocol=https 2020-06-26T04:20:20.279219+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksjgJ&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=ff26a944-3c0b-4b31-8800-118fcdc99a21 fwd="103.89.232.24" dyno=web.1 connect=0ms service=8ms status=200 bytes=254 protocol=https 2020-06-26T04:20:20.600881+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksjlK&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=260ba0bc-dba0-481f-9be2-d1f8abf51f4a fwd="103.89.232.24" dyno=web.1 connect=0ms service=8ms status=200 bytes=220 protocol=https 2020-06-26T04:20:20.618814+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksjlP&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=fbd7e21e-17dd-42d4-9f08-53a0966cb3f7 fwd="103.89.232.24" dyno=web.1 connect=1ms service=17ms status=200 bytes=185 protocol=https 2020-06-26T04:20:20.920956+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksjqD&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=79da4c11-60f4-45b8-8607-7c9171e41262 fwd="103.89.232.24" dyno=web.1 connect=0ms service=24ms status=200 bytes=185 protocol=https 2020-06-26T04:20:20.911156+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksjq6&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=a9275595-521f-4ea3-b808-a28e82594890 fwd="103.89.232.24" dyno=web.1 connect=2ms service=16ms status=200 bytes=220 protocol=https 2020-06-26T04:20:21.224734+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksjv9&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=6827f6cd-bde2-4ddb-bc80-44b943aabecd fwd="103.89.232.24" dyno=web.1 connect=1ms service=2ms status=200 bytes=350 protocol=https 2020-06-26T04:20:21.642452+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksjz-&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=8ee8ecb2-49f8-4cff-a116-f1428d5d6e33 fwd="103.89.232.24" dyno=web.1 connect=0ms service=113ms status=200 bytes=170 protocol=https 2020-06-26T04:20:21.681824+00:00 heroku[router]: at=info method=GET path="/assets/uploads/system/favicon.ico?v=n69g57bvs0s" host=forum.bustudymate.in request_id=ee91415e-b6cf-4051-a6df-3b44b5f0c27c fwd="103.89.232.24" dyno=web.1 connect=1ms service=137ms status=404 bytes=441 protocol=https 2020-06-26T04:20:25.386260+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=-Bcutw_ZsVn2KOTuAAAA" host=forum.bustudymate.in request_id=ebe60e7d-e3f6-4513-a317-203fdf6e6df6 fwd="103.89.232.31" dyno=web.1 connect=0ms service=4246ms status=101 bytes=175 protocol=https 2020-06-26T04:20:25.384657+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/api/topic/37/what-is-the-use-of-writing-cat-exam/1?_=1593145173112" host=forum.bustudymate.in request_id=f6dc9973-4898-4fc3-9af0-485d658067c3 fwd="103.89.232.24" dyno=web.1 connect=1ms service=6602ms status=503 bytes=0 protocol=https 2020-06-26T04:20:48.108139+00:00 heroku[router]: at=info method=GET path="/assets/src/client/503.js?v=n69g57bvs0s" host=forum.bustudymate.in request_id=9227b5a0-bff2-4ae5-8d72-2802dd676f7c fwd="103.89.232.24" dyno=web.1 connect=1ms service=175ms status=304 bytes=352 protocol=https 2020-06-26T04:20:50.056914+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBkslZ0" host=forum.bustudymate.in request_id=6a0e31f6-f643-4fe2-8823-e4594ae824f4 fwd="103.89.232.24" dyno=web.1 connect=1ms service=10ms status=200 bytes=267 protocol=https 2020-06-26T04:20:51.567495+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksrIy" host=forum.bustudymate.in request_id=5b5ce9df-d604-4d2f-8b49-e562710a356b fwd="103.89.232.24" dyno=web.1 connect=0ms service=4ms status=200 bytes=267 protocol=https 2020-06-26T04:20:51.910256+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksrOg&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=610d471a-d941-442b-8c46-f31dc3722718 fwd="103.89.232.24" dyno=web.1 connect=1ms service=5ms status=200 bytes=254 protocol=https 2020-06-26T04:20:52.261634+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksrTu&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=508efc88-39b0-4c6e-a2d4-a51062761c47 fwd="103.89.232.24" dyno=web.1 connect=1ms service=22ms status=200 bytes=185 protocol=https 2020-06-26T04:20:52.249455+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksrTp&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=3ca85b6a-fe42-4b1b-b644-8526846e1e82 fwd="103.89.232.24" dyno=web.1 connect=0ms service=16ms status=200 bytes=220 protocol=https 2020-06-26T04:20:52.621119+00:00 heroku[router]: at=info method=POST path="/socket.io/?EIO=3&transport=polling&t=NBksrZk&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=b16bf378-5295-4f37-a8b2-c5948faf83e7 fwd="103.89.232.24" dyno=web.1 connect=1ms service=9ms status=200 bytes=220 protocol=https 2020-06-26T04:20:52.641970+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksrZp&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=06b84c60-378d-46ea-9902-4ae86ef0aa6c fwd="103.89.232.24" dyno=web.1 connect=0ms service=28ms status=200 bytes=185 protocol=https 2020-06-26T04:20:52.941854+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksrer&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=11095a11-892c-4d59-863c-5986fae221a2 fwd="103.89.232.24" dyno=web.1 connect=0ms service=5ms status=200 bytes=438 protocol=https 2020-06-26T04:20:53.417339+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=NBksrkZ&sid=VXUNo916ynvEnaCbAAAB" host=forum.bustudymate.in request_id=5c60f021-35e2-4175-b9d6-13b7721e6bbb fwd="103.89.232.24" dyno=web.1 connect=0ms service=110ms status=200 bytes=170 protocol=https 2020-06-26T04:20:53.438098+00:00 heroku[router]: at=info method=GET path="/assets/uploads/system/favicon.ico?v=n69g57bvs0s" host=forum.bustudymate.in request_id=7005d277-6f97-4467-8765-e39169249d77 fwd="103.89.232.24" dyno=web.1 connect=1ms service=117ms status=404 bytes=441 protocol=https

    Its's the Log from Heroku

  • 0 Votes
    18 Posts
    5k Views

    @pitaj yes, I tried ./nodebb build several times, but I always used ./nodebb dev to start.

    I tried it once more as you said. ./nodebb start aborted with the message to run ./nodebb upgrade. After the upgrade and another ./nodebb start I can post and answer again! 😄

    I don't know why an how, but it works again. hopefully not only for a short time. 😉

    Thanks for you help!

  • Basic New Theme

    Moved Unsolved Technical Support
    0 Votes
    15 Posts
    6k Views

    @charles well looks like bootstrap is required

  • 0 Votes
    4 Posts
    2k Views

    This pr makes it a lot easier.

  • 0 Votes
    7 Posts
    3k Views

    Not that I'm aware of, but you can hide the groups button at the top of the forum.