PocketMine / SimpleAuth

Plugin for PocketMine-MP that prevents people from impersonating accounts, requiring registration and login when connecting.
GNU Lesser General Public License v3.0
34 stars 99 forks source link

My server crashes.fix this! #82

Open ZGamerOficial opened 9 years ago

ZGamerOficial commented 9 years ago

PocketMine-MP Crash Dump Fri Aug 28 18:22:27 UTC 2015

Error: mkdir(): File exists File: /plugin-4.phar/src/SimpleAuth/provider/YAMLDataProvider Line: 63 Type: E_WARNING

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: SimpleAuth v1.7.1

Code: [54] } [55] [56] public function unregisterPlayer(IPlayer $player){ [57] $name = trim(strtolower($player->getName())); [58] @unlink($this->plugin->getDataFolder() . "players/" . $name{0} . "/$name.yml"); [59] } [60] [61] public function registerPlayer(IPlayer $player, $hash){ [62] $name = trim(strtolower($player->getName())); [63] @mkdir($this->plugin->getDataFolder() . "players/" . $name{0} . "/"); [64] $data = new Config($this->plugin->getDataFolder() . "players/" . $name{0} . "/$name.yml", Config::YAML); [65] $data->set("registerdate", time()); [66] $data->set("logindate", time()); [67] $data->set("lastip", null); [68] $data->set("hash", $hash); [69] $data->save(); [70] [71] return $data->getAll(); [72] } [73]

Backtrace:

0 (): pocketmine\Server->crashDump()

PocketMine-MP version: 1.5dev #1258 [Protocol 27; API 1.12.0] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux localhost 3.4.67 #1 SMP PREEMPT Tue Sep 2 23:33:35 CST 2014 armv7l PHP Version: 5.6.2 Zend version: 2.6.0 OS : Linux, android

Loaded plugins: EconomyAPI 2.0.8 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyAuction 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyCasino 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyJob 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyLand 2.0.8 by onebone for API(s) 1.12.0 EconomyProperty 2.0.5 by onebone for API(s) 1.12.0 EconomySell 2.0.6 by onebone for API(s) 1.12.0 EconomyShop 2.0.6 by onebone for API(s) 1.12.0 EconomyTax 2.0.3 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1 EconomyUsury 1.0.1 by onebone for API(s) 1.12.0 SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0 CombatLogger 1.2.0 by Lambo for API(s) 1.12.0 PurePerms 1.1.10 by 64FF00 for API(s) 1.12.0 AdminFun 0.1#dev57 by hoyinm14mc for API(s) 1.12.0 iProtector 3.1a by LDX for API(s) 1.9.0 BanItem 2.1 by LDX for API(s) 1.0.0 TimeCommander 2 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0 ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0 ItemCloud 1.3 by onebone for API(s) 1.4.0 VoteBan 1.0.3 by GmWM for API(s) 1.12.0 ManyWorlds 2.0.2 by aliuly for API(s) 1.10.0 KitPro 4.1 by for API(s) 1.10.0 TimerBan 2.1 by onebone for API(s) 1.2.0, 1.2.1 AdvertisingKick 1.0.0 by for API(s) 1.0.0 ColorMatch 1.1.2 by CreeperFace for API(s) 1.12.0 CustomAlerts 1.6 by EvolSoft for API(s) 1.12.0 EssentialsPE 1.1.2 by LegendsOfMCPE Team for API(s) 1.12.0 MoreCommands 1.1.3 by for API(s) 1.10.0, 1.11.0, 1.12.0 DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1 NoVoid 0.3 by rirititi for API(s) 1.0.0 VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0 LimitedCreative 1.0.0 by basprohop for API(s) 1.10.0 SimpleMessages 1.2 by Dutok for API(s) 1.0.0 SignStatus 2.1 by xpyctum for API(s) 1.0.0 SimpleAuthHelper 2.0.0 by aliuly for API(s) 1.12.0 RealTime 2.1.1 by Guillaume351 for API(s) 1.0.0 VIPSlots 0.0.4 by iJoshuaHD for API(s) 1.12.0 MSpawns 1.5 by EvolSoft for API(s) 1.11.0 EconomyAirport 2.0.4 by onebone for API(s) 1.12.0 EconomyPShop 2.0.1 by onebone for API(s) 1.12.0 PureChat 1.3.0 by 64FF00 for API(s) 1.11.0 KillRate 2.0.0 by aliuly for API(s) 1.12.0

