uploaded profile image has bad URL
-
Yes the file is uploaded to the correct place and its just the url save that is wrong. I am running this on mongodb not redis. I doubt that command will work.
-
Here is the entry from the database.
db.objects.find({_key:"user:2"}).pretty(); { "_id" : ObjectId("53d79cfe98fa3bf35ba96e41"), "_key" : "user:2", "banned" : 0, "birthday" : "", "email" : "[email protected]", "email:confirmed" : 1, "fullname" : "", "gravatarpicture" : "https://secure.gravatar.com/avatar/7a192cf8dddf900c964f772b46e81ae7?size=128&default=identicon&rating=pg", "joindate" : 1406639358362, "lastonline" : 1423592859354, "lastposttime" : 1423542804847, "location" : "New York", "password" : "", "picture" : "/community/uploads/profile/2-profileimg.png", "postcount" : 13, "profileviews" : 10, "reputation" : 2, "signature" : "", "status" : "online", "uid" : 2, "uploadedpicture" : "/community/uploads/profile/2-profileimg.png", "username" : "admin", "userslug" : "admin", "website" : "http://https://vpsie.com", "followingCount" : 0, "followerCount" : 1, "topiccount" : 11 }
-
It does not work. It has the same url for the profile image.
-
That fixed it, however it created another issue. While editing the user change picture is not working now. Until I click the save button on the main profile.
-
@baris said:
fix relative_path image url for sub installs · NodeBB/NodeBB@6a55cdf
Node.js based forum software built for the modern web - fix relative_path image url for sub installs · NodeBB/NodeBB@6a55cdf
GitHub (github.com)
All works now. Thank you for your help.
-
Since we have fixed the profile image issue clicking on the admin icon does not do anything. I can see the proper url on the status bar but clicking on it does not have any effect.