New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avater directory not reachable for upload #3442
Comments
By the looks of it this is more to do with your PHP settings then MyBB. |
Can you tell more ? |
Yes, open_basedir restriction is the issue. |
|
@5050 if you need support, please post on the community forums. |
Hi,
Our forum generated many notifications for issues with this message :
I solved them by changing line 160 in inc/functions_upload.php from
$dir = opendir($avatarpath);
by
$dir = opendir(realpath($avatarpath));
I'll not open a pull request because I have no certitude at all this is the best solution, or even the correct one.
Best regards, thanks for myBB project
The text was updated successfully, but these errors were encountered: