Closed kaystrobach closed 6 years ago
I think the entry for sentry in the config.php is required in the current version.
Am 28.11.2017 um 20:04 schrieb Kay Strobach notifications@github.com:
System:
Shopware 5.2.21 Sentry Plugin 1.1.1 PHP 7.0.11 uname -a Output: FreeBSD qidone 10.2-RELEASE-p14 hostBSD 10.2-RELEASE-p14 #3: Sat Mar 19 18:10:30 CET 2016 root@fbsd10clone1.han-solo.net:/usr/obj/usr/src/sys/DMRKERNEL amd64 Plugin settings:
https://user-images.githubusercontent.com/1185776/33338457-726f698a-d476-11e7-84ce-9134f9b2c30d.png Logfiles
apache error log
[Tue Nov 28 19:58:50.169539 2017] [fcgid:warn] [pid 41348] [client 93.228.xx.xxx:64334] mod_fcgid: stderr: PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: The parameter "shopware.sentry" must be defined. in /shopware/var/cache/production_201703211201/proxies/ShopwareProductione928cc560381633e6f727b3a89e61338d3e91c3aProjectContainer.php:2160, referer: https://www.flooridoo.com/shop/backend/ Error during deaktivation from commandline:
https://user-images.githubusercontent.com/1185776/33338716-3923b1a8-d477-11e7-96eb-27c79fdd6871.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/1drop/shopware-sentry/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AeYQ4KgxeQZfUh7dFQ_Sra6nLhLdH3apks5s7FlOgaJpZM4QtwLR.
The CompilerPass sets a default configuration if it does not missing. I guess there is something wrong while building container....
Have you tried clearing complete cache folder in /var/cache?
you are right, after adding the following lines to config.php the error 500 is gone.
So it seems to me, that the defaults are faulty.
PS: If you look into the description in the shopware store, there is no hint about that setting ...
shyim is right, the default configuration (if not explicitly set in config.php => which is NOT required) is added at a very early stage of the plugin bootstrapping which did not cause any problems until now.
Could you provide also a stack Trace?
Hmm, I just tried it with a fresh installed demo shop:
And can't reproduce it.
for sure, added it into the issue description
maybe the problem is, that i did installation in the following steps:
after activation the installation stopped working
Oh, I never got the installation of a plugin inside of Shopware working. Always get some weird response codes. E.g.: I need to figure out a way to test this.
Ahh your installation needs to be registered @shopware and reachable from the shopwarw servers ... strange stuff going on with it
Actually it is registered
I installed a new shop on which the registration worked and installed the plugin via the integrated shopware store. Can't reproduce the issue.
Mhmm so let’s close it for now, I’m not so much into bsd maybe a platform specific problem 🤔
Atleast it works with the config.php settings, maybe it makes sense to point to the readme on github from the shopware store. 😉
Thanks a lot for your effort.
System:
uname -a
Output:FreeBSD qidone 10.2-RELEASE-p14 hostBSD 10.2-RELEASE-p14 #3: Sat Mar 19 18:10:30 CET 2016 root@fbsd10clone1.han-solo.net:/usr/obj/usr/src/sys/DMRKERNEL amd64
Plugin settings: ====
Logfiles
apache error log
Error during deaktivation from commandline:
stack trace