1
irmtfan
after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/12 17:54

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i guess its because the OLD files remain from 2.0 package so i delete them and now it seems work correctly ( after a submission in forum ,comments, ... the post counts rise 1)

but now all users post counts is not correct.so i want a way to SYNC all users post counts in 2.2

2
alitan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/12 17:56

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


Yeah that's what I just noticed in your website, my posts there are -7!
HAve you tried reseting the templates? I got the same problem when I tried to upgrade from newbb 2 to cbb .
also there is another way to reset synchorize all the users.To do this, I think there is a feature in the core to SYNC one user, now if you change the files that synch function is defined there,and change the user argument to "all" it may work. I do not know that with 2.2.3 but it used to work with XOOPS 2.0.7.3.
Anyway Just try to find the user SYNC function and change it to all.
My Persian Xoops Project:
http://www.MPXP.org

3
irmtfan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/12 18:08

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:
To do this, I think there is a feature in the core to SYNC one user,

yes but this feature is in 2.0 versions. in 2.2 you cant SYNC a user or all users in XOOPS functionally.

i want a code like MySQL update row...

4
alitan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/12 18:13

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


hum, why don't you try useing Cbb synch function?
My Persian Xoops Project:
http://www.MPXP.org

5
irmtfan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/12 18:16

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


newbb or cbb SYNC function is for SYNC posts not users or users post counts.anyway i try that before posting here.

6
alitan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/12 18:33

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


you know what? What I suggest to you is that you replace all the core files with 2.2.3 final, since I remember you used 2.2 to 2.2.3 files and we had to use upgrade.php inorder to make anything alright which was really wierd. So what I think is that your website wasn't 2.2 or if it were some files were corupted that caused all these to happen. I guess if you replace all of the core files and update the system and cbb modules it may work.
My Persian Xoops Project:
http://www.MPXP.org

7
irmtfan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/13 15:30

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


it seems i must explain about "OLD files remain from 2.0 package"
for example you have these files in 2.0:
x1
x2
x3
x4
and you have these files in 2.2+
x1
x2
x3
x5

so when you just copy all files from 2.2+ to 2.0 then x1,x2,x3 are overwrited and x5 is a new file in 2.2+ package but the problem is x4 that remain from OLD package and MAYBE run by a "bot" or a link and MAYBE a problem occured, this time the count of posts.

btw, i delete all these files but i want a code to SYNC all users.anyone can help?

8
irmtfan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/14 17:09

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


anyone can help about this question?
how to Synchronize all users in XOOPS 2.2+ ?

9
alitan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/14 20:39

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


is the number of posts correct in the db in the first place? or its just viewing it not correctly?
My Persian Xoops Project:
http://www.MPXP.org

10
irmtfan
Re: after upgrade to 2.2 all post counts are zero or negative
  • 2005/11/15 14:45

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


this is totally like Synchronize users in 2.0.

Login

Who's Online

297 user(s) are online (259 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits