WordPress.org

Forums

Need Help with a template issue. (5 posts)

  1. jasoneano
    Member
    Posted 6 years ago #

    Hello,

    Im a novice administrator of WordPress. I have installed a woo theme and all appears to be working though, I get the following error messages when viewing the site. Any help would be much appreciated.

    Warning: main(layouts/) [function.main]: failed to open stream: No such file or directory in /home/easterse/public_html/wordpress/wp-content/themes/The Gazette Edition/home.php on line 16

    Warning: main(layouts/) [function.main]: failed to open stream: No such file or directory in /home/easterse/public_html/wordpress/wp-content/themes/The Gazette Edition/home.php on line 16

    Warning: main(layouts/) [function.main]: failed to open stream: No such file or directory in /home/easterse/public_html/wordpress/wp-content/themes/The Gazette Edition/home.php on line 16

    Warning: main() [function.include]: Failed opening 'layouts/' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/easterse/public_html/wordpress/wp-content/themes/The Gazette Edition/home.php on line 16

  2. jasoneano
    Member
    Posted 6 years ago #

    nevermind all good.

  3. leichte
    Member
    Posted 6 years ago #

    i'm having the same problem. how did you fix it? thanks!

  4. FreedomOverdose
    Member
    Posted 5 years ago #

    yeah, how did you solve it?!

  5. FreedomOverdose
    Member
    Posted 5 years ago #

    I just solve it:
    removed line 16 of home.php with:

    include('layouts/blog.php'.$layout);
    include('layouts/default.php'.$layout);

Topic Closed

This topic has been closed to new replies.

About this Topic