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

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Some forum avatars missing after migration to new domain

7 Posts
2 Users
0 Reactions
3,056 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
[#14808]

Greetings,

I have migrated my WP site and WPForo to a new domain and everything seems ok but for a few avatars that somehow went missing. Had it been all it would be a general thing, but this is a few admin usres avatars, among them my own, that are turning up blank. 

Any clue as to what may be fixed?


6 Replies
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

seems that some of the avatar links are looking in an old upload folder... hmmm... the root path of the site was changed... could be something in the settings...maybe... 


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

I see it now... the database stores absolute paths to uploaded images instead of relative paths in the table wpforo_profiles (my setup)... 


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

So i need an sql query that would update 

 

UPDATE `wp_wpforo_profiles` SET `avatar` = 'https://www.thewebsiteaddress.io/wp-content/irrelevantfolder/uploads/gc-avatars/y![10].gif' WHERE `wp_wpforo_profiles`.`userid` = 10

 

to

UPDATE `wp_wpforo_profiles` SET `avatar` = 'https://www.thewebsiteaddress.io/wp-content/uploads/gc-avatars/y![10].gif' WHERE `wp_wpforo_profiles`.`userid` = 10

for all users...via phpmyadmin, can I please get som help with that?


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

Anyone could give me a clue please?


Page 1 / 2
Share: