Problem with javascript?

Download and support for PhpBB3 Prettyphoto Attachment Mod
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 15:22
BBCodes: 3
Location: Slovenia

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.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

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.
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 15:22
BBCodes: 3
Location: Slovenia

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...
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

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.
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 15:22
BBCodes: 3
Location: Slovenia

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...
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

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" />
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 15:22
BBCodes: 3
Location: Slovenia

Problem with javascript?

Post by Pilxy »

Did it and nothing is different... (I did refresh, clear the cache and all that)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Problem with javascript?

Post by Stoker »

Just to make sure, try undo the edits in overall_header.html
Then lets see what happens.
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 15:22
BBCodes: 3
Location: Slovenia

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?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Problem with javascript?

Post by Stoker »

I mean uninstall the prettyphoto mod.
Then we can test if the mod is the problem.
Board rules! No PM support