Support » Localhost Installs » My selfmade theme works on localhost but not on the server

  • Hello,

    I have writen a custom theme for a client and it works perfectly on my localhost using XAMPP. When I was ready to upload it to the server, i followed the simple staps to move it(export database als sql, change all ‘localhost’ to my website domain in that sql, import it, upload my website files(all wp-directories and files), change the wp-config file, etc, etc)

    When in my wordpress dashboard on the server, everything looks fine, i’ve got all of my pages, catagories, and posts etc.

    But here’s the thing, I activated my theme on the server but all it shows is a blank screen. Changing the theme tot Twenty Twelve causes it to show the Twenty Twelve theme, but activating my custom theme doesn’t do anything but a blank page.

    I’ve already tried to update my permalinks and general settings but it just doesn’t work. My theme also doesn’t show a preview on the theme’s tab.

    I would very much like someone who could help me out with this. This is my very first wordpress project so I’m not very familiar with it and maybe the problem is easy fixed.

    Does any one here know how I can fix this problem?

    steps I’ve used:

    I appriciate all comments, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try checking your site’s error logs for messages. Your hosts should be able to help you accessing your site’s error logs.

    yeah you got some bad code in your theme thats causing the theme to crash

    go through your files and make sure all your calls are relative and not hard coded directories and you might want to run it through an editor that has php colorizing so you can see anything that might not be quite right.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My selfmade theme works on localhost but not on the server’ is closed to new replies.