Topic-icon Turning insane

Active Subscriptions:

None
13 years 10 months ago #24848 by johnnydement
Turning insane was created by johnnydement
Good evening,

I don't think this is jfbc siiue, but I'm already getting desperate :P

Yesterday night I was customizing modules, and then noticed a weird thing, the top navigation panel that was working 'till then, started to act anormally...

And more css issues popped (specially in chrome), some of them, are gone deleting an unrelated css in mycustom css file (although they are originally in the template one, I just modify width and height valors (O.o)

Anyway, I wa getting desperate, in rt forums, someone told me it was a jquery/mootools issue, although I can't find why, but today I checked the head of my site, to find this:
head
style type="text/css" /style script id="facebook-jssdk" async="" src="//connect.facebook.net/ca/all.js" /script
/head

Just that, nothing else... have some joomla sites to know it should be something at least alongside this:
head
    base href="http://lapuertaenemiga.com/"
  meta http-equiv="content-type" content="text/html; charset=utf-8"
  meta name="generator" content="Joomla! - Open Source Content Management"
  title Inici /title
/head

Right now, the only extensions I use that relates to facebook, is jfcb... so I would be really grateful if it's the one doing unexpected things, and with a possible solution ;)

P.D. Code bbcode doesn't ever seem to work with me, or at least don't let me write code X/
The topic has been locked.
Support Specialist
13 years 10 months ago #24857 by alzander
Replied by alzander on topic Turning insane
So there's definitely an issue with the Facebook Javascript inclusion. It looks like you've manually set the Facebook Locale Override to 'ca'. That's not a valid locale. We'd recommend removing that setting or using a proper one (usually of the form en_GB).

The inclusion you see in the head is put there by JFBConnect from our block of code that we insert directly after the body. That's normal and looks correct. If you look at the raw HTML, that will be missing.. it's only if you look through Firebug or Chrome Developer Tools that you'll see that dynamic addition.

Beyond that, I'm not actually seeing jQuery loaded on your site. Mootools is. Maybe jQuery is being loaded from another JS file, but it's not placed directly in the HTML.. so my guess is that that's not your issue.

Finally, I don't really see anything 'wrong' with your site other than the login popup. The input button there is massive in Chrome for some reason (honestly can't see why). If you add the following to your CSS, it should help in Chrome at least:
#rokbox-wrapper #login-form .button { height: 30px; }

Hope that helps explain and fix things! Let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24869 by johnnydement
Replied by johnnydement on topic Turning insane
you're right, the correct locale is ca_ES :P
Was just a desperate hope ;)
I know is not that bad, what bugs me is taht it camed from nowhere, and that is worse based on stupid causes...

I know it has to be related on why the rest of the head is loaded in body (is you see, after the fb script in head, the rest of head is loaded in body, taht would explain in my opinion the incorrections in css...
The topic has been locked.
Support Specialist
13 years 10 months ago #24879 by alzander
Replied by alzander on topic Turning insane
When I look at the HTML of your page, the html/head/body sections seem correctly structured to me. There's nothing in the head area that looks out of place. The head section normally contains a ton of stuff, in addition to the simple meta tags, like CSS and Javascript includes, inline Javascript, and plenty of other stuff.

Best of luck tracking things down. Things definitely look pretty good to me.. but I don't know your vision for the site :)

Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24880 by johnnydement
Replied by johnnydement on topic Turning insane
What you use to check it?

If I use firebug or chrome dev tools, after fixing the locale thing, head only has the fb script, and some styles, rest of scripts, styles, meta, generator tags, etc... appear in body O.o
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24907 by johnnydement
Replied by johnnydement on topic Turning insane
After completely wiping the site (did an akeeba backup to reuse what I want on localhost ;)) I found the issue...

As I'm building a catalan site, I changed the encoding of a template php file to UTF-8 because I used a à and è on a text there... with the file in utf-8, it kills the head, css, etc., being ansi, it works as intended O.o
The topic has been locked.
Support Specialist
13 years 10 months ago #24909 by alzander
Replied by alzander on topic Turning insane
Whew! That's rough. Glad to hear you found the issue. I was a bit clueless as well. Knew it wasn't JFBConnect, but we always try to help where we can..

Best of luck, and don't do that again! :D

Alex
The topic has been locked.