zenfire Posted April 9, 2009 Posted April 9, 2009 I cant figure out were this text () that is on my home page right above welcome to our site is coming from. I highlighted the text and circled it. Here is a link to an example http://www.zenfirecelticshoppe.com/images/MysteryText.jpg
♥geoffreywalton Posted April 9, 2009 Posted April 9, 2009 I'ld start looking in index.php arounf line 60. Page source shows this <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td>  <table cellspacing=0 cellpadding=0> <tr><td height=13></td></tr> Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
zenfire Posted April 9, 2009 Author Posted April 9, 2009 I'ld start looking in index.php arounf line 60. Page source shows this <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td>  <table cellspacing=0 cellpadding=0> <tr><td height=13></td></tr> I looked in index.php in the root directory and couldnt find that code anywere... If i view the source of my home page through IE I dont see that part of the source code. Thanks, Mike
Guest Posted April 9, 2009 Posted April 9, 2009 I looked in index.php in the root directory and couldnt find that code anywere... If i view the source of my home page through IE I dont see that part of the source code.Thanks, Mike If you have something like Dreamweaver, you can have it search the code in all of your files for those characters.
zenfire Posted April 9, 2009 Author Posted April 9, 2009 If you have something like Dreamweaver, you can have it search the code in all of your files for those characters. I allready searched using Front Page for those characters and came up with nothing. That is why I am stumped...
Guest Posted April 9, 2009 Posted April 9, 2009 Have you tried Examin text search? http://www.examine32.com/
shit4brains Posted April 9, 2009 Posted April 9, 2009 I allready searched using Front Page for those characters and came up with nothing. That is why I am stumped... It's because you are saving the file as a coding other than UTF8. Those odd characters are a UTF8 header signature so displaying it from a webserver that doesn't use UTF8 will show them up. Use something like Notepad++ to edit the file with and save it as the same code page as your webserver uses.
zenfire Posted April 9, 2009 Author Posted April 9, 2009 It's because you are saving the file as a coding other than UTF8. Those odd characters are a UTF8 header signature so displaying it from a webserver that doesn't use UTF8 will show them up. Use something like Notepad++ to edit the file with and save it as the same code page as your webserver uses. Do you know how I can find out what my web server uses for the code page? And when I save it as a UTF-8 file the mystrery text goes away but I get these errors at the top of the page. Warning: Cannot modify header information - headers already sent by (output started at /home/content/z/e/n/zenfire2/html/index.php:1) in /home/content/z/e/n/zenfire2/html/includes/functions/general.php on line 1174 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/z/e/n/zenfire2/html/index.php:1) in /home/content/z/e/n/zenfire2/html/includes/functions/sessions.php on line 67
zenfire Posted April 9, 2009 Author Posted April 9, 2009 Do you know how I can find out what my web server uses for the code page?And when I save it as a UTF-8 file the mystrery text goes away but I get these errors at the top of the page. Warning: Cannot modify header information - headers already sent by (output started at /home/content/z/e/n/zenfire2/html/index.php:1) in /home/content/z/e/n/zenfire2/html/includes/functions/general.php on line 1174 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/z/e/n/zenfire2/html/index.php:1) in /home/content/z/e/n/zenfire2/html/includes/functions/sessions.php on line 67 I got it... I had to save the file /includes/text_blocks/welcome.htm as ANSI Encoding instead of UTF-8. Thank You for everyone's quick replies and help!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.