ThemeShaper Forums » Thematic

When I upload functions.php file to child theme is causes site to go blank

(3 posts)
  • Started 11 years ago by hally
  • Latest reply from mrsteveman1
  • This topic is not resolved
  1. hally
    Member

    When I upload functions.php file to child theme is causes site to go blank. When I remove it from the child theme it works again.

    Posted 11 years ago #
  2. amygail
    Member

    Hally - you're not uploading the functions.php from Thematic into your child theme are you?
    your child theme's function.php - should only include the changes/addtions you've made - not the entire functions.php that lives in Thematic

    Posted 11 years ago #
  3. mrsteveman1
    Member

    What's in the functions.php file? If there is a syntax error in the php things will break, i've broken our dev site hundreds of times doing that. Just remove or comment out the sections you think may be responsible and reload the site.

    Make sure you have start and end tags in the file though (don't know if it would work empty), so add <?php ?> at a minimum :)

    Posted 11 years ago #

RSS feed for this topic

Reply

You must log in to post.