Page 1 of 1

GBFilePicker image window disappears with no warning!!

Posted: Fri Jun 26, 2015 5:23 am
by Simon66
I use GBFilePicker a lot in ListIt2 and CustomGS.
It works perfectly for ages then the image window disappears. The upload bit at the top works perfectly, but the image list below simply stops showing.

The calculated CSS shows the max-height as 0;
element.style {
max-height: 0;
opacity: 1;
}
Even if there are lots of images in there.

I believe something I've done has caused a conflict, but I've been unable to figure out what.

This has happened on multiple sites now and I'm completely stumped as to the cause of the problem.

I've attached an image of the problem with firebug showing the missing div with images in it.

Has anyone else had this problem and fixed it?

I'm using:
Cms Version: 1.11.11

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.7
ModuleManager: 1.5.8
ListIt2Vouchers: 1.4.1
Search: 1.7.11
ThemeManager: 1.1.8
AceEditor: 1.0
CGExtensions: 1.45
ListIt2TradingHours: 1.4.1
Captcha: 0.5.2
CustomGS: 2.1
GBFilePicker: 1.3.3
ListIt2: 1.4.1
ListIt2XDefs: 1.2
CGSimpleSmarty: 1.7.4
CGSmartImage: 1.17.1
Gallery: 2.0.1
AdvancedContent: 0.9.4.3
JQueryTools: 1.3.4
CGBlog: 1.12.9
ListIt2Directory: 1.4.1
FormBuilder: 0.8.1.1
FormBrowser: 0.4.2

Php Information:

phpversion: 5.4.30-pl0-gentoo
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 5M
session_save_path: No check because OS path
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

----------------------------------------------

Re: GBFilePicker image window disappears with no warning!!

Posted: Sun Jun 28, 2015 4:18 pm
by velden
Did you test in another browser?

And check if the firebug console tab shows some js errors.

Re: GBFilePicker image window disappears with no warning!!

Posted: Mon Jun 29, 2015 1:18 pm
by Simon66
Thanks Velden,
You were right. It worked fine on chrome.

Thanks for the suggestion.

Re: GBFilePicker image window disappears with no warning!!

Posted: Mon Jun 29, 2015 3:44 pm
by JohnnyB
removing the .htaccess file at /modules/GBFilePicker solved a lot of problems for me in general. Not sure if that would affect the Chrome vs FF bug but that .htaccess file was probably never intended to be part of the release.

Re: GBFilePicker image window disappears with no warning!!

Posted: Tue Jun 30, 2015 12:18 am
by Simon66
Thanks for that JohnnyB. I checked my install but there isn't an .htaccess there in my version.
It seems to be fixed though. And as Velden said I am now noticing other js errors across different sites. They all work OK in Chrome.

So I'm assuming it's a Firefox problem not a module problem.

Simon66

Re: GBFilePicker image window disappears with no warning!!

Posted: Tue Jun 30, 2015 2:15 pm
by JohnnyB
Ok, cool!
And as Velden said I am now noticing other js errors across different sites.
Yikes! -- different CMSMS sites? I have a few sites running GBFilePicker, other modules, and various CMSMS versions... I don't see any difference between FF and Chrome in regards to JS errors. I suppose there could be a FF extension that is causing a conflict, but if not, there may be another issue with the site, or possible javascript / jQuery conflict....

Re: GBFilePicker image window disappears with no warning!!

Posted: Tue Jun 30, 2015 11:45 pm
by Simon66
No not just CMSMS sites. If my computer has been on for a few days FF starts to act weird and js errors start to creep in.

A reboot fixes it but it is random and subtle so I can't find the cause.