Hello - I've run into a problem where, after I've installed everything (jstools, dapi, dbfmgreybox), and saved the configuration screens in dbfmgreybox, dbfm, the program seems to work ok. I can navigate around, right click on things, etc. I can't upload a file, though. When I hover over the upload icon, it shows a "upload file to file system" pop up box, but clicking on it gets no response. Any ideas of something else I can look at to get this to work?
Comments
Comment #1
geoff_eagles commentedCan you try pressing the search icon (to the left of the upload icon)? If that doesn't work either I'd suggest going back to Site Configuration / dbfmgreybox and make sure that "dbfm," is the first entry on the specific page types before Saving (even if you haven't changed anything) the settings.
Geoff
Comment #2
zephyr325 commentedYes, the search icon is also disabled. I've checked in the dbfmgreybox area, and dbfm is the first entry listed there (it shows "dbfm, node edit, node add"). I also just went through and completely uninstalled / re-installed all the required modules and dbfm, and that didn't change the behavior either. I can still create directories and subdirectories, as well as delete them. The help function also works.
In looking through the help files, it talks about setting up groups so that people can access files. Is there something on that front i need to setup first? I'm using the initial user I used to setup Drupal as my testing account, so that usually gets around that problem...not sure on this one.
Modules I'm using are:
- jstools-5.x-0.6
- dapi-5.x-1.0
- dbfmgreybox-5.x-3.0
- dbfm-5.x-3.4
I'm running Drupal 5.x.
Comment #3
geoff_eagles commentedYou shouldn't need to set up groups or extra roles unless you're putting access controls on files.
Can you look in your database in the variable table - run a
SELECT *
FROM `variable`
WHERE `name` LIKE "dbfmgreybox_pages"
and check that you find an entry.
I look forward to hearing from you
Comment #4
geoff_eagles commentedPS The fact that the search icon didn't work proved that it was nothing to do with access control and everything to do with dbfmgreybox
Comment #5
zephyr325 commentedThanks for the quick reply! Here's the result:
name || value
dbfmgreybox_pages || s:32:"dbfm, node edit, node add";
(the || is the column separator)
Also, I'm not sure if it makes a difference or not, but I'm running Drupal in multi-site mode. This is the result from that site's database.
Comment #6
geoff_eagles commentedNot entirely sure what you mean by multi-site mode? Please explain - the database is replicated? Is your client connected to the same server you took the variable data from?
Comment #7
zephyr325 commentedSorry - that confused things a little. I'm running multiple drupal sites off of this code base - that's part of the core Drupal functionality. That probably doesn't make a difference as the database I queried above is the one responsible for this particular site I'm trying to run DBFM on.
Comment #8
geoff_eagles commentedDo you think you could run firebug or something similar on your browser.
When you're sitting on the initial dbfm page I need to know what's in the header.
Have you got a header entry looking something like this:
does the path look reasonable? Can you actually view the file through firebug??
Comment #9
geoff_eagles commentedAssuming you can see the dbfmgreybox.js file alright, can you modify the url so that it reads dbfm_uploadit instead of dbfm and see whether the upload screen is displayed? You might try uploading a file.
Thanks
Comment #10
zephyr325 commentedI didn't see anything in your note above when you're asking about did it look like this...
Here's the headers from Firebug:
The path to the dbfm module looks good; I can see code inside the dbfm.js line when I expand it in Firebug. Should I see an entry for dbfmgreybox in there?
Comment #11
geoff_eagles commentedYes, you need to see the dbfmgreybox.js entry in there. Now normally it would be missing because there was no entry in the variables table saying it should be loaded. However, in your case the entry does exist.... hmnnn
Can you go to Create Content and try to bring up the dbfm file manager when you're creating a node of some sort?
Your variables table says the js should be loaded on node add so the dbfmgreybox.js code should be present on the page and should allow dbfm to be launched.
The other thing to check for - does firebug bring up any errors on page load?
I'm going home now (another long day at the office). Unless you're back within the next few mins I'll be reading your response first thing tomorrow
Geoff
Comment #12
zephyr325 commentedHere's a silly question...I'm also running WebFM on here (I'm trying to DBFM to see if that's a better solution for me). Do I have to have WebFM disabled in order to run DBFM?
Comment #13
zephyr325 commentedAh HA! Found it!
It was in the Greybox settings. I am running fckeditor as my default entry style, and it was inserting a
<p> and </p>in the settings when I saved them. I saved those options under "normal" text mode, and now I'm able to upload files. It was your tip that dbfmgreybox should be loading that started me checking into that area.Thanks for all your help.