Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Closed] is_dir(): open_basedir restriction in effect

3 Posts
3 Users
0 Reactions
541 Views
Posts: 9
Topic starter
(@stolo93)
Active Member
Joined: 3 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: 3611
(@chris)
Famed Member
Joined: 4 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: 2601
(@dimalifragis)
Famed Member
Joined: 5 years ago

This is rather a hosting setup issue.