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

Unable to load plugin when server start : Could not save Config / Missing required language file phar #19

Closed
teracube opened this issue Nov 21, 2017 · 2 comments

Comments

@teracube
Copy link

teracube commented Nov 21, 2017

at first install Unable to load plugin when server start
i try restart second time and same error

PocketMine-MP_1.7dev-427_
MagicWE2_dev-69 / MagicWE2 v4.3.5
Linux
PHP 7.2 RC4

2017-11-21 [10:15:49] �[Server thread/INFO]: Loading MagicWE2 v4.3.5�
2017-11-21 [10:15:49] �[Server thread/CRITICAL]: Could not save Config /home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2/config.yml: file_put_contents(/home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2/config.yml): failed to open stream: No such file or directory�
2017-11-21 [10:15:49] �[Server thread/ERROR]: Missing required language file phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2_dev-69.phar/resources/eng.ini�
2017-11-21 [10:15:49] �[Server thread/ERROR]: Missing required language file phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2_dev-69.phar/resources/eng.ini�
2017-11-21 [10:15:49] �[Server thread/INFO]: [[MagicWE]� ] Restoring Sessions�
2017-11-21 [10:15:49] �[Server thread/INFO]: [[MagicWE]� ] Sessions successfully restored�
2017-11-21 [10:17:34] �[Server thread/INFO]: [[MagicWE]� ] Destroying Sessions�
2017-11-21 [10:17:34] �[Server thread/CRITICAL]: ErrorException: "include(phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2_dev-69.phar/src/xenialdan/MagicWE2/API.php): failed to open stream: phar error: Cannot open phar archive "/home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2_dev-69.phar" for reading" (EXCEPTION) in "vendor/pmmp/pocketmine-spl/BaseClassLoader" at line 128�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #0 vendor/pmmp/pocketmine-spl/BaseClassLoader(128): pocketmine\error_handler(integer 2, string include(phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2_dev-69.phar/src/xenialdan/MagicWE2/API.php): failed to open stream: phar error: Cannot open phar archive "/home/gsp_1485/g3.hmserv.eu-19144/plugins/MagicWE2_dev-69.phar" for reading, string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/vendor/pmmp/pocketmine-spl/BaseClassLoader.php, integer 128, array Array())�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #1 vendor/pmmp/pocketmine-spl/BaseClassLoader(128): include()�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #2 (): BaseClassLoader->loadClass(string xenialdan\MagicWE2\API)�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #3 MagicWE2_dev-69.phar/src/xenialdan/MagicWE2/Loader(84): spl_autoload_call(string xenialdan\MagicWE2\API)�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginBase(92): xenialdan\MagicWE2\Loader->onDisable()�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #5 src/pocketmine/plugin/PharPluginLoader(137): pocketmine\plugin\PluginBase->setEnabled(boolean )�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #6 src/pocketmine/plugin/PluginManager(687): pocketmine\plugin\PharPluginLoader->disablePlugin(xenialdan\MagicWE2\Loader object)�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #7 src/pocketmine/plugin/PluginManager(677): pocketmine\plugin\PluginManager->disablePlugin(xenialdan\MagicWE2\Loader object)�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #8 src/pocketmine/Server(2056): pocketmine\plugin\PluginManager->disablePlugins()�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #9 src/pocketmine/Server(2147): pocketmine\Server->forceShutdown()�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #10 src/pocketmine/Server(1734): pocketmine\Server->start()�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #11 src/pocketmine/PocketMine(552): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)�
2017-11-21 [10:17:34] �[Server thread/DEBUG]: #12 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)�
inxomnyaa added a commit that referenced this issue Nov 21, 2017
inxomnyaa added a commit that referenced this issue Nov 21, 2017
@inxomnyaa
Copy link
Owner

Could you test now? Seems to be an issue with loading order in resources

@inxomnyaa inxomnyaa added the bug label Nov 21, 2017
@teracube
Copy link
Author

@thebigsmileXD
ok the plugin load succesfully

thanks

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

No branches or pull requests

2 participants