Please help me fix this Problem, in a Wordpress Blog.

Discussion in 'HTML & Website Design' started by ragul96, Jan 19, 2010.

  1. #1
    I Receving this error in the Wordpress blog, which is www.webmastersbb.com.

    the error is :
    
    Warning: include(layouts/) [function.include]: failed to open stream: No such file or directory in /home/webmaste/public_html/wp-content/themes/freshnews/home.php on line 13
    
    Warning: include(layouts/) [function.include]: failed to open stream: No such file or directory in /home/webmaste/public_html/wp-content/themes/freshnews/home.php on line 13
    
    Warning: include() [function.include]: Failed opening 'layouts/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webmaste/public_html/wp-content/themes/freshnews/home.php on line 13
    Code (markup):
    How can i fix it?

    The original Souce code for home.php :
    
    <?php get_header(); ?>
    
    		<div id="centercol" class="grid_10">
    		
    		<?php if (get_option('woo_show_blog') == false) { ?>
    
    		<?php include(TEMPLATEPATH . '/includes/featured.php'); ?>
    
    		<?php
                
                $layout = get_option('woo_layout');
    
                include('layouts/'.$layout);
                
            ?>
            
            <?php } else { include(TEMPLATEPATH . '/includes/stdblog.php'); } ?>
    
    		</div><!--/centercol-->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    Code (markup):
    What Might be the error? Please help me.

    Thanks,
    Ragul
     
    ragul96, Jan 19, 2010 IP
  2. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    #2
    You will find some layout option in options panel of your theme..What did you select for layout in that?
     
    kishore415, Jan 19, 2010 IP
  3. ragul96

    ragul96 Member

    Messages:
    136
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Thanks bro, It Helped now its okay..Please help me check www.webmastersbb.com

    Thank you once again.
     
    ragul96, Jan 19, 2010 IP
  4. johagulo

    johagulo Peon

    Messages:
    879
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That is a bit of a tough problem in wp
     
    johagulo, Jan 19, 2010 IP