# Uniform 'install' gives blank site

**URL:** <https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 6, 2017, 2:23pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671 "2017-06-06T14:23:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldanielswakman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ldanielswakman/32/4235_2.png) [@ldanielswakman](https://forum.getkirby.com/u/ldanielswakman)\
**Post date:** [June 6, 2017, 2:23pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/1 "2017-06-06T14:23:45Z")

</div>

Hi people ( @mzur ),

I am experiencing an odd issue on my single language Kirby installation where I’m trying to add the uniform plugin to my site. This happens:

- without the plugin, the site works fine, both locally and on my [live test url](http://ldaniel.eu/_/new)
- took the most basic installation path: I download the uniform repo ZIP file, unpack it and place it in the `site/plugins/uniform` folder
- locally this is fine, and the plugin works
- when I visit the live URL, the page ‘breaks’, just [shows up blank](http://ldaniel.eu/_/new-uniformtest/)

My site’s code is here [github.com](http://github.com) \> ldanielswakman/ldaniel-site/tree/v5; I’ve created 2 instances on the repository, one without the plugin folder and one with the plugin folder (see both links above). The plugin gets used in a snippet called `contact.php`, and in a route in the config file.

Tried to modify the `.htaccess` since both these URLs are in a subfolder, but that didn’t change anything. I also tried to add this folder to another Kirby site that didn’t use the plugin before and it also went blank. I also tried to checkout a code version of the plugin from a few months ago but it showed the same behaviour. I also checked if I’m required to instantiate the Form object in the controller, but in the Read The Docs AJAX example there is no use of the controller.

I’ve worked with the plugin before and had no issues, but this has ben bothering me all day and I can’t figure it out. Am I doing something very obviously wrong? Any help is greatly appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![mzur](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mzur](https://forum.getkirby.com/u/mzur)\
**Post date:** [June 6, 2017, 4:04pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/2 "2017-06-06T16:04:39Z")

</div>

Can you take a look ath the error log of the webserver of your live instance? If the page is blank there usually is some error in the log.

---

<div class="post-metadata">

**Author:** ![ldanielswakman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ldanielswakman/32/4235_2.png) [@ldanielswakman](https://forum.getkirby.com/u/ldanielswakman)\
**Post date:** [June 6, 2017, 5:02pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/3 "2017-06-06T17:02:13Z")

</div>

Oh I forgot to mention that; there is also no error log. I mean, I checked both the `/public_html` home folder, the base subfolder of the two test instances ( `/_/new` and `/_/new-uniformtest` ) and some other folders. The only error I saw was a normal one, from when I removed the whole uniform folder but left the csrf helper in the code:

`[06-Jun-2017 13:51:05 UTC] PHP Fatal error: Call to undefined function csrf_field() in /home/ldanielswakman/public_html/_/new/site/snippets/contact.php on line 77`  
_(in the `error_log` file in the instance subfolder)_

But this was a ‘normal’ error, the one that gets Kirby styling w debug on.

Anywhere I haven’t looked and should look into?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 6, 2017, 10:29pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/4 "2017-06-06T22:29:17Z")

</div>

Are the Kirby and Panel folders present and complete?

---

<div class="post-metadata">

**Author:** ![ldanielswakman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ldanielswakman/32/4235_2.png) [@ldanielswakman](https://forum.getkirby.com/u/ldanielswakman)\
**Post date:** [June 7, 2017, 6:11am UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/5 "2017-06-07T06:11:22Z")

</div>

Yeah there is no problem with them; I installed them as submodules. When I remove the `uniform` folder from the `site/plugins` dir, everything works fine…

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 7, 2017, 6:15am UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/6 "2017-06-07T06:15:17Z")

</div>

Old PHP version maybe?

---

<div class="post-metadata">

**Author:** ![ldanielswakman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ldanielswakman/32/4235_2.png) [@ldanielswakman](https://forum.getkirby.com/u/ldanielswakman)\
**Post date:** [June 7, 2017, 7:09am UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/7 "2017-06-07T07:09:08Z")

</div>

That did it!

PHP version was set to 5.4; changed it to 5.6 and it worked. [Try out the ‘get in touch button’ 🙂](http://ldaniel.eu/_/new-uniformtest/). The odd thing is that for Kirby the [PHP requirement](https://getkirby.com/docs/installation/download) is 5.4, and Uniform doesn’t mention any specific (different) version. @mzur Is this something to look into further?

Anyway thanks both @texnixe and @mzur for help debugging!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 7, 2017, 7:13am UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/8 "2017-06-07T07:13:04Z")

</div>

@ldanielswakman Yes, many plugins require PHP 5.6, PHP versions below that are not recommended (end of lifetime reached) even if Kirby is still supporting them (won’t be the case in future versions, though).

---

<div class="post-metadata">

**Author:** ![mzur](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mzur](https://forum.getkirby.com/u/mzur)\
**Post date:** [June 7, 2017, 12:33pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/9 "2017-06-07T12:33:23Z")

</div>

Uniform supports PHP \>=5.5. As PHP 5.4 reached end of life almost 2 years ago I didn’t find it worth mentioning. I’ll reconsider if this issue pops up more frequently.

(ProTip: If you install Uniform with Composer you get a warning for an unsupported PHP version ;-))

---

<div class="post-metadata">

**Author:** ![ldanielswakman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ldanielswakman/32/4235_2.png) [@ldanielswakman](https://forum.getkirby.com/u/ldanielswakman)\
**Post date:** [June 7, 2017, 1:23pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/10 "2017-06-07T13:23:25Z")

</div>

Right! I guess I never looked into PHP version at all since starting to use this hosting. I see your point, but since Kirby is listed to support PHP 5.4+, it would be good to mention it somewhere that Uniform is PHP 5.5+.

Haha and yeah I considered composer, but I like git submodules 🙂

---

<div class="post-metadata">

**Author:** ![mzur](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mzur](https://forum.getkirby.com/u/mzur)\
**Post date:** [June 13, 2017, 3:43pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/11 "2017-06-13T15:43:28Z")

</div>

And we got [another one](https://github.com/mzur/kirby-uniform/issues/130). I’ll add the note to the docs…

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:35pm UTC](https://forum.getkirby.com/t/uniform-install-gives-blank-site/7671/12 "2025-02-06T17:35:31Z")

</div>


