Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Head's tags goes into body tag.

Head's tags goes into body tag.

Started by zadok_daniel on 6 Jan 2013, 4:30 AM · Views: 910

Results 1 to 4 of 4
6 Jan 2013, 4:30 AM
#1
zadok_daniel avatar

zadok_daniel

New Zenner

Join Date:
Dec 2012
Posts:
3
Plugin Contributions:
0

Post #1 by zadok_daniel

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 :)

6 Jan 2013, 4:45 AM
#2
zadok_daniel avatar

zadok_daniel

New Zenner

Join Date:
Dec 2012
Posts:
3
Plugin Contributions:
0

Post #2 by zadok_daniel

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.

7 Jan 2014, 12:34 AM
#3
compbrat75 avatar

compbrat75

New Zenner

Join Date:
Jan 2014
Posts:
2
Plugin Contributions:
0

Post #3 by compbrat75

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

7 Jan 2014, 1:42 AM
#4
compbrat75 avatar

compbrat75

New Zenner

Join Date:
Jan 2014
Posts:
2
Plugin Contributions:
0

Post #4 by compbrat75

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 ```
echo ('<!--yadda-->');


You might also try echoing out your session language just to verify that it is what you think that it is supposed to be.

echo ('<!--'. $_SESSION['language'] .'-->');


Good luck!