By CharlieHipHop on
I upgraded my multisite from 5.x to 6.6 the other day. Everything went pretty well, but now every page on every site in every theme has a "O" on top. In the page source, it shows it rendering in the head of the html.
It must be in the "$head," "$styles" or "$scripts" variable called on by page.tpl.php -- where are these variables defined? I'm stumped.
Thanks in advance.
Comments
Post the code
Can you post an example of the resulting HTML?
HTML
See the random "0" in the head? It must come from the $head variable in page.tpl.php, the relevant part of which looks like this:
It has to be the $head variable because the "0" shows up before the styles or scripts, but where do you control the $head variable, from where is it called?
$head
The $head variable is produced by http://api.drupal.org/api/function/drupal_get_html_head ... which takes no args and should have no interactions, so that's not the problem. Your 0 may be coming from some hidden junk in page.tpl.php. If possible, replace it with a fresh version.
Solution: ShareThis config
See http://drupal.org/node/333189 - the ShareThis module inserts a javascript ref in the head and must be enabled and set up to remove the zero. My earlier "fix" of commenting out the $head printing also disables ShareThis ;)