![]() |
Database error in vBulletin 3.8.2:
Invalid SQL: UPDATE usergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### `title` = 'Registered Users', `description` = '', `usertitle` = 'HtF ka Member', `opentag` = '', `closetag` = '', `passwordexpires` = '0', `passwordhistory` = '0', `bfc_download` = '59', `forumpermissions` = '12317183', `genericpermissions` = '1579685063', `attachlimit` = '0', `pmquota` = '100', `pmpermissions` = '7', `pmsendmax` = '5', `pmthrottlequantity` = '0', `calendarpermissions` = '63', `wolpermissions` = '1', `adminpermissions` = '0', `genericpermissions2` = '1', `genericoptions` = '62', `profilepicmaxwidth` = '100', `profilepicmaxheight` = '100', `profilepicmaxsize` = '65535', `avatarmaxwidth` = '150', `avatarmaxheight` = '150', `avatarmaxsize` = '900000', `signaturepermissions` = '137215', `sigpicmaxwidth` = '500', `sigpicmaxheight` = '100', `sigpicmaxsize` = '10000', `sigmaxrawchars` = '1000', `sigmaxchars` = '500', `sigmaxlines` = '0', `sigmaxsizebbcode` = '7', `sigmaximages` = '4', `albumpermissions` = '255', `albumpicmaxwidth` = '600', `albumpicmaxheight` = '600', `albumpicmaxsize` = '100000', `albummaxpics` = '100', `albummaxsize` = '0', `usercsspermissions` = '63', `visitormessagepermissions` = '63', `socialgrouppermissions` = '55159', `maximumsocialgroups` = '5', `groupiconmaxsize` = '65535' WHERE usergroupid=2; MySQL Error : Unknown column 'bfc_download' in 'field list' Error Number : 1054 Request Date : Monday, June 22nd 2009 @ 07:00:48 AM Error Date : Monday, June 22nd 2009 @ 07:00:49 AM Script : http://*********/admincp/usergroup.php?do=update Referrer : http://www.*********/admincp/usergro...&usergroupid=6 IP Address : ********** Username : ************ Classname : vB_Database MySQL Version : 5.0.77-community-log How can i fix this i have same error in all Usergroup Manager Please help me thanks aakhan |
can I add like this application/rar, application/zip, application/txt, application/mp3, application/mp4, application/avi, application/wmv, application/3gp, application/asf, or videos/mp4, videos/avi, videos/wmv, in File Types
please help thanks aakhan |
aakhan136: Actually, mp4 I believe is application/mp4 but I added mp4, zip and rar have been added as well. The rest need to be added and settings saved. Do not have spaces.
EDIT: Ok found the proper file type to set for mp4: Code:
video/mp4v-es Search for your extension such as .zip or .rar then scroll down till you see a box titled MIME Type. |
I've had to put everything on hold, the company I was hosting with got hacked and all my data was lost. I only did monthly backups so it wasn't time for a new one, so I am having to restore a backup from mid June and some info I worked on will be lost. So for a week or 2 I have placed all my addons and such on hold till I get things settled in regards to my site.
|
Just to let you know, i can't do anything with it. it's pretty ++++ed.
|
I have tagged this modification for now.
Are tar files allowed? If not, could you add them in the future? Thanks for your time. |
philkillz: That comment is unnecessary.
g0dfather1984: All file types are allowed, I don't add them, the admin does that through the options. |
Any help with the following error?
Warning: unlink(.icat/iCat_4469.jpg) [function.unlink]: No such file or directory in [path]/admincp/download.php on line 192 I'm trying to use file storage and created the required directories in the forum root and gave them 777. I went back and tried 0777 with the same results. |
Yeah that is an issue NTMID8, I ran into a few times, make sure the icat directory exists.
I will be getting an update to this mod as soon as I can. |
Quote:
It seems to work fine if I choose database storage, but I do not want to use dB storage with this mod. I've looked at a few download area mods and this is definately the one I would prefer to use so any help is appreciated. |
Quote:
|
What is the max file you can upload using this?
Also does the mod work on vBulletin® Version 3.8.2? |
Quote:
Yes it does, as for other versions I am unsure about. |
I'll give it try and get back to you.
|
Great
I got this error Code:
Warning: require_once(global.php) [function.require-once]: failed to open stream: No such file or directory in /home/basaou/public_html/vb/upload/download.php on line 34 https://vborg.vbsupport.ru/attachmen...9&d=1240949724 |
When I try to add a Screenshot to a file it doesn't upload one, I Browse then put the screenshot I want and hit the Upload and it then continues to a page with nothing so when I go back and check still no Screenshot.
Any ideas why? |
Also is there anyway to stop files going into >Files Awaiting Approval?
So don't have to be Approved? |
After trying to upload a file I got
Quote:
|
I would like to have this available for my users but I before I do I would like it running perfect, could do with some support on the few above things.
|
Another question, if you want to store the files not in the data base what do you actually put into these folders?
Quote:
|
Quote:
|
Quote:
|
We are currently performing maintenance of BFC-Download Area.
??? |
Installing this now... I can see many uses for this, thank you for writing it!
|
Ok, installed, but have a couple of issues/questions. =)
First, I'm getting this error: Quote:
Second, the questions. Can I set specific categories so that only specified usergroups can access them? I see you have usergroups setup on the files themselves, but it'd be nice to limit by category as well. Having members enter usergroups can get confusing (especially when you use a lot of secondary usergroups like I do). First suggestion would be a multi-select box of usergroups (defined in the admin for this mod, which appear). If that is too much work, then I'd suggest... usergroup groups. Basically where I as an admin would define a group by name, say "Mods and Admins", then I'd assign a value to this name of the usergroups I want it to contain like "6,7". this will allow me to add in whatever I wanted and eliminate the members from having to remember usergroup values. Then a dropdown would list all of these by description or better, a list of checkboxes and select which groups that way. I'm not sure of the best way to go about that, but... I hope you get the idea. =) Anyway, good stuff and can't wait to have it available to my members! |
Ok, sorry for the multiple posts, but I'm digging at this trying to figure out the problem.
The tables were in fact created correctly, using my prefix as defined: $config['Database']['tableprefix'] = 'dhv_'; However, as you can see by the error in the above post, this prefix is not being used in select statement. I took a look at download.php and found some queries that were missing the prefix. Lines 343 and 344 are missing it, I fixed those in my version of download.php and took a look at all of the other DB calls in that file and couldn't find any more that were missing. Another question is, I have it set to use the file system and not the database, but that doesn't appear to be working. I checked the file folders and there's nothing in ifiles for example (I assume this is where the files should be dumped?). However, the downloads do work, so the files are somewhere (another assumption is the database?). |
When editing categories, after clicking save, this error appears during the save.
Warning: unlink(./icat/) [function.unlink]: Is a directory in [path]/admincp/download.php on line 192 But the changes I made to the category description appear to save, so that part works. |
I took a look to see if I could figure out why saving into the file system wasn't working and it appears... there's no code to do it.
The setting is: bfc_download_storage But that's not used in the \download.php file or templates, etc. When looking at the \download.php file, the only code there is for saving to the database, no checks at all if it should save into the file system and nothing that would do it if there were (that I can find). However, the \admincp\download.php does appear to have code for the file system and this option. This would explain why myself and others who have gotten the unlink error get that error. We're set to file system, but there's nothing in the file system to remove, because all uploads are going into the database instead. Since the download record is being deleted, the database record is actually being deleted anyway, so the good news is this isn't leaving unused data in the database. There's a lot of code in the \admincp\download.php that pertains to the file system saving and having only looked at this code for a short amount of time, I could be wrong on all of this. So... no offense meant towards the author at all, this is good stuff, I'm just trying to debug the issues I'm having. =) |
At the top of the \downloads.php file where access permissions are set, it looks like a copy/paste problem with permissions.
All of the permissions are set to to the "canaddfiles" permission. So if someone can add files, they can do anything, delete, etc, view, etc. To fix: Open \downloads.php Find: Code:
$canaddfiles = $permissions['bfc_download'] & $vbulletin->bf_ugp['bfc_download']['canaddfiles']; Code:
$canaddfiles = $permissions['bfc_download'] & $vbulletin->bf_ugp['bfc_download']['canaddfiles']; |
There's one change in each cat.php, screen.php and screenshot.php that needs to be made.
You need to include the database prefix in those as well. |
Some more bugs:
Uploading Category Images: If file system is on, the files write correctly to the file system. The category images show correctly in the Admin CP. The category images DO NOT show to end users. If the file system is off, the files write correctly to the database. The category images DO NOT show correctly in the AdminCP. The category images show correctly to end users. Editing a file already uploaded: The category is not selected, it defaults to the "----" category and you have to reset it. |
Here's a fix for the category images not appearing. This will make them display correctly depending on the switch you have set for the filesystem/database file saving.
Open \download.php Find: Code:
$caticon = $row['cat_icon']; Code:
$caturl = $row['cat_icon_url']; Find: Code:
<div align="center"><img src="cat.php?img=$cid" height="50"></div> Code:
<div align="center">$cicon</div> |
\admincp\cat.php and \admincp\img.php both also are missing the DB prefix.
|
Looks like there are a lot of bugs with this, I've clicked Uninstalled.
|
Quote:
The only thing really is, all uploading files are going to be in your database, not the file system. I'll look into that when I have some time, but hopefully the author responds and gets all of it fixed before then as I'm just digging around in his code, he knows it better than I do. |
tagged
|
Tagged, and watching with interested.
|
what's the difference between this and popular dowloadsII mod (3000+installed).
thanks |
Any Updates on this?
I have DownloadsII but interested in comparing the 2 |
Still waiting on an update here as I really want to use BFC.
|
All times are GMT. The time now is 02:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|