----------------------REPORT THE DATA BELOW THIS LINE-----------------------

===BEGIN CRASH DUMP=== eNrVXAtz2ziS/isoOVVrb4l6yw9Nee58tjOTXTvRxc5mr4ZbKYiEJI5JgkOAljVT+e/X3QBJUNYk cuyp2c2jLOLR6K/fACH/1tJRIlqT/mjUOzo+7I+O2i2R5zJvTX5r6XUGXa3LTx/P3r998/aHVruV CKX4AluTuzDK9w8m7HUUCyYeIqUVDJjDE/R2s7hYRKk36mRLnndVHnRvoiSLxVmhl90sl/dRKPLu /51dX11wzae2AQjEUQoEDoef2y1DA6jVU2FAIEOB3I1H0OPrz9A0HsNH/HlITVkxi6OAzYs00JFM WZHmYgH8iXwa87XI99+Yn+xVRj8PfsO5RzTX169Sngh2ynQeJftK51rGcgWT7GDv+4XQb2HI/sHB wXc48dhO/O8iBebv9l/pZaS8760EcDhCfC1jALh/wDrMbxlSquu34JEW/K33mXq69NRZJ7HfMuRP KpiHPQPzsL8V5pdBttmrJVdLwno4+Eash8MSq1H/86BahIejkpsQJgM3qVixc5nOo8XLybJtKU4m aHNm3bG7rve9Enrfb5VShDaB09A/9i36w20TYgmsbRt9tHU0VzrKcGhaxLEZeLxtICoLhxmt0biT jXH8HtbCniNrGEd9OyIXushTZgeC1M7i2A4dVOZ0hMpsgZ/pnAfgUj+19noMPTqTwZ3QCTii79+I /B4NIciBjYsiyfYPWv9qtxYiFTmP0Q+hW4H5Aa1+Z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59YoIRHifgt7CZaTU51hqJsV5byVfBDe3awwOeZkuVThqt2TKL0rmszQC/ Rj0xS3ac8z4ohIi/VKbrBMt88hAF8lUVo7hvsd2s7iaG6Tv+fLGA7GMPB6pjF6wR8bvod9vRGH6Q nNrGD8rLmDKpeHM22ITpnRgF5Klnk3NdAVKrzJwDo3M8M6RDLBHLDLNVG54BAZ7Q6bIUg8pkDpWy AGFDfkoxz+Mgm1rNoTZ3iTD7gsSpIQooOJU2Ca4MeJYaash0l/TVhlDwVeQWkcQRpBujlcsHjvnW PGDBAvQtE5OSG+oCY8ed8oT9hB89SDJt2jr/CymaKFiWIe5pK4Eo9wtm01YeX9NubNvhLW1uKYsp qhgQdgKFRASM2hTvsE6rEgP0ieFpN7oupaR6tQnDI+/J4Luj9vjkod8ePgzbg+/634WQiU3U2sd3 MgFGmNPjHluAfSvzNBof0OG2eNAiRYHQa+lzyEPOrwMI6aVX9QjpYNGakMu0W1mAQ+2D+iWOtBia X1XgmV+M8Kv53QXm0tEsgLpmWY3Hg9M05HndYH7/SvlU5HH1MI9ijVc38Gs25ibTXGdV7yKpP+Nv jzBXhmDQz6r6XhW+hU1m5iy3Ggw14TrTNQLNkaHQgXszvaJV8XMWQC1Xz10DYPpNCfYTG+PL3j4i Zx6+lhr0xr0hfHz1BvQ2Hx4NBR+H4Xg8PD467I96h/y4Nxjw0eyYD49Go/7xbDDqCfYKVpouUSzV pfJMquihFrrdrJevlxHoezG3O01opfWOxXgecKhUR7Bsb350FBwdHx+Ox7D08GQwFMPe7OToJAxp PbVMZC1CRY6lmkgjI3wYrOWdSCHP5FXLR8HvICIYQdHNhTWnlyR9e+fk1ygrfwnGqPX58/8D0MHg vQ== ===END CRASH DUMP===

PEMapModder commented 9 years ago

PHP always messes up backtrace like this...

ZGamerOficial commented 9 years ago

Why? Now how i can fix the problem?