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

[Closed] Some avatars missing - again -

2 Posts
1 Users
0 Reactions
1,019 Views
Homdax
Posts: 21
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
(@homdax)
Eminent Member
Joined: 6 years ago
[#15664]

So I upgraded to WP 5.6 recently and punched through some WPForo updates, including som paid plugins, and suddenly I see some avatars are gone - again - .

I had this issue before, it somehow fixed itself, but now it happened again, and it is not all avatars, only some, and I don't see any connection, all belong to user accounts. They are not Gravatars, they are uploaded image files whose links somehow broke.

 

I tried all or most of the cleanup tools and there are no issues with the database, checked several times.

 

The broken links point to /wp-content/uploads/gc-avatars/ and I have verified that the image is there... still it gives me a 404 when trying to open the link from the user profile.

 

The reasone it gives me the 404 is because somewhere there are still entries related to an old site path that was /_w0rdpre33/wp-content/uploads/gc-avatars/ and that is no longer relevant. Where can that path still exist...?


1 Reply
Homdax
Posts: 21
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
(@homdax)
Eminent Member
Joined: 6 years ago

Ok, found it... in `wp_wpforo_profiles`   still has te wrong path...

I need an SQL query that would update the field with the new path ...

 
bleh... I fixed it doing an export of the table, deleted table content on server, deleting the create table section, searched and replaced for wrong entries, and importing the new user fields in to the existing table...
 
bit messy and not flawless but seemd to have worked.

Share: