View Full Version : Attachments stored on server instead of database
Dave84311
02-26-2008, 04:41 PM
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
Lynne
02-26-2008, 04:47 PM
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.
Dave84311
02-27-2008, 02:09 AM
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>
Lynne
02-27-2008, 02:51 AM
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?
Dave84311
02-27-2008, 04:23 PM
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.
Lynne
02-27-2008, 05:35 PM
I would post about this over at vbulletin.com and see if they can help you out.
snakes1100
02-27-2008, 05:49 PM
C:\\uploads or C:\uploads
Dave84311
02-28-2008, 12:27 AM
C:\\uploads or C:\uploads
Neither work, nor C:// or C:/
snakes1100
02-28-2008, 12:58 AM
In that folder try turning off simple file sharing and restart iis for that site.
SEOvB
02-28-2008, 01:19 AM
Neither work, nor C:// or C:/
Shouldn't your slashes be facing the other way for windows machines?
IE: C:\
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.