# I am getting the following error when login on backend in German lang. In English It is working.

**URL:** <https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114>\
**Category:** Administration\
**Created:** [1. Februar 2016 um 14:19 UTC](https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114 "2016-02-01T14:19:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![testusernetwork1](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@testusernetwork1](https://forum.shopware.com/u/testusernetwork1)\
**Post date:** [1. Februar 2016 um 14:19 UTC](https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114/1 "2016-02-01T14:19:22Z")

</div>

Hi

SyntaxError: Unexpected token ILLEGAL  
&nbsp; &nbsp; at [http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:5361](http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:5361)  
&nbsp; &nbsp; at Object.Ext.globalEval ([http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:5369](http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:5369))  
&nbsp; &nbsp; at Ext.Ajax.request.success ([http://www.candyjewels.ch/backend/base?file=bootstrap&loggedIn=1454335570:477:5](http://www.candyjewels.ch/backend/base?file=bootstrap&loggedIn=1454335570:477:5))  
&nbsp; &nbsp; at Object.Ext.apply.callback ([http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:67496](http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:67496))  
&nbsp; &nbsp; at Ext.define.onComplete ([http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:422670](http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:422670))  
&nbsp; &nbsp; at Ext.define.onStateChange ([http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:422314](http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:422314))  
&nbsp; &nbsp; at XMLHttpRequest. ([http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:17406](http://www.candyjewels.ch/engine/Library/ExtJs/ext-all.js?201510221322:21:17406))

I am getting the above error when i login in backend by german language

It is working fine with english lang. Dont know why the error arises. Please help me…

&nbsp;

Thanking in advance

Regards

Team

&nbsp;

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [1. Februar 2016 um 15:06 UTC](https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114/2 "2016-02-01T15:06:02Z")

</div>

Hi,

can you open up the developer tools of your browser and watch the request, that fail? Probably there was an PHP error in the background, which causes this error.

Best regards,

Daniel

---

<div class="post-metadata">

**Author:** ![testusernetwork1](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@testusernetwork1](https://forum.shopware.com/u/testusernetwork1)\
**Post date:** [2. Februar 2016 um 08:47 UTC](https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114/3 "2016-02-02T08:47:37Z")

</div>

Hello Daniel,

I have checked in my server logs and developer console. There is no error found in both. The backend is still working fine with english language, But in the default german language only produces this error. And i cannot create articles over backend when the account logged in over german language plz help me

&nbsp;

Thanking in advance,

Regards,

Team

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [2. Februar 2016 um 09:42 UTC](https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114/4 "2016-02-02T09:42:23Z")

</div>

Hi,

generally its hard to tell from the error message - I am not sure, if it is an actual PHP error behind the scenes or a javascript error. I remember one case, where a broken snippet was compiled into the javascript application - so in your case, some could have created a snippets with unbalanced quotes or something, that breaks the javascript application.

If you have the possibility to test it (e.g. on a developer’s system), you could check the s\_core\_snippets table for the latest updated snippets in german - perhaps you’ll find something suspicious there. Also clearing the snippets table might be an option (but as this will also **affect frontend snippets it is not recommended in production** ).&nbsp;

Please also check for german snippets flagged in the&nbsp;„dirty“ column - those have been changed.&nbsp;

If you change something regarding the snippets, you will need to clear the backend tempalte cache. As you cannot log into the german backend account, you will need to do that using the clear\_cache.sh command.&nbsp;

Please notice, that this is basically just a&nbsp;guess - its hard to tell from that error message.&nbsp;

Best regards,

Daniel

---

<div class="post-metadata">

**Author:** ![testusernetwork1](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@testusernetwork1](https://forum.shopware.com/u/testusernetwork1)\
**Post date:** [3. Februar 2016 um 10:31 UTC](https://forum.shopware.com/t/i-am-getting-the-following-error-when-login-on-backend-in-german-lang-in-english-it-is-working/34114/5 "2016-02-03T10:31:26Z")

</div>

Hi thank you Mr. Daniel. As you said, The error occured due to the snippets. I copied the live s\_core\_snippets table to my local system. and deleted one by one. Finally it works now. Thank you for your timely help Mr. Daniel

Thanking in advance,&nbsp; ​

&nbsp;

Best Regards,

Team
