Notifications
Clear all

wpForo 1.x.x Avatars are no longer displayed (wrong URL)

11 Posts
4 Users
1 Likes
1,187 Views
adriaan
Posts: 47
Topic starter
(@adriaan)
Eminent Member
Joined: 2 years ago

Hey

The avatars are no longer displayed on our Forum. If I copy the image url I can see that there is a wrong path
The path is this:

 https://www.igl-home.de/igl-testseite/wp-content/uploads/wpforo/avatars/hallo_598.jpg 

and should be this:

 https://www.igl-home.de/wp-content/uploads/wpforo/avatars/hallo_598.jpg 

what can i do there?

best regards,
Adrian

10 Replies
dimalifragis
Posts: 1822
(@dimalifragis)
Noble Member
Joined: 3 years ago

The uploaded avatars should be at

wp-content/uploads/wpforo/avatars/myavatar.jpg

Both above urls you posted seem wrong.

Have you moved or changed paths of your Wordpress site?

Reply
Chris
Posts: 2369
Admin
(@chris)
Support Team
Joined: 1 year ago

Hi @adriaan,

Please delete your website cache and if you have cache plugin pls exclude wpForo from the cache plugin, also read the below topic about cache to get more info.

https://wpforo.com/community/faq/wpforo-and-cache-plugins/

And a question.

Was your WordPress root \igl-testseite\ folder, did you move your WordPress folder from there?

Reply
adriaan
Posts: 47
Topic starter
(@adriaan)
Eminent Member
Joined: 2 years ago

Hey,

I had set up a test page with wp-staging and it was even called "IGL-Testseite" but why this was now transferred to the live page is a mystery to me. Is there any way to fix it? is there a tool with which I can change that?

thanks for help

best regards

Reply
1 Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 2369

@adriaan,

Please execute these SQL commands in PhpMyAdmin > Your Website Database > SQL tab:

Β The red wp_ is a prefix in your case it may be another word

UPDATE `wp_wpforo_profiles` SET `avatar` = REPLACE(`avatar`, '/igl-testseite/wp-content/', '/wp-content/');

Then navigate to Dashboard > Forums > Dashboard admin page, click on the [Delet all caches] button.

Β 

Reply
adriaan
Posts: 47
Topic starter
(@adriaan)
Eminent Member
Joined: 2 years ago

Hey

I executed the command, however, without a change. What else could I do?

best regards

Reply
3 Replies
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 826

@adriaanΒ 

try without these characters (`)

UPDATE wp_wpforo_profiles SET avatar = REPLACE(avatar, '/igl-testseite/wp-content/', '/wp-content/');

or use the plugin Better Search Replace

Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 2369

@adriaan,

Posted by: @chris

Then navigate to Dashboard > Forums > Dashboard admin page, click on the [Delet all caches] button.

Did you do this step after executing?

Reply
adriaan
(@adriaan)
Joined: 2 years ago

Eminent Member
Posts: 47

@chris No, I actually missed that point. I just made it and now it works as usual again πŸ™‚ Thank you very much guys

Reply
Page 1 / 2