Nach CSS Source Mapp Erstellung funktioniert Kompilieren nicht mehr

Nachdem ich eine CSS Source Mapp erstelle habe, kann ich das Theme nicht mehr kompilieren. 

Wenn ich den Haken rausnehme, kompiliert er wieder ganz normal.

Ich hab Schwierigkeiten die entsprechenden Less Ordner zu finden, deswegen wollte ich die Source Mapp erstellen.

Besten Dank im Voraus 

Hey @Cholo‍,

die Generierung von Source-Maps benötigt einiges an RAM. Probiere mal bitte einmal das “memory_limit” zu erhöhen.

Viele Grüße,
Stephan Pohl  Shopware

Hey Stephan,

danke für die schnelle Antwort. Ich arbeite lokal, hatte das memory_limit zwischenzeitlich schon auf 1024m erhöht. Ging trotzdem nicht…

Gibt es noch andere Möglichkeiten?

LG

Suche mal nach einer aussagekräftigen Fehlermeldung: https://forum.shopware.com/discussion/comment/106944/#Comment_106944

Viele Grüße

1 „Gefällt mir“

Moin, danke schon einmal für die Hilfe. Es erscheint folgende Fehlermeldung, mit welcher ich leider nichts anfangen kann:

ext-all.js?201607131117:21 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
http://localhost/backend/cache/themeCacheWarmUp Failed to load resource: the server responded with a status of 503 (Service Unavailable)
ext-all.js?201607131117:21 Uncaught Ext.JSON.decode(): You’re trying to decode an invalid JSON String: 503 Service Unavailable
/backend/Index/load/?f=m/Widget|m/WidgetSettings|m/Turnover|m/Batch|m/Customers|m/Visitors|m/Orders…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Index/load/?f=v/widgets/Base&no-cache=1468859992+1+1:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/ArticleList?file=app&no-cache=1468859992+1+1:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Order?file=app&no-cache=1468859992+1+1:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Customer?file=app&no-cache=1468859992+1+1:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/customer/load/?f=m/Customer|m/Billing|m/Shipping|m/Debit|m/PaymentData|m/List|m/Order|m/Ch…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/ArticleList/load/?f=m/Filter|m/EditableColumn|m/Operation|m/Operator|v/main/Window|v/main/…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Order/load/?f=m/OrderHistory|m/Order|m/Billing|m/Shipping|m/Tax|m/Debit|m/Payment|m/Paymen…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Article/load/?f=m/Batch|m/PriceGroup|m/PropertyGroup|m/PropertyOption|m/Template|m/Categor…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Theme?file=app&no-cache=1468859992+1+1:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Theme/load/?f=m/Theme|m/Element|m/ConfigValue|m/Layout|m/ConfigSet|m/Settings|v/list/Windo…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Performance?file=app&no-cache=1468859992+1+1:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.
/backend/Performance/load/?f=m/Config|m/Check|m/KeyValue|m/Filter|m/HttpCache|m/TopSeller|m/Seo|m/S…:1 ‚//@ sourceURL‘ and ‚//@ sourceMappingURL‘ are deprecated, please use ‚//# sourceURL=‘ and ‚//# sourceMappingURL=‘ instead.

 

Hat jemand eine Idee? Ich hab schon in mehreren Foren gelesen, dass mehrere Probleme mit dem Source Mapping haben. Konnte bisher aber noch keine Lösung finden…

Vielen Dank im Voraus

Dein Server wirft eine 503 Excpetion. Daher ist der JSON Output unvollständig und darüber beschwert sich ExtJS dann. Sieh bitte mal in Deinen Server Logfiles nach (/shopware/var/log oder /var/log/apache2 etc.), ob Du dort fündig wirst. Möglicherweise ist auch die Runtime ein Problem - versuche mal die max_execution_time in der php.ini zu erhöhen.

1 „Gefällt mir“

In den Logfile steht leider nichts zum aktuellen Problem…

Ich habe die Runtime auf 240 erhöht, hat aber leider auch nicht geholfen. In der Console wird aber immerhin nicht mehr die 503 Exception angezeigt. Hier der nun erscheinende Text:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
/backend/customer/load/?f=m/Customer|m/Billing|m/Shipping|m/Debit|m/PaymentData|m/List|m/Order|m/Ch…:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/ArticleList/load/?f=m/Filter|m/EditableColumn|m/Operation|m/Operator|v/main/Window|v/main/…:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Order/load/?f=m/OrderHistory|m/Order|m/Billing|m/Shipping|m/Tax|m/Debit|m/Payment|m/Paymen…:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Article/load/?f=m/Batch|m/PriceGroup|m/PropertyGroup|m/PropertyOption|m/Template|m/Categor…:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Performance?file=app&no-cache=1468939417+1+1:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Performance/load/?f=m/Config|m/Check|m/KeyValue|m/Filter|m/HttpCache|m/TopSeller|m/Seo|m/S…:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Index/load/?f=m/Widget|m/WidgetSettings|m/Turnover|m/Batch|m/Customers|m/Visitors|m/Orders…:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Index/load/?f=v/widgets/Base&no-cache=1468939417+1+1:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/ArticleList?file=app&no-cache=1468939417+1+1:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Order?file=app&no-cache=1468939417+1+1:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.
/backend/Customer?file=app&no-cache=1468939417+1+1:1 ‘//@ sourceURL’ and ‘//@ sourceMappingURL’ are deprecated, please use ‘//# sourceURL=’ and ‘//# sourceMappingURL=’ instead.

 

Danke schon mal für die bisherige Hilfe. Hat jemand noch Vorschläge?

Also Exception hast Du jetzt ja keine mehr - lediglich Deprecation Warnings wegen sourceURL und sourceMapping URL. Ist die Funktion dennoch beeinträchtigt?

Ja, das Theme wird nach wie vor nicht kompiliert. Nachdem ich die Runtime in der php.ini erhöht habe, erscheint in den Logfiles folgende Mitteilung:

[2016-07-20 09:37:08] core.ERROR: exception ‘Enlight_Controller_Exception’ with message ‘Unauthorized’ in /Applications/MAMP/htdocs/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:202 Stack trace: #0 /Applications/MAMP/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs)) #1 /Applications/MAMP/htdocs/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs)) #2 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_ActionEventArgs)) #3 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‘columnConfigAct…’) #4 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #5 /Applications/MAMP/htdocs/engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch() #6 /Applications/MAMP/htdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 /Applications/MAMP/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 /Applications/MAMP/htdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 /Applications/MAMP/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #10 /Applications/MAMP/htdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #11 {main} {“uid”:“0c20e29”}
[2016-07-20 09:37:08] core.ERROR: exception ‘Enlight_Controller_Exception’ with message ‘Unauthorized’ in /Applications/MAMP/htdocs/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:202 Stack trace: #0 /Applications/MAMP/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs)) #1 /Applications/MAMP/htdocs/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs)) #2 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_ActionEventArgs)) #3 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‘getGrammarActio…’) #4 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #5 /Applications/MAMP/htdocs/engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch() #6 /Applications/MAMP/htdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 /Applications/MAMP/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 /Applications/MAMP/htdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 /Applications/MAMP/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #10 /Applications/MAMP/htdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #11 {main} {“uid”:“8f83536”}
[2016-07-20 09:37:08] core.ERROR: exception ‘Enlight_Controller_Exception’ with message ‘Unauthorized’ in /Applications/MAMP/htdocs/engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php:202 Stack trace: #0 /Applications/MAMP/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend(Object(Enlight_Controller_ActionEventArgs)) #1 /Applications/MAMP/htdocs/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_ActionEventArgs)) #2 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Action.php(138): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_ActionEventArgs)) #3 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‘loadAction’) #4 /Applications/MAMP/htdocs/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #5 /Applications/MAMP/htdocs/engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch()

und so weiter… (komplette Fehlermeldung wäre zu lang)

Geh hier so langsam aufm Zahnfleisch :-/

Neuer Ansatz: Kannst Du das Standard-Theme bzw. das Bare-Theme kompilieren? Oder schmeißt es ihn da auch auf?

__________________________________________________
Konnte ich Dir helfen? Dann freue ich mich über ein Danke :wink:

Danke für die schnelle Antwort. Das Standard-Theme kann ich problemlos kompilieren…

Gibt es denn sonst noch Vorschläge, wie man eine CSS Source Mapp erstellen kann?