# Installer page is blank

**URL:** <https://forum.mautic.org/t/installer-page-is-blank/1490>\
**Category:** Product Support\
**Created:** [February 1, 2015, 9:28pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490 "2015-02-01T21:28:58Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![j007w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/j007w/32/3279_2.png) [@j007w](https://forum.mautic.org/u/j007w)\
**Post date:** [February 1, 2015, 9:28pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/1 "2015-02-01T21:28:58Z")

</div>

Hi,  
  
  
  
I uploaded all the files but the installer page is blank. I’m running the latest Apache 2.2.15, PHP 5.4 and MySQL 5.1.73. Any suggestions?  
  
  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![j007w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/j007w/32/3279_2.png) [@j007w](https://forum.mautic.org/u/j007w)\
**Post date:** [February 1, 2015, 9:28pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/2 "2015-02-01T21:28:58Z")

</div>

Hi,

I uploaded all the files but the installer page is blank. I’m running the latest Apache 2.2.15, PHP 5.4 and MySQL 5.1.73. Any suggestions?

Thanks!

---

<div class="post-metadata">

**Author:** ![nateritter](https://avatars.discourse-cdn.com/v4/letter/n/9d8465/32.png) [@nateritter](https://forum.mautic.org/u/nateritter)\
**Post date:** [February 4, 2015, 12:24am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/3 "2015-02-04T00:24:26Z")

</div>

I’m assuming you must not have your PHP settings such that it shows any errors.

---

<div class="post-metadata">

**Author:** ![j007w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/j007w/32/3279_2.png) [@j007w](https://forum.mautic.org/u/j007w)\
**Post date:** [February 4, 2015, 2:10am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/4 "2015-02-04T02:10:36Z")

</div>

Hi nateritter,

I checked Apache log and it’s showing this:

```auto
PHP Fatal error: Cannot redeclare class SessionHandlerInterface in /home/igadminsensei/public_html/domain/app/cache/prod/classes.php on line 387
```

Any idea?

Thanks so much!

---

<div class="post-metadata">

**Author:** ![j007w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/j007w/32/3279_2.png) [@j007w](https://forum.mautic.org/u/j007w)\
**Post date:** [February 4, 2015, 2:36am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/5 "2015-02-04T02:36:12Z")

</div>

OK, I deleted the cache folder inside the app folder and the installer shows up on screen. However, after I clicked “next step” I received the error below.

```auto
The CSRF token is invalid. Please try to resubmit the form.
```

Apache shows this:

`
mod_fcgid: stderr: #0 /home/domain/public_html/mautic/app/cache/prod/appProdProjectContainer.php(1030): Metadata\Cache\FileCache->__construct('/home/domain...')
mod_fcgid: stderr: #1 /home/domain/public_html/mautic/app/bootstrap.php.cache(2071): appProdProjectContainer->getFosRest_SerializerService()
mod_fcgid: stderr: #2 /home/domain/public_html/mautic/app/bundles/CoreBundle/Factory/MauticFactory.php(233): Symfony\Component\DependencyInjection\Container->get('jms_serializer')
mod_fcgid: stderr: #3 /home/domain/public_html/mautic/app/bundles/CoreBundle/EventListener/CommonSubscriber.php(77): Mautic\CoreBundle\Factory\MauticFactory->getSerializer()
mod_fcgid: stderr: #4 /home/domain/public_html/mautic/app/cache/prod/appProdProjectContai in /home/domain/public_html/mautic/vendor/jms/metadata/src/Metadata/Cache/FileCache.php on line 14`

Thanks

---

<div class="post-metadata">

**Author:** ![nateritter](https://avatars.discourse-cdn.com/v4/letter/n/9d8465/32.png) [@nateritter](https://forum.mautic.org/u/nateritter)\
**Post date:** [February 4, 2015, 7:01pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/6 "2015-02-04T19:01:39Z")

</div>

Are you sure you have the latest release? I haven’t seen that issue, and that would definitely be a code issue.

---

<div class="post-metadata">

**Author:** ![abenavides](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@abenavides](https://forum.mautic.org/u/abenavides)\
**Post date:** [February 5, 2015, 12:18am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/7 "2015-02-05T00:18:30Z")

</div>

Hi @j007w

Which files are you using? the beta version downloadable from [mautic.org](http://mautic.org) or the master file from github?

On the installer main page (i.e. [http://localhost/mautic/installer](http://localhost/mautic/installer)) do you you see “Ready to Install”?

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [February 5, 2015, 5:06am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/8 "2015-02-05T05:06:22Z")

</div>

A few things to check to maybe help us figure out what the issue is.

First, check in app/logs. Do you have any files there? If so, are there any errors written in them?

Make sure that the cache folder is readable and writable by your apache/php user. What that is depends on your apache/php setup.

What browser are you using? I don’t think this is affecting the form submission but you never know. Do you consistently get the csrf token error after a page refresh?

Thanks,  
Alan

---

<div class="post-metadata">

**Author:** ![j007w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/j007w/32/3279_2.png) [@j007w](https://forum.mautic.org/u/j007w)\
**Post date:** [February 6, 2015, 6:04am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/9 "2015-02-06T06:04:09Z")

</div>

Hi,

Thank you to everyone who is helping me!

I checked app/logs but it’s empty. The cache folder is readable and writable by Apache/PHP user. I’ve been using Chrome but I just tried Firefox with the exact same results. I do see “Ready to install” in green. When I click “Next Step” I get the CSRF token error.

I was using the beta 1.0 downloaded from [mautic.org](http://mautic.org). However, I found the other version on github so I tried that too with the same results.

Could this have anything to do with Varnish that’s running on the server?

Thanks again!

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [February 6, 2015, 6:11am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/10 "2015-02-06T06:11:41Z")

</div>

Varnish could be the issue if it is caching outdated csrf tokens.

You can disable CSRF on the forms by copying app/config/security.php to app/config/security\_local.php (it will override security.php and not get overwritten with updates). Then open security\_local.php, find and comment out the csrf\_provider line

```auto
        'main' => array(
            'pattern' => "^/",
            'form_login' => array(
                //'csrf_provider' => 'form.csrf_provider',
```

Save, delete app/cache/prod folder and refresh. Can you get through the installer then? If so, then it is a varnish caching issue. You can leave the security\_local.php file as it own’t get overwritten by future updates; although you may have to manually update it if the default one ever gets updated.

The disclaimer is that disabling csrf is decreasing security some so do so at your own risk.

Thanks!  
Alan

---

<div class="post-metadata">

**Author:** ![j007w](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/j007w/32/3279_2.png) [@j007w](https://forum.mautic.org/u/j007w)\
**Post date:** [February 10, 2015, 1:11am UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/11 "2015-02-10T01:11:07Z")

</div>

Hi Alan,

It was Varnish! I followed your instructions but still had the same error. Then I accessed the installer via SSL since Varnish can’t cache SSL traffic–and it worked! I was able to finish the installation. I guess it’s better to access via SSL anyway so it’s no big deal. Thanks so much for your help!

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [February 10, 2015, 8:26pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/12 "2015-02-10T20:26:45Z")

</div>

Glad that it was an easy workaround 🙂

Thanks!  
Alan

---

<div class="post-metadata">

**Author:** ![adambeazley](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adambeazley/32/494_2.png) [@adambeazley](https://forum.mautic.org/u/adambeazley)\
**Post date:** [October 21, 2015, 8:09pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/13 "2015-10-21T20:09:04Z")

</div>

I’m having a very similar issue, but the workaround did not work for me.

---

<div class="post-metadata">

**Author:** ![Jaheki](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@Jaheki](https://forum.mautic.org/u/Jaheki)\
**Post date:** [December 13, 2016, 9:30pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/14 "2016-12-13T21:30:46Z")

</div>

I just experienced this issue and followed alan’s solution but it didn’t work right away, however I then noticed the Url was:  
/Mautic/installer/step/0  
I changed the 0 to a 1  
and got through to the next step oddly enough.

---

<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:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/installer-page-is-blank/1490/15 "2020-02-02T22:57:46Z")

</div>


