Problem with javascript?

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Problem with javascript?

Post 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)
You do not have the required permissions to view the files attached to this post.

Problem with javascript?

Post 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
You do not have the required permissions to view the files attached to this post.

Problem with javascript?

Post 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?

Post 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?

Post 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?

Post 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?

Post by Pilxy »

Did it and nothing is different... (I did refresh, clear the cache and all that)

Problem with javascript?

Post by Stoker »

Just to make sure, try undo the edits in overall_header.html
Then lets see what happens.

Problem with javascript?

Post 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?

Post by Stoker »

I mean uninstall the prettyphoto mod.
Then we can test if the mod is the problem.