Skip to content
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

opendir(/your-sourcebans-installation/application/plugins): failed to open dir: No such file or directory #1

Closed
RytisRytisRytis opened this issue Jul 1, 2013 · 2 comments

Comments

@RytisRytisRytis
Copy link

I've got this error when I'm visiting the admins/settings page:

http://bans-beta.rts-server.net/sourcebans_admin_error.html

@HooTsBrooklyn
Copy link

You are not the only one. I created the folder under applications and the page loaded.
It seems that the code does not have an "if exist" for the the folder... something like

if (!is_dir($dir)) {
    mkdir($dir);         
}

would probably work, or just add the folder in the zip file.

@ErikMinekus
Copy link
Member

Thanks, I've added the empty directory to the repository. I'll fix the zips as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants