Project:DataBase File Manager
Version:5.x-5.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,
I have stumbled up on even few errors:
1. In file dbfm.install 32nd line you have opened quote before coma:
`fmime` varchar(255) ',
That is an easy one ;)
2. I press an upload button and nothing happens... my pc "thinks" for about a sec and that is it :( I do not even know where to start...
So one solved one to go :)

P.S. You need to add a link to this issue queue in the module page.

Comments

#1

Thanks for pointing out the error in the install. There turned out to be a fair few errors there - look for any line with drupal_set_message and you'll see I forgot to enclose the word error in quotes. Tut Tut!

As regards the missing upload form, this is usually caused by dbfm_greybox either not being installed or not working. Does the properties screen work? Create a directory right click on it, select Directory Properties. If the properties screen does not pop up then dbfm_greybox isn't functioning properly... although another possibility is that your browser is blocking the popup window. Check whether you have a message about blocked popups. Let me know how you get on.
Should be another release in a couple of weeks (with email subscriptions / notifications) which will have all the errors corrected in the install file.

#2

Thanks for quick reply. I checked the way you suggested and (right click and dir properties) and nothing happened. To make sure that the error is due to dbfm_greybox I opened the modules directory and test file in it the links should open in nice grey boxes but instead the links just opened the site by reloading the page... I wrote about this in dbfm_greybox modules issue queue but I am not expecting to get any answer because the last issue was created a year ago... There was one more possibility, that my browser was playing tricks on my so I launched the opera but I got the same result actually it was even worse. You suggested checking if dbfm_greybox is working by right clicking on folder and... in opera the right click function was not working completely! The upload button in opera also have not worked.
I think that it would be best if this module would work with active well maintained module like lightbox 2 or thickbox instead of having to rely on poorly known and maintained one. If dbfm_greybox would be replaced by light box 2 most people just woul not need to install one more module. Since I am using more than 100 it would make a difference in module developers would think in this kind of faction.
One more problem in sql syntax. When I try to uninstall the module I get the error that dbfm_attachment table is not deleted. So if try to install module again I have to drop it manually. That is just minor problem but sometimes that is what makes the difference.

#3

In reply to your suggestion about adding lightbox, as opposed to dbfm_greybox.
dbfm_greybox is a wrapper for a very slightly modified copy of greybox by Fredrik Jonsson (which is very well known). I just made some small changes so that it did exactly what I needed to work with dbFM. greybox is very lightweight. Lightbox has SO many more features (that I didn't need) and accordingly chews up more memory.
The reason that there have been no issues for the last year is that nothing has gone wrong. It's still fully maintained. If I had some spare time to play I'd rewrite it and incorporate the code into dbfm.js so that there was no need for a separate module.

I must apologise for the uninstall option not removing the attach table. Slip of the finger on my part - I had {dbfm_attach) instead of {dbfm_attach}. It will be corrected for the next release.

#4

Now it is all clear why you chose dbfm_greybox. Made wrong first impression about that module. I really like that you saved some memory by using it.
About the attach table... never mind things like this happens all the time :D
Do not think that I will get of your back that easily xD
Now I started uploading files and noticed that there is 1MB limit I am getting error like this:
File.whatever cannot be uploaded, because it exceeded the maximum filesize of 1 MB.
So how to increase this limit? I can configure servers options too so if it will require some changes in php.ini or something like it that will not be a problem.
One more glitch... Sometimes when I try to upload file it starts to load and loads and load and.... after some time it shows some different content in upload tab and show a new clean upload form. I can`t tell what it shows before opening a new upload form cuz it happens in like 0,1 sec it just blinks...

#5

As regards the 1M default file limit. In admin/settings/dbFM you get a chance to set the maximum file upload size. It used to be that you could set different size limits for different roles, but that facility seems to have rotted away - I'll see about putting it back for the next release!
As regards altering php.ini and all the other possible settings to deal with your upload problems you should find some information on that in a file called dbfm_FAQ.txt. I think that getting these settings correct will cure the last problem you mentioned. You do need quite a bit of memory on your server. To upload a file you need roughly twice the size of the file PLUS all the memory that drupal itself uses. Allow for the fact that you have multiple users all potentially uploading at once before you decide on an upload limit.
I hope to start work on an improved upload within the next few weeks (using flash) which will allow multiple file uploads. Should be a big improvement.

#6

Sorry for not paying enough attention to support and I am anxious to see how will module look and feel.
For now I was just trying to achieve the same variety of file in database as it would be in FTP server... I would be just cool if this module could give some .asp output or dump file in temp url cuz it would be awesome to play media on-line from database but if this is out of your projects scope I will figure out some other way to achieve it ;)

#7

Yup - out of scope just now. You're on your own - though, if you come up with any neat improvements I'd be more than happy to include them in a future release!

#8

It mifgt happen but not soon plus I might modify player not the module.

#9

Status:active» closed (fixed)
nobody click here