Topic Title: Gallery2 Image Selector fails under Firefox

Forum Index » phpBB3 / Gallery 2 Integration » Gallery2 Image Selector fails under Firefox
Topic URL: http://www.nukedgallery.net/postt4218.html

AuthorMessage
Post Title: Gallery2 Image Selector fails under Firefox
WizardOfZo
Joined: Sep 24, 2008
Posts: 55

Posted: Tue Dec 16, 2008 4:48 am
I moved this to a new thread with new information:

Both of my sites don't allow me to insert an image with the Image Selector pop up.

After hitting [submit] nothing happens and the popup window is still there.

Using Firefox error console I get this error on both sites:

Quote: › Error: document.getElementById(item_id[i] + "_t") is null
Source File: http://our.site/styles/prosilver/template/g2is.js
Line: 93

Code: ›    for (var i = 0; i < loop; i++)
   {
      if ((loop == 1) || src_form.items[i].checked)
      {
Line 93 >>>>>         thumb = document.getElementById(item_id[i] + '_t').value;
         item = document.getElementById(item_id[i] + '_' + item_size[i]).value;
         itemp = document.getElementById(item_id[i] + '_t_p').value;



UPDATE:
I found that IE does not have the problem , it is only Firefox that this happens under. Since I have tried removing other edits to the integration code, the problem is still there, I assume that something in the 3.0.4 update is causing this problem with Firefox.
I tried it in Ubuntu and Firefox with the same error message.

Can anyone duplicate this?

AuthorMessage
Post Title: Re: Gallery2 Image Selector fails under Firefox
mhjr
Joined: Aug 13, 2008
Posts: 28

Posted: Tue Dec 16, 2008 5:39 am
Hi WizardOfZo

mine is working fine, but takes a long long time to open in a new window

installed 3.0.4 as well

AuthorMessage
Post Title: Re: Gallery2 Image Selector fails under Firefox
WizardOfZo
Joined: Sep 24, 2008
Posts: 55

Posted: Tue Dec 16, 2008 7:24 am
I found the problem (With one board anyway)
When updating to phpBB3 3.0.4 I overwrote some Integration edits in functions.php

AuthorMessage
Post Title: Re: Gallery2 Image Selector fails under Firefox
budinsky
Joined: Nov 08, 2008
Posts: 12

Posted: Sat Jan 30, 2010 12:40 pm
WizardOfZo wrote: › Both of my sites don't allow me to insert an image with the Image Selector pop up.

I just checked IE and your right, it works!
So strange that firefox wont work.
It's amazing how these issues come back time and time again

I updated to phpbb 3.0.6 and I checked the functions.php file and like you siad, the file edits had been overwritten. Now it works I can't thank you enough.

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group