# Not able to login as a customer

**URL:** <https://forum.shopware.com/t/not-able-to-login-as-a-customer/44458>\
**Category:** International (English Only)\
**Tags:** general\
**Created:** [14. März 2017 um 08:04 UTC](https://forum.shopware.com/t/not-able-to-login-as-a-customer/44458 "2017-03-14T08:04:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![veelasj](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@veelasj](https://forum.shopware.com/u/veelasj)\
**Post date:** [14. März 2017 um 08:04 UTC](https://forum.shopware.com/t/not-able-to-login-as-a-customer/44458/1 "2017-03-14T08:04:35Z")

</div>

Using Commuity Edition. Installed on local server. I registered as a customer, but I am not able to login. It does not give me any error. It just stops on this url &nbsp;[http://192.168.1.6:81/account/login/sTarget/account/sTargetAction/index](http://192.168.1.6:81/account/login/sTarget/account/sTargetAction/index)

Kindly help me

---

<div class="post-metadata">

**Author:** ![umairjabbar](https://avatars.discourse-cdn.com/v4/letter/u/7ea924/32.png) [@umairjabbar](https://forum.shopware.com/u/umairjabbar)\
**Post date:** [3. Mai 2017 um 15:42 UTC](https://forum.shopware.com/t/not-able-to-login-as-a-customer/44458/2 "2017-05-03T15:42:21Z")

</div>

If you are not able to see any errors, probably the error logging is not active, add the following to your array in config.php

```
//Show low level PHP errors
'phpsettings' => [
    'display_errors' => 1,
]

```

reference:&nbsp;[http://en.community.shopware.com/\_detail\_1961.html](http://en.community.shopware.com/_detail_1961.html)

&nbsp;

The error may help you further or paste the error here.

---

<div class="post-metadata">

**Author:** ![Thisura](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@Thisura](https://forum.shopware.com/u/Thisura)\
**Post date:** [27. August 2018 um 06:00 UTC](https://forum.shopware.com/t/not-able-to-login-as-a-customer/44458/3 "2018-08-27T06:00:56Z")

</div>

> [@veelasj schrieb:](https://forum.shopware.com/profile/26000/veelasj "veelasj")
> 
> Using Commuity Edition. Installed on local server. I registered as a customer, but I am not able to login. It does not give me any error. It just stops on this url &nbsp;[http://192.168.1.6:81/account/login/sTarget/account/sTargetAction/index](http://192.168.1.6:81/account/login/sTarget/account/sTargetAction/index)
> 
> Kindly help me

This is mostly due to timezone issues. The timezone of the database that Shopware uses must match the timezone in the Default.php file in Shopware.

For **example** if your database timezone is +0530 (Asia/Colombo),  
in the Default.php file inside /engine/Shopware/Configs/, change the following code:  
&nbsp;

```
'phpsettings' => [
        'error_reporting' => E_ALL & ~E_USER_DEPRECATED,
        'display_errors' => 0,
        'date.timezone' => 'Europe/Berlin',
]

```

to:

```
'phpsettings' => [
        'error_reporting' => E_ALL & ~E_USER_DEPRECATED,
        'display_errors' => 0,
        'date.timezone' => 'Asia/Colombo',
]

```

–

Do that, clear the shopware cache from the backend and check whether the login works.

–

See:&nbsp;[http://php.net/manual/en/timezones.php](http://php.net/manual/en/timezones.php)&nbsp;for a list of php supported timezones.  
&nbsp;
