Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2012
    Posts
    3
    Plugin Contributions
    0

    xhtml problem Head's tags goes into body tag.

    Hello guys,
    I don't know what to do anymore I have been trying to fix it with no luck so far.
    I built this site zadoktrade.com/zadokids and installed BikiKini - Go Green template, and using Hebrew language file's along the English ones.
    Anyways as you can see on the site's source code, all the tags that suppose to be in the head tag are for some reason in the body.
    I haven't made any changes to the tpl_main_page.php and none to the html_header.php file.
    While trying to find the reason I have put some text right after the body tag. On the source code it showed it like it is right after where the starting body tag should have been. I have tried putting some text right after the ending head tag and than it showed it right after where the ending head tag should have been.
    The problem is only in the 'he' site. They are both enabled.
    Hebrew: zadoktrade.com/zadokids/?language=he (Problem exists only here.)
    English: zadoktrade.com/zadokids/?language=en (No such problem here.)
    Thanks ahead!
    Daniel :)
    Last edited by zadok.daniel; 6 Jan 2013 at 05:37 AM.

  2. #2
    Join Date
    Dec 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Head's tags goes into body tag.

    I could not edit the post anymore so here is an update:
    I put comments wrapping the head and body tags. In that format: <!-- ***** START/END OF HEAD/BODY ***** -->
    As you can see another thing is happening I put the END OF BODY after the ending body tag and although it's before it.
    Thanks again.

  3. #3
    Join Date
    Jan 2014
    Posts
    2
    Plugin Contributions
    0

    Default Re: Head's tags goes into body tag.

    I have the same problem and my site is only in english. Have you found a solution?

  4. #4
    Join Date
    Jan 2014
    Posts
    2
    Plugin Contributions
    0

    Default Re: Head's tags goes into body tag.

    Ok. I figured it out...
    It was a problem with my configure.php file.
    I wasn't paying attention and it was not uploading due to a permissions issue.
    I do not know what in the old configure.php file was the source of the problem.
    If you don't have a problem uploading your configure.php file, then I suggest using an echo statement to track down the issue.
    I inserted
    Code:
    echo ('<!--yadda-->');
    on various lines, uploaded the files, and checked to see where in the source code the echo showed up. I started on the index.php page and followed the flow of the code until my 'yadda' showed up in the body section above the head tags. Then, I looked at whatever piece of code lay just before my echo statement.

    You might also try echoing out your session language just to verify that it is what you think that it is supposed to be.
    Code:
    echo ('<!--'. $_SESSION['language'] .'-->');
    Good luck!

 

 

Similar Threads

  1. Adding Code to HEAD and BODY tags?
    By redpanda in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 3 Nov 2021, 12:02 PM
  2. non-english head tags goes out of <head></head>
    By Jerry5763837 in forum General Questions
    Replies: 5
    Last Post: 5 Jun 2012, 02:21 PM
  3. Replies: 8
    Last Post: 28 Feb 2012, 03:05 PM
  4. Need to add code below </head> tag and above <body> tag in product page
    By Danielle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Apr 2010, 07:53 PM
  5. I need to put something in the <head> and <body> tag
    By milobloom in forum General Questions
    Replies: 10
    Last Post: 18 Jan 2009, 01:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR