All pastes #557667 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-11 01:55 UTC
rendered paste body
THIS IS INDEX.PHP

<?php get_header(); ?>

		
	<?php include(TEMPLATEPATH."/leftsidebar.php"); ?>	
	
	<div id="content">

	<?php include(TEMPLATEPATH."/welcome.php"); ?>



			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<div class="contentblock">
			<p class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></p>
			<p class="artist">By<?php the_category(', ') ?></p>
			<span class="watch"><?php the_content(__('Read more'));?></span>
			          <span class="commentimg"><?php comments_popup_link('Click to Comment', '1 Comment', '% Comments'); ?></span>
					  
					  </div>
					  
			<?php endwhile; else: ?>
			<?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
			<?php posts_nav_link(' &#8212; ', __('&laquo; go back'), __('keep trying &raquo;')); ?>
			
			
		</div>
	



<?php get_footer(); ?>








AND THIS IS WELCOME.PHP

<div id="welcomemessage">

	<p class="welcome">Welcome</p>

	<p>Welcome to yourtopforty.com where you, the  user can personally vote for you favourate music tracks. Come to
	place your vote, stay to watch the videos. Every friday night at 6pm we will display the results for the previous
	weeks votes and you will be able to to watch the videos to the top music releases at the moment. Place your 
	vote and most importantly, have fun.</p>

	<p class="votelink">To view this weeks nominations and to place your vote <a href="www.test.com">click here!</a></p>

</div>


AND THIS IS THE ERROR I GET ON MY PAGE


Warning: include(/home/fraz0r/public_html/wp-content/themes/yourtopforty2/welcome.php) [function.include]: failed to open stream: No such file or directory in /home/fraz0r/public_html/wp-content/themes/yourtopforty2/index.php on line 8

Warning: include() [function.include]: Failed opening '/home/fraz0r/public_html/wp-content/themes/yourtopforty2/welcome.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/fraz0r/public_html/wp-content/themes/yourtopforty2/index.php on line 8


HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLPPPPPPPPPPP!!!!!!!!!!!!!!!!