http://epicpaper.com/index.php This is where I get the error Here is the index.php <?php include("../NetworkBar/bar.html"); ?> <?php if (!file_exists("config.php")) header("Location: install"); if ($image_path == "") $image_path=str_replace('index.php',NULL,$_SERVER['REQUEST_URI']); include_once("config.php"); include('skin.php'); if (substr($image_path,strlen($image_path)-1,1) != "/") $image_path=$image_path."/"; echo $header; echo $Settings['Homepage_Description']; ?> <br /> <?php if ($Settings['Display_Adsense']=='1') { ?> <div style="text-align: center;"> <script type="text/javascript"><!-- google_ad_client = "<?php echo $Settings['Adsense_ID']; ?>"; google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_ad_type = "text"; google_ad_channel = "<?php echo $Settings['Adsense_Channel']; ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "cc0000"; google_color_text = "555555"; google_color_url = "555555"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> <script type="text/javascript"><!-- google_ad_client = "<?php echo $Settings['Adsense_ID']; ?>"; google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_ad_type = "text"; google_ad_channel = "<?php echo $Settings['Adsense_Channel']; ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "cc0000"; google_color_text = "555555"; google_color_url = "555555"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> <?php } ?> <br /> <h2>Most Recent Wallpapers</h2> <?php //Recent wallpapers. $result = mysql_query("SELECT * FROM `Wallpapers` WHERE `approved` = '0' ORDER BY `ID` DESC LIMIT 0,6"); $x = 0; while ($row = mysql_fetch_assoc($result)) { $x += 1; $Recent_Wallpapers .= "\n".'<div class="Box Left"'.$string.'>'."\n\t"; $Recent_Wallpapers .= '<div style="font-size: 1em; margin-bottom: 5px;"><a href="'.$image_path.'wallpaper/'.str_replace(" ", "-", $row['Title']).'/">'.$row['Title']."</a></div>"; $Recent_Wallpapers .= '<a href="'.$image_path.'wallpaper/'.str_replace(" ", "-", $row['Title']).'/"><img class="Thumbnail" src="'.$image_path.'images/wallpapers/'.$row['Thumbnail'].'" alt="'.$row['Title'].'" /></a>'; $Recent_Wallpapers .= '</div>'; if (!is_int($x/3)){ $Recent_Wallpapers .= '<div class="Spacer"> </div>'; } } $Recent_Wallpapers .= '<div class="Clear"></div>'; echo $Recent_Wallpapers; ?> <br /> <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=3360762; var sc_invisible=1; var sc_partition=37; var sc_security="fe272a9a"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c38.statcounter.com/3360762/0/fe272a9a/1/" alt="blog stats" /></a></div></noscript> <!-- End of StatCounter Code --> <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=3361002; var sc_invisible=1; var sc_partition=34; var sc_click_stat=1; var sc_security="357540f0"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c.statcounter.com/3361002/0/357540f0/1/" alt="web analytics" /></a></div></noscript> <!-- End of StatCounter Code --> <?php echo $footer; ?> PHP:
include("../NetworkBar/bar.html"); That is where you're getting the error. Make sure that location is correct. By putting two periods, you're going down to the sub-directory which is below that of the domain name's main directory, so it's probably not correct. If it is actually there, try putting the full location such as /home/xphiccom/public_html/NetworkBar/bar.html
Thank You Zerxer, I found the bar.html, but I tried it but it didnt work, I am contacting the guy I bought it from. So I can get the folder
You actually have it in /NetworkBar/bar.html so just removing the "." would do it: <?php include("./NetworkBar/bar.html"); ?> <?php if (!file_exists("config.php")) header("Location: install"); if ($image_path == "") $image_path=str_replace('index.php',NULL,$_SERVER['REQUEST_URI']); include_once("config.php"); include('skin.php'); if (substr($image_path,strlen($image_path)-1,1) != "/") $image_path=$image_path."/"; echo $header; echo $Settings['Homepage_Description']; ?> <br /> <?php if ($Settings['Display_Adsense']=='1') { ?> <div style="text-align: center;"> <script type="text/javascript"><!-- google_ad_client = "<?php echo $Settings['Adsense_ID']; ?>"; google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_ad_type = "text"; google_ad_channel = "<?php echo $Settings['Adsense_Channel']; ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "cc0000"; google_color_text = "555555"; google_color_url = "555555"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> <script type="text/javascript"><!-- google_ad_client = "<?php echo $Settings['Adsense_ID']; ?>"; google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_ad_type = "text"; google_ad_channel = "<?php echo $Settings['Adsense_Channel']; ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "cc0000"; google_color_text = "555555"; google_color_url = "555555"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> <?php } ?> <br /> <h2>Most Recent Wallpapers</h2> <?php //Recent wallpapers. $result = mysql_query("SELECT * FROM `Wallpapers` WHERE `approved` = '0' ORDER BY `ID` DESC LIMIT 0,6"); $x = 0; while ($row = mysql_fetch_assoc($result)) { $x += 1; $Recent_Wallpapers .= "\n".'<div class="Box Left"'.$string.'>'."\n\t"; $Recent_Wallpapers .= '<div style="font-size: 1em; margin-bottom: 5px;"><a href="'.$image_path.'wallpaper/'.str_replace(" ", "-", $row['Title']).'/">'.$row['Title']."</a></div>"; $Recent_Wallpapers .= '<a href="'.$image_path.'wallpaper/'.str_replace(" ", "-", $row['Title']).'/"><img class="Thumbnail" src="'.$image_path.'images/wallpapers/'.$row['Thumbnail'].'" alt="'.$row['Title'].'" /></a>'; $Recent_Wallpapers .= '</div>'; if (!is_int($x/3)){ $Recent_Wallpapers .= '<div class="Spacer"> </div>'; } } $Recent_Wallpapers .= '<div class="Clear"></div>'; echo $Recent_Wallpapers; ?> <br /> <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=3360762; var sc_invisible=1; var sc_partition=37; var sc_security="fe272a9a"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c38.statcounter.com/3360762/0/fe272a9a/1/" alt="blog stats" /></a></div></noscript> <!-- End of StatCounter Code --> <!-- Start of StatCounter Code --> <script type="text/javascript"> var sc_project=3361002; var sc_invisible=1; var sc_partition=34; var sc_click_stat=1; var sc_security="357540f0"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c.statcounter.com/3361002/0/357540f0/1/" alt="web analytics" /></a></div></noscript> <!-- End of StatCounter Code --> <?php echo $footer; ?> PHP:
Alright thanks for the help, now I gotta create a table for the settings, I should be able to do that