The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Attachments stored on server instead of database
I need to store files on my server (a folder in a path) because the load on my server is huge as it is, and I don't think mysql can handle much more of a load.
Does anyone know of a mod that can do this for me, otherwise I will have to write my own |
#2
|
||||
|
||||
It's an option in vbulletin. Go to Admin CP > Attachments > Storage type and select to store them in the file system instead. Make sure the directory you create to store the attachments in is chmod to 777.
|
#3
|
|||
|
|||
I get tons of errors when trying to do so:
<!-- END CONTROL PANEL HEADER --> Attachment : <b>36</b> Filename : <b>Kick Packets.rar</b><br />Attachment : <b>36 Error</b> Could not create file system directory to hold your attachment.<br />Attachment : <b>40</b> Filename : <b>invisible .rar</b><br />Attachment : <b>40 Error</b> Could not create file system directory to hold your attachment .<br />Attachment : <b>41</b> Filename : <b>invis.jpg</b><br />Attachment : <b>41 Error</b> Could not create file system directory to hold your attachment.<br /><p align="center" class="smallfont"><a href - Proceed</a></p> |
#4
|
||||
|
||||
And did you put the *full* path name to the attachment directory in where it said to - like "/home/yoursitename/attachments" and also make sure the directory is chmod to 777?
|
#5
|
|||
|
|||
Indeed, its a windows server so I used a path "C://uploads", and gave the server permissions to write to it, however it just kept giving me errors.
|
#6
|
||||
|
||||
I would post about this over at vbulletin.com and see if they can help you out.
|
#7
|
|||
|
|||
C:\\uploads or C:\uploads
|
#8
|
|||
|
|||
|
#9
|
|||
|
|||
In that folder try turning off simple file sharing and restart iis for that site.
|
#10
|
||||
|
||||
Shouldn't your slashes be facing the other way for windows machines?
IE: C:\ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|