WordPress 500 Internal server error when activating custom theme

Whenever I try to activate my custom built theme on the clients server, the website returns a ‘500 – Internal Server Error’.

enter image description here

Read More

The theme is working fine on my local machine, MAMP on my mac. I dont even know where to begin to solve this problem!

As far as I am aware, the wordpress is a fresh install and I have no plugins that are activated.

Edit: As requested, here is the structure of my theme:

> theme-folder
  - 404.php
  > assets
    > css
    > font
    > images
    > js
    > sequence
  - category-food-and-baking.php
  - comments.php
  - footer.php
  - front-page.php
  - functions.php
  - header.php
  - index.php
  - page.php
  - sidebar.php
  - single-default.php
  - single-food-and-baking.php
  - single.php
  - style.css

And the first section of my CSS is:

/*
Theme Name: OonaghsKitchen
Theme URI: http://www.hknudsen.co.uk
Author:H Knudsen
Author URI: http://www.hknudsen.co.uk
Description: The theme for Oonaghs Kitchen
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: OonaghsKitchen

*/

Related posts

1 comment

  1. You start by enabling WP debugging.

    Wanted to add that a 500 error is typically a httpd server issue, either configuration or (more likely in this case) doing something in WP that you shouldnt, e.g. modifying http headers incorrectly.

Comments are closed.