i think so~~~
Unsolved a strang topic appears at that time when I login with user account
-
Hi,there is a strange phenomenon.when a user login in ,he can see a inexistent topic.At the same time ,when I login with a admin account ,I cannot see this topic.
this picture show when the user login
this picture show when the admin login
the strange topic looks different from other topic and I can not click into it.when I first enter into this category Icannot see it ,but when I refresh the webpage,this topic appears.
How should I solve the problem???? -
Is your forum public? Did you check
ajaxify.data.topics
and see if that topic has antid
? -
@baris thank you for your reply .what and where is ajaxify.data.topics?
-
On that page open your browser console and type
ajaxify.data.topics
it should show an array of topics on that page. -
@baris thank you for your reply.not only user,but also administrator, when I check the ajaxify.data.topics on console, that topic has no tid and the array's length is 2.It's werid that I can see the topic on that page only when I login with user account.I cannot see it when I login with administrator
-
What about when you check
ajaxify.data.topics
with a regular users? -
@baris what is a regular user?
there are registered-users, verified-users,unverified-users,Global Moderators,banned-users, guests and spiders
-
A regular user is a user who is not an administrators/moderator or global moderator.
-
-
Can you post the output of the following queries?
db.objects.find({_key: "cid:16:tids"}); db.objects.find({_key: "cid:16:tids:pinned"});
-
@baris check in console?
-
No you need to run those commands in mongodb cli after selecting your database with
use <db_name>;
-
@baris but I use redis
-
In that case you need to run these in redis-cli
zrange cid:16:tids 0 -1 zrange cid:16:tids:pinned 0 -1
-
@baris
this is the screenshot of Redis Desktop Manager
-
Your data looks good, so that extra topic entry might be due to some other issue with html markup. Are you allowing unsanitized html?
-
@baris
how to delete it?
-
I suggest taking a look at your html sanitization settings make sure html isn't allowed in markdown settings.
Next step would be to move the other 2 topics from that category and check if you still see broken markup.