Index.php just showing a completely white blank page


Just trying to setup my first theme. I have the following barebones template All I'm getting is a a white blank page. I've looked in the debug.log and apached error log and nothing seems to suggest an error occur. I also tried copying the index.php example found here and that also returns a blank page.

I do have album.php and image.php in my theme folder.

Am I doing something wrong?


  • acrylian Administrator
    Well, the theming tutorial index.php cannot directly be used. You should look at the demo plugin on GitHub which is linked at the end of the tutorial. The code examples in the tutorial are less commented than those (we need to replace that sometime soon).

    A blank page without an error is hard to help. Can be anything from wrong permissions via wrong htaccess to php fatal errors.
  • Hi Acrylian,

    I looked at those files on Git Hub they arent commented at all.

    I seem to be having this problem now for all my themes even the default ones. I wondered if it was maybe the permission.

    #Main theme folder
    drwxrwxrwx+ thelaings thelaings 4096 Feb 23 19:13 themes

    #default theme folder
    drwxrwxr-x+ thelaings thelaings 4096 Feb 22 18:55 default

    #default themes index file
    -rw-rw-r--+ thelaings thelaings 2646 Jan 23 23:02 index.php

    #my custom themes folder (sleekness)
    drwxrwxr-x+ thelaings thelaings 4096 Feb 27 20:01 sleekness

    #My custom themes index file
    -rw-rw-r--+ 1 thelaings thelaings 1402 Feb 24 10:57 index.php
  • acrylian Administrator
    Well, the index.php page not because it is pretty straight forward and the functions are documented on the functions documentation.

    Again, we cannot answer if it is permissions without an proper error. Info how they should be at best here:
Sign In or Register to comment.