Page 1 of 3

Problem with javascript?

Posted: 25 Jun 2012, 17:49
by Pilxy
Hi there,

I would like to ask here if someone would be so kind to give me a little help...

Everything on my board seems to be working fine, but after login /logout or if you hit a refresh button, the white page with the list of forums appears for a moment before the style loads. It's not doing it in IE, only in FF and I havent tested other browsers. Example of the white page is shown in the attachment below.
Clipboard01.jpg
I have already started a discussion for this matter on phpbb support forum and someone pointed out that javascript is causing an issue... I believe the only javascript I have installed on my board is the one of the prettyphoto mod.

Maybe any other clues?

Thank you!

p.s.: (I'm unable to post url links, so the link to the board is in my profile)

Problem with javascript?

Posted: 25 Jun 2012, 18:03
by martin123456
url >> http://www.subaru-slo.net/forum/ also in the users profile or website button ;)

loads ok for me on all browsers even after hitting F5 lots of times as a guest
2012-06-25_170201.gif

Problem with javascript?

Posted: 25 Jun 2012, 18:08
by Pilxy
It only appears for a moment. Besides when refreshing it also does it when logging in / out.

Open in FF and try hitting refresh. I'm sure it will happen...

Problem with javascript?

Posted: 25 Jun 2012, 18:50
by Stoker
In ACP, under load settings. What do you have in this setting:
Recompile stale style components:
Check for updated style components on filesystem and recompile.

Problem with javascript?

Posted: 25 Jun 2012, 19:04
by Pilxy
It is set to "NO".

Right now I tryed with yes, but it got much worse, the white page appeared on every single click anywhere on board...

Problem with javascript?

Posted: 25 Jun 2012, 19:14
by Stoker
Move this piece of code from your overall_header.html: <link href="{ROOT_PATH}prettyphoto/css/prettyPhoto.css" rel="stylesheet" type="text/css" />
Down below: <link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

Problem with javascript?

Posted: 25 Jun 2012, 19:51
by Pilxy
Did it and nothing is different... (I did refresh, clear the cache and all that)

Problem with javascript?

Posted: 25 Jun 2012, 23:19
by Stoker
Just to make sure, try undo the edits in overall_header.html
Then lets see what happens.

Problem with javascript?

Posted: 26 Jun 2012, 00:26
by Pilxy
Do you mean thos changes I just did?

Nothing changes, they seem to have no effect at all...

Just guessing: Can this be related to anything else, but javascript?

Problem with javascript?

Posted: 26 Jun 2012, 00:37
by Stoker
I mean uninstall the prettyphoto mod.
Then we can test if the mod is the problem.