truelinux / iFriend

GNU General Public License v2.0
2 stars 7 forks source link

mkdir() Error #4

Closed bwdotdev closed 9 years ago

bwdotdev commented 9 years ago

Hello, when i boot my server with iFriend installed, the server crashes and creates a dump:

Error: mkdir(): File exists File: /plugin-911.phar/src/iFriend/Main Line: 33 Type: E_WARNING

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: iFriend v1.0.4

Code: [24]
[25]
[26] public $verify; [27] public $provider; [28] public $temp = array(); [29] private $db; [30]
[31] public function onEnable(){ [32] @mkdir($this->getDataFolder()); [33] @mkdir($this->getDataFolder() . "Players/"); [34] $this->getServer()->getPluginManager()->registerEvents($this, $this); [35] new Config($this->getDataFolder() . "config.yml", CONFIG::YAML, array( [36] "players-in-same-group-are-friendly" => true, [37] "friends-are-friendly" => true, [38] "max-friends" => 8, [39] "provider" => "SQL" [40] )); [41] if(!$this->getServer()->getPluginManager()->getPlugin("PurePerms")) { [42] $this->getLogger()->info( TextFormat::RED . "PurePerms Not Loaded With iFriend!" ); [43] $this->verify = false;

Please can you fix this ASAP. Thanks

  -DevBrad
           Owner of 2-Bit Realms
truelinux commented 9 years ago

Try deleting the iFriend folder

bwdotdev commented 9 years ago

Okay I'll try...