Notifications
Clear all

[Closed] is_dir(): open_basedir restriction in effect

3 Posts
3 Users
0 Likes
263 Views
Posts: 9
Topic starter
(@stolo93)
Active Member
Joined: 2 years ago

Hello, we are using wpforo 2.1.6 and when user tries to change their password these errors are displayed on screen.

Warning: is_dir(): open_basedir restriction in effect. File(/item/avatar/11097_sk_SK) is not within the allowed path(s): /*our_paths*/ in /stavba-az.sk/web/wp-content/plugins/wpforo/classes/Cache.php on line 370

Warning: file_exists(): open_basedir restriction in effect. File(/item/avatar/11097_sk_SK) is not within the allowed path(s): /*our_paths*/ in /stavba-az.sk/web/wp-content/plugins/wpforo/classes/Cache.php on line 370

 

I checked file permissions for avatars and their folders and also they are located correctly in wp-content/uploads/wpforo/avatars

Also tried clearing all caches in the wpforo dashboard.

Any help please?

2 Replies
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @stolo93,

I guess the reason is that the paths mentioned in the warning are blocked with .htaccess, and that's why you get this warning when trying to change the password.

dimalifragis
Posts: 2593
(@dimalifragis)
Famed Member
Joined: 4 years ago

This is rather a hosting setup issue.