I was missing some posts in the forum , so I updated thread count / forum information = post count is zero now ??? any ideas ? 3.84 patch level 2 .. thanks
Announcement
Collapse
No announcement yet.
updated thread count / forum information = post count is zero now ???
Collapse
X
-
Should be noted that 3.8.4 is old and unsupported and won't work with latest versions of php.
With that in mind...what is the php version reported in the admincp?
-
3.8.4 won't work properly on that.
You will need to either upgrade vBulletin (3.8.11), which would involve you buying a vB4 license upgrade ($149) to enable you to gain access to the latest versions of vB3.
OR downgrade php to 5.3.
Note that php 5.3 is end of life and unsupported. The license upgrade is your best bet.
Comment
-
Originally posted by Mark.B View Post3.8.4 won't work properly on that.
You will need to either upgrade vBulletin (3.8.11), which would involve you buying a vB4 license upgrade ($149) to enable you to gain access to the latest versions of vB3.
OR downgrade php to 5.3.
Note that php 5.3 is end of life and unsupported. The license upgrade is your best bet.
Comment
-
Originally posted by Total666 View Post
Hello , and thanks for the info , Do you think when I upgrade to VB4 my database will be ok ?
Most likely there's some php code in use that is not compatible with the version of php you are running. If so, this will have been updated in 3.8.11.
It is impossible to say for certain, however 3.8.4 is definitely NOT compatible with php 5.6, so if you don't upgrade you will likely see other problems over time.
Comment
-
Originally posted by Total666 View PostI updated to Powered by vBulletin® Version 3.8.11 Beta 3 , the posts / threads are still zero ? Ideas ?
Comment
-
Originally posted by pet0etie View Postdid u try the "admincp > maintenance > update counters > update post count" again ?
if u did but the counters stay on zero, i can give u a query to use for updating the posts with one single command
Comment
-
using this sql-statement would help to get the counters up-to-date again :
Code:update user as U set U.posts = ( SELECT count(*) FROM post as A, thread as B, forum as C WHERE A.userid = U.userid and A.visible = 1 and A.threadid = B.threadid and B.visible = 1 and B.forumid = C.forumid and (C.options & 4096) ) where U.userid = 95
Comment
-
Originally posted by pet0etie View Postusing this sql-statement would help to get the counters up-to-date again :
Code:update user as U set U.posts = ( SELECT count(*) FROM post as A, thread as B, forum as C WHERE A.userid = U.userid and A.visible = 1 and A.threadid = B.threadid and B.visible = 1 and B.forumid = C.forumid and (C.options & 4096) ) where U.userid = 95
Do I run this in the admin panel ? thanks
Comment
-
u can run this in the admin panel but than u need access to execute sql-commands (which isn't allowed to everyone) ... u need special rights in the config.php-file to do this
other possibility is to do it by using phpmyadmin-module (if available) on your hosting-software
Comment
-
just saw one mistake in my query
correct version should be
Code:update user as U set U.posts = ( SELECT count(*) FROM post as A, thread as B, forum as C WHERE A.userid = U.userid and A.visible = 1 and A.threadid = B.threadid and B.visible = 1 and B.forumid = C.forumid and (C.options & 4096) )
Comment
Related Topics
Collapse
-
by CraigI have a few forums that show a different count than what is actually in the forum its self. Is there a way to refresh the count, or is there something bigger going on?
-
Channel: Support Issues & Questions
Wed 15 Jun '16, 6:19am -
Comment