Notifications
Clear all

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

11 Posts
4 Users
1 Reactions
2,465 Views
Posts: 47
Topic starter
(@adriaan)
Trusted Member
Joined: 4 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: 2611
(@dimalifragis)
Famed Member
Joined: 5 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?

Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years 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?

Posts: 47
Topic starter
(@adriaan)
Trusted Member
Joined: 4 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

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@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.

Β 

Posts: 47
Topic starter
(@adriaan)
Trusted Member
Joined: 4 years ago

Hey

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

best regards

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

Noble Member
Posts: 1455

@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

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@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?

(@adriaan)
Joined: 4 years ago

Trusted 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

Page 1 / 2