# \[Solved\] Login error - Browser blinks but not load the panel

**URL:** <https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700>\
**Category:** Product Support\
**Created:** [June 1, 2021, 11:15pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700 "2021-06-01T23:15:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![evandropastor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/evandropastor/32/5263_2.png) [@evandropastor](https://forum.mautic.org/u/evandropastor)\
**Post date:** [June 1, 2021, 11:15pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/1 "2021-06-01T23:15:31Z")

</div>

**Your software**  
My Mautic version is: 2.16  
My PHP version is: PHP (7.2.34-21)  
My Database type and version is: MySQL (10.5.10-MariaDB)  
Nginx version: NGINX (1.18.0 )

**Your problem**  
My problem is: When I try to log in, the browser blinks and doesn’t show the panel. It sticks on the login form.

These errors are showing in the log:

Server error log:

```auto
root@mauticevandro:/var/www/info.evandropastor.com/logs# cat error.log 
2021/05/31 01:26:53 [crit] 833#833: *905 SSL_read_early_data() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 74.82.47.2, server: 0.0.0.0:443
2021/05/31 13:20:14 [error] 833#833: *962 FastCGI sent in stderr: "PHP message: PHP Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/info.evandropastor.com/htdocs/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php on line 86" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "POST /index.php/s/ajax?action=updateUserStatus&mauticUserLastActive=61&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:12:51 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:12:53 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-two-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:12:56 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:12:59 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-two-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:15:10 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=2&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:15:24 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:16:01 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-two-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 18:16:03 [error] 817#817: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: transport in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 210
PHP message: PHP Notice: Undefined variable: mailer in /var/www/info.evandropastor.com/htdocs/app/bundles/EmailBundle/Controller/AjaxController.php on line 229" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET /s/ajax?action=email:testEmailServerConnection&mauticUserLastActive=1&mauticLastNotificationId= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com", referrer: "https://info.evandropastor.com/index.php/s/config/edit"
2021/05/31 22:09:07 [crit] 880#880: *102 SSL_read_early_data() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 104.131.181.99, server: 0.0.0.0:443
2021/06/01 02:31:48 [crit] 880#880: *130 SSL_read_early_data() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 64.62.197.32, server: 0.0.0.0:443
2021/06/01 03:02:18 [error] 880#880: *135 access forbidden by rule, client: 3.239.204.1, server: info.evandropastor.com, request: "GET /.env HTTP/1.1", host: "149.28.40.140"
2021/06/01 18:49:39 [error] 880#880: *253 FastCGI sent in stderr: "PHP message: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '=', expecting ')' - in file /var/www/info.evandropastor.com/htdocs/app/config/local.php - at line 3" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com"
2021/06/01 18:50:47 [error] 845#845: *1 FastCGI sent in stderr: "PHP message: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '=', expecting ')' - in file /var/www/info.evandropastor.com/htdocs/app/config/local.php - at line 3" while reading response header from upstream, client: 189.79.182.211, server: info.evandropastor.com, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php72-fpm.sock:", host: "info.evandropastor.com"

```

Steps I have tried to fix the problem:  
I tried to clear the cache and rebuild the permissions.  
I also tried to log in using 3 different browsers. Tried to use the anonymous mode.  
None of those actions worked 😕

Any idea how to solve this?

Thanks for all your help in advance.

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [June 1, 2021, 11:45pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/2 "2021-06-01T23:45:13Z")

</div>

> [@evandropastor](#):
>
> `syntax error, unexpected '=', expecting ')' - in file /var/www/info.evandropastor.com/htdocs/app/config/local.php - at line 3"`

open local.php file and fix the syntax error

---

<div class="post-metadata">

**Author:** ![evandropastor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/evandropastor/32/5263_2.png) [@evandropastor](https://forum.mautic.org/u/evandropastor)\
**Post date:** [June 2, 2021, 12:00am UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/3 "2021-06-02T00:00:04Z")

</div>

Hey EJL!

Thanks for your help. This file is a nightmare. There is a way to generate another file like this or get one as a reference?

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [June 2, 2021, 12:12am UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/4 "2021-06-02T00:12:03Z")

</div>

line 3 of my local.php file looks like this

‘db\_driver’ =\> ‘pdo\_mysql’,

Keep in mind support for Mautic 2.16 ended quite a while ago. I can review my files and settings to help troubleshoot the best I can but we will likely create as many problems and we solve. Have you considered upgrading to Mautic 3.X ?

---

<div class="post-metadata">

**Author:** ![evandropastor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/evandropastor/32/5263_2.png) [@evandropastor](https://forum.mautic.org/u/evandropastor)\
**Post date:** [June 2, 2021, 1:15pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/5 "2021-06-02T13:15:58Z")

</div>

You’re right. I will upgrade to 3.x. Trying to keep this install became a huge task.

Thanks for all your help 😃

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [June 2, 2021, 1:20pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/6 "2021-06-02T13:20:58Z")

</div>

No problem! I think you are making the right move. Mautic 3x is light years ahead of 2x and 4x is right around the corner. I have a 4x beta instance with 50+ million contacts and it runs flawlessly. 5 installs of 3.3.x with 5-10 million contacts and they run flawlessly as well.

Let us know if we can help you transition from 2.16 to 3.x  
Check out [Issue after restore Database in mautic - #2 by rcheesley](https://forum.mautic.org/t/issue-after-restore-database-in-mautic/19706/2)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [June 2, 2021, 1:33pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/7 "2021-06-02T13:33:59Z")

</div>

> [@EJL](#):
>
> I have a 4x beta instance with 50+ million contacts and it runs flawlessly

Great to hear you are using the Beta at scale (and 😱 … hope it is not a production instance!) - would love to get your thoughts / tests in the Mautic 4 channel on Slack as we are really struggling for testers which is holding back the release.

---

<div class="post-metadata">

**Author:** ![evandropastor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/evandropastor/32/5263_2.png) [@evandropastor](https://forum.mautic.org/u/evandropastor)\
**Post date:** [June 2, 2021, 1:46pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/8 "2021-06-02T13:46:33Z")

</div>

WOW!!! 50+ milion!!!  
Going a bit off-topic here: do you mind sharing your server specifications? In my mind, to handle this number of contacts needs a huge server.

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [June 2, 2021, 2:55pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/9 "2021-06-02T14:55:01Z")

</div>

@evandropastor  
6 mautic installs and 8 medium wordpress installs with moderate traffic.  
2 x AMD EPYC 7282 - 2 Processors x 16 x 2.80 GHz  
256 GB REG ECC  
1.9 TB NVMe SSD + 1TB SSD for backups.  
This is overkill as I am terrible at tuning Mariadb. Someone smarter than me could probably run this on a much smaller machine depending on the number of segments, campaigns, and email operations. Overall the machine hovers at 15%-25% CPU utilization and 25%-50% Memory looking at the last 30 days.  
CRON timing mistakes will create problems and pruning the audit\_log is imperative for my purposes.

---

<div class="post-metadata">

**Author:** ![evandropastor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/evandropastor/32/5263_2.png) [@evandropastor](https://forum.mautic.org/u/evandropastor)\
**Post date:** [June 2, 2021, 3:05pm UTC](https://forum.mautic.org/t/solved-login-error-browser-blinks-but-not-load-the-panel/19700/10 "2021-06-02T15:05:46Z")

</div>

Thanks for sharing!  
Really impressive setup 🙂

My setup is really basic: Vultr account with:  
1 processor  
1gb ram  
32 GB NVMe
