I can't upload a file at all. However I'm running firebug in Firefox and this is the error and information I get right after clicking the "upload new" button:

GB_show is not defined
http:///home/modules/dbfm/js/dbfm.js
Line 591

Comments

rooey’s picture

Install DBFMgreybox - and the other required modules.

rooey’s picture

Status: Active » Closed (fixed)
br4k3r’s picture

Status: Closed (fixed) » Active

Still having this problem with ALL required modules installed at the versions listed in the module page. Not working on Firefox or IE

rooey’s picture

GB_show is a function of DBFMGreybox. You must install the module - please double check the correct version of the module is installed (as described on the DBFM project homepage).

M.

bryanjhickey’s picture

Hi
I'm new to this so I hope I'm posting in the right space.

I am having a similar problem. I am using Drupal 5.7 | PHP5 on siteground's server. I have checked that all the module versions are correct:

dapi-5.x-1.0.tar.gz
dbfm-5.x-3.3.tar.gz
dbfmgreybox-5.x-3.0.tar.gz
jstools-5.x-0.6.tar.gz

The firebug error (I'm using firefox 3.0) is:

GB_show is not defined
[Break on this error] var listener = dbFM.addE9.5ventListener(e...eUrl() + '/dbfm_searchit',300,500,0);});

Also Opera 9.5 has some error information (though slightly different to firebug's output):

Error:
name: ReferenceError
message: Statement on line 632: Undefined variable: GB_show
Backtrace:
Line 632 of linked script http://www.taccs.org.au/sites/all/modules/dbfm/js/dbfm.js
function() { if (!dbFM.verdir) GB_show('File Manager: Upload File',getBaseUrl() + '/dbfm_uploadit',448,640,1); }
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'

I also have TinyMCE installed. The plugin does not appear on the TinyMCE toolbar, though the DBFM 'filing cabinet' icon appears under the text area. Clicking on it results in another error:

GB_show is not defined
popit("http://www.taccs.org.au/dbfm_attachit", 516, 680)dbfm.js (line 3092)
onclick()story (line 1)
[Break on this error] GB_show('dB File Manager', url, gwidth, gheight,0);

This may be a separate issue, and so, needs to be posted elsewhere? Is that right?

geoff_eagles’s picture

Thanks for sending the error reports - makes life easier!

It tells me dbFM just can't see the greybox javascript (if you look at the headers on your page the greybox js code won't be present.
Now I know you've loaded the greybox module BUT it won't do a thing until you go into the site configuration option for dbfmgreybox and do a Save. Until that point the variables won't have been created.
Try that and tell me whether it works

geoff_eagles’s picture

Priority: Critical » Normal

"This may be a separate issue, and so, needs to be posted elsewhere? Is that right?"

I'm fairly sure most people are having variations on the same problem

bryanjhickey’s picture

Thanks Geoff,

Yes, saving the greybox module worked and I can now upload files (Administer >> Site configuration >> dbfmgreybox then Save Configuration) and I'm pretty sure this was in the set-up instructions ;).

Really should pay closer attention to those in the future.

geoff_eagles’s picture

Status: Active » Closed (fixed)

another issue bites the dust

lias’s picture

Version: 5.x-3.1 » 5.x-6.0

Just a quick note that I had this same problem and when I saved the greybox options the uploads worked. This might be helpful as a note in the Readme text.
Thanks!