Problem with javascript?

Download and support for PhpBB3 Prettyphoto Attachment Mod
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Problem with javascript?

Post by Stoker »

Only uninstall the prettyphoto mod.
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 17:22
BBCodes: 3
Location: Slovenia
Contact:

Problem with javascript?

Post by Pilxy »

Looks like I have managed to pinpoint the problem file:

Code: Select all

<script src="{ROOT_PATH}prettyphoto/jquery-1.4.4.min.js" type="text/javascript"></script>
If I remove this line only from overall_header, the white page dissapears and the board starts working normal. Without the prettyphoto mod of course...
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Problem with javascript?

Post by Stoker »

Then go here to get the latest jquery version and use that instead: http://docs.jquery.com/Downloading_jQuery
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 17:22
BBCodes: 3
Location: Slovenia
Contact:

Problem with javascript?

Post by Pilxy »

I have saved the latest version of jquery on the server and changed that overall_header line to:

Code: Select all

<script src="{ROOT_PATH}prettyphoto/jquery-1.7.2.min.js" type="text/javascript"></script>
Is that all I need to do?

If it is, I have tested it and it doesn't work. The problem is still there... :(
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Problem with javascript?

Post by Stoker »

You havent changed the line in overall_header.html

But this doesnt explain why it works on your testboard and not on your live board.
Also you tell me that it works fine on prosilver which leads to some kind of problem with the style, but only on your live board.
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 17:22
BBCodes: 3
Location: Slovenia
Contact:

Problem with javascript?

Post by Pilxy »

I have done the changes, but I reverted back as the problem still existed...

Do you think it would be a better idea to uninstall the prettyphoto and use higslide mod instead?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Problem with javascript?

Post by Stoker »

Thats worth a try.
Board rules! No PM support
Pilxy
BBCoder II
BBCoder II
Posts: 15
Joined: 25 Jun 2012, 17:22
BBCodes: 3
Location: Slovenia
Contact:

Problem with javascript?

Post by Pilxy »

Well, I have replaced prettyphoto mod with the higslide one, and so far it looks like it's working fine. The white page has gone, so I'm happy now... :)

Thanks for all the support, I appreciate it!
Locked