• Resolved andrewlin18

    (@andrewlin18)


    Hello,
    A web designer I know designed a custom template for my website. It is a static homepage. I have downloaded all the files to my hosts file manager, under wp-content/themes/ftp. When I log into the wordpress admin and go to themes, my custom theme is showing. It has the correct screenshot showing for my theme, but when I preview or activate the theme it is blank. Does anyone have any suggestions or know the cause of my problem? Thanks for your time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sounds to me the theme is not quite valid.
    The screenshot doesn’t mean anything, since it’s a png, called screenshot.png. Two files in a wordpress theme are mandatory: index.php and style.css.

    What files are in your template directory?

    Peter

    Thread Starter andrewlin18

    (@andrewlin18)

    Here are the files in my template directory. I also have images in a sub-directory in the same folder.

    comments.php
    footer.php
    functions.php
    header.php
    home.php
    index.php
    panel.php
    screenshot.png
    sidebar.php
    style.css

    From looking at these can you tell if im missing something?

    Thread Starter andrewlin18

    (@andrewlin18)

    I did notice that when I try to preview the index.php file, i get the following error message:

    “The server encountered an unexpected condition which prevented it from fulfilling the request.
    The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.”

    What does that mean?

    Viewing from where?

    • With your browser? In that case the file contains invalid php code.
    • From your admin panel? I guess the file is corrupt.

    Both situations could lead to a non-diplaying site. What does the apache log say (if you got access to it, that is)?

    Peter

    Thread Starter andrewlin18

    (@andrewlin18)

    It is both blank when viewing in the browser and from the admin panel. Im not familiar with the apache log. How do I find it?

    Thread Starter andrewlin18

    (@andrewlin18)

    Well, I fixed the problem. I guess the theme that I was trying to use was not compatiable to the wordpress 2.7. I updated to the new version of wordpress and BAM! there my site was. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Screenshot shows up, but Theme is blank. Help Please’ is closed to new replies.