Notifications
Clear all

[Solved] Update Data – 100% but keep being asked

3 Posts
2 Users
1 Likes
1,258 Views
(@happyman)
Active Member
Joined: 6 years ago
Posts: 5
Topic starter  

I’ve updated to the latest version and when I click on the update data I get “100% Done”, and the option still remains:

“Before using wpDiscuz you should update your data
Go to update data”

In my case I have checked the wp_wc_users_voted table. There are 101 rows that do still have an IP address in the user_id field out of a total of 2,242.

I’ve also tried optimizing the table as suggested.

Just to confirm I am running 5.1.2. I upgraded straight from 5.0.7.

Any ideas ?

Please help,

Thanks


   
Quote
 Tom
(@tomson)
Famed Member Admin
Joined: 9 years ago
Posts: 4176
 

You can fix this issue using the following SQL query:

UPDATE `wp_wc_users_voted` SET `user_id` = MD5(`user_id`) WHERE `user_id` LIKE '%.%' OR `user_id` LIKE '%:%';

Just change the red marked table prefix to your database table prefix. Use the [SQL] tab in phpMyAdmin to execute this command.

2018 06 03 2216

   
happyman reacted
ReplyQuote
(@happyman)
Active Member
Joined: 6 years ago
Posts: 5
Topic starter  

Hi,

Thanks for your reply, my table is called the same 'wp_wc_users_voted'.

I've run it as it is and it says 63 rows affected.

I've browsed through the table and there are no longer any IP addresses showing, and that warning message has now gone.

Thanks again for your help!


   
ReplyQuote
Share:
Scroll to top