AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] Restore a Deleted Members Account

21 Posts
3 Users
2 Reactions
4,368 Views
Posts: 1244
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@percysgrowroom)
Noble Member
Joined: 7 years ago

@robert I have followed these instruction exactly, my tables have different names from the standard names. It keeps coming up with this error:

#1054 - Unknown column 'name' in 'where clause'


Reply
4 Replies
Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10732
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@percysgrowroom.

It seems you've changed the table name. Please leave the SQL you're using here. Make sure the "`" symbols are not removed and the  single quotes are not deleted. You've broken the SQL syntax for sure. 


Reply
(@percysgrowroom)
Joined: 7 years ago

Noble Member
Posts: 1244
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert I have never changed any table names mate, I dont know wat I am doing in databases so have never messed with it other than when I truncated the reactions table under you guys instructions. Because the likes were being really slow..... anyway, this is what I was putting into the SQL:

 

UPDATE `wp_3cy42zznwz_posts` SET `userid` = 13186, `email` = '' WHERE `name` = 'Anonymous 12345' AND `userid` = 0;

UPDATE `wp_3cy42zznwz_topics` SET `userid` = 13186, `email` = '' WHERE `name` = 'Anonymous 12345' AND `userid` = 0;

 

Does this help explain what the issue is? I have numerous sites on the same server so maybe thats why the table are different? I am not sure, but eager to get it fixed. Please let me know what to do next


Reply
Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10732
Robert
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@percysgrowroom,

Hmm, I asked you to change the red marked prefix wp_ , you've removed and changed the secondary _wpforo_ prefix as well. Please only change the red marked prefix:  https://wpforo.com/community/postid/117172/

DO NOT REMOVE _wpforo_ part.

`wp_3cy42zznwz_posts` should be `wp_3cy42zznwz_wpforo_posts`
`wp_3cy42zznwz_topics` should be `wp_3cy42zznwz_wpforo_topics`

Reply
(@percysgrowroom)
Joined: 7 years ago

Noble Member
Posts: 1244
Robert
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert Thanks Robert, ill give it a shot mate


Reply
Posts: 1244
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@percysgrowroom)
Noble Member
Joined: 7 years ago

Ok this time it worked, and the SQL said:

 558 rows affected. for the posts and 

 16 rows affected. for the threads

I have deleted all caches like you explained in the previous posts, but the amounts on the users profile hasn't changed. What am I missing?


Reply
Posts: 1244
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@percysgrowroom)
Noble Member
Joined: 7 years ago

OK, its seems ot be all sorted now, maybe it just needed more time for the process to complete 🙂 Thanks for the help everyone!! 


Reply
Page 2 / 2
Share: