So I was like 99.9% done with a WordPress Blog. All I had to do was link it to Feedburner. The theme I was using was a little out-dated and I believe linked to an old version of feedburner because the format of the link was wrong and had this extra code in the URL like "effid?=". So I went into sidebar.php to delete that little tiny bit of text, and then this happened... toothsurgery.info Code (markup): So I figured OK, I'll just restore the old sidebar.php and deal with it later. Well, that didn't have any effect what-so-ever. It's like, stuck like that. Any Ideas? The error refers to a missing "line 16" of the sidebar.php. I'm not sure exactly what is considered line 16. In my eyes it's just a line that declares a new php script. So I figured I'd post the whole thing... <div id="sidebar"> <?php $feedburner_id = get_option('padd_feedburner_id'); if (!empty($feedburner_id)) { ?> <div class="box box-feedburner"> <h2><a href="http://feeds.feedburner.com/~e?ffid=<?php echo $feedburner_id; ?>">Subscribe to the latest news</a></h2> <div class="interior"></div> </div> <?php } ?> <?php $twitter_username = get_option('padd_twitter_username'); if (!empty($twitter_username)) { ?> <div class="box box-twitter"> <h2>Follow me at <a href="http://twitter.com/<?php echo $twitter_username; ?>" title="Twitter">Twitter</a></h2> <div class="interior"> <?php twitter_messages($twitter_username, 3, true, true, ' ', true, true, false); ?> </div> </div> <?php } ?> <div class="box box-adverts"> <h2>Sponsors</h2> <div class="interior"> <div class="row row-1"> <?php $default = get_bloginfo('template_url') . '/images/your-ads-125x125.jpg'; $sqbtn_1_img = get_option('padd_sqbtn_1_img_url'); $sqbtn_1_url = get_option('padd_sqbtn_1_web_url'); $sqbtn_2_img = get_option('padd_sqbtn_2_img_url'); $sqbtn_2_url = get_option('padd_sqbtn_2_web_url'); ?> <a class="ads-1 ads-l" href="<?php echo (!empty($sqbtn_1_url)) ? $sqbtn_1_url : '#'; ?>"><img alt="Advertisement" src="<?php echo (!empty($sqbtn_1_img)) ? $sqbtn_1_img : $default; ?>" /></a> <a class="ads-2 ads-r" href="<?php echo (!empty($sqbtn_2_url)) ? $sqbtn_2_url : '#'; ?>"><img alt="Advertisement" src="<?php echo (!empty($sqbtn_2_img)) ? $sqbtn_2_img : $default; ?>" /></a> </div> <div class="row row-2"> <?php $sqbtn_3_img = get_option('padd_sqbtn_3_img_url'); $sqbtn_3_url = get_option('padd_sqbtn_3_web_url'); $sqbtn_4_img = get_option('padd_sqbtn_4_img_url'); $sqbtn_4_url = get_option('padd_sqbtn_4_web_url'); ?> <a class="ads-3 ads-l" href="<?php echo (!empty($sqbtn_3_url)) ? $sqbtn_3_url : '#'; ?>"><img alt="Advertisement" src="<?php echo (!empty($sqbtn_3_img)) ? $sqbtn_3_img : $default; ?>" /></a> <a class="ads-4 ads-r" href="<?php echo (!empty($sqbtn_4_url)) ? $sqbtn_4_url : '#'; ?>"><img alt="Advertisement" src="<?php echo (!empty($sqbtn_4_img)) ? $sqbtn_4_img : $default; ?>" /></a> </div> </div> </div> <div id="box-tabs"> <ul class="mootabs-title"> <li><a href="#box-tab1" class="active">Popular Posts</a></li> <li><a href="#box-tab2">Recent Posts</a></li> <li><a href="#box-tab3">Recent Comments</a></li> </ul> <div id="box-tab1" class="mootabs-panel active"> <div class="interior"> <ul> <?php akpc_most_popular(5,'<li><span><span>','</span></span></li>'); ?> </ul> </div> </div> <div id="box-tab2" class="mootabs-panel"> <div class="interior"> <?php themefunction_recent_post(); ?> </div> </div> <div id="box-tab3" class="mootabs-panel"> <div class="interior"> <?php themefunction_recent_comments(); ?> </div> </div> </div> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Side Bar') ) { } ?> <?php $ad_250 = get_option('padd_ad_250'); if (!empty($ad_250)) { ?> <div class="box box-googleads"> <h2>Advertisement</h2> <div class="interior"> <?php echo stripslashes($ad_250); ?> </div> </div> <?php } ?> </div> Code (markup):
Are you sure you've uploaded the old version of sidebar.php to the server? The error message points to a missing admin.php file that is required at line 16 of sidebar.php, however the code you posted does not have any reference to that file. Make sure you've uploaded sidebar.php to the right location on the server.
Ah! I just recently switched FTP clients and the new one I'm using (FireFTP) doesn't remember last directory when you login again. So that's a big DUH on my part.... lol thanks, hopefully this will be my last post today. Its been a long day..