Open Yivan opened 7 years ago
Ok I fixed all the error by adding static keyword to the function: private static function createDocuments() private static function createDocumentTypes() private static function createEmailDocuments() private static function createConfigFile()
And by changing in plugin.php, line 246 (https://github.com/basilicom/pimcore-plugin-participation/blob/master/lib/Participation/Plugin.php#L246):
Page::getByPath(dirname(self::DOCUMENT_EMAIL_CONFIRMATION_PATH))
By:
Page::getByPath(str_replace("\\", "/", dirname(self::DOCUMENT_EMAIL_CONFIRMATION_PATH)))
After this, install work ok, and all necessary things are created.
If you could add those change to the plugin so next user on Windows and with Strict level won't have any problem this would be great. Thanks a lot!
hi!
your feedback is highly appreciated, I'll definitely take a look at it tomorrow!
Kind regards, Chris
Am 22.11.2016 7:27 Nachm. schrieb "Yivan" notifications@github.com:
Ok I fixed all the error by adding static keyword to the function: private static function createDocuments() private static function createDocumentTypes() private static function createEmailDocuments() private static function createConfigFile()
And by changing in plugin.php, line 246 (https://github.com/basilicom/ pimcore-plugin-participation/blob/master/lib/Participation/Plugin.php#L246): Page::getByPath(dirname(self::DOCUMENT_EMAIL_CONFIRMATION_PATH)) By: Page::getByPath(str_replace("\", "/", dirname(self::DOCUMENTEMAIL CONFIRMATION_PATH)))
After this, install work ok, and all necessary things are created.
If you could add those change to the plugin so next user on Windows and with Strict level won't have any problem this would be great. Thanks a lot!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/basilicom/pimcore-plugin-participation/issues/1#issuecomment-262323622, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSipGwh6_LEfY0T8xmR9hZSt1PfqEUvks5rAzQIgaJpZM4K5wyb .
Hello, I just try to install the plugin, but I get some error. I install it via composer, activate the plugin, but when i click install in the extension panel, I get error in the response request:
Test was done on the last stable Pimcore (4.4.1, build 4008), Windows server. Thanks.