Database error

slydog

New Member
ok everthing is working on my vb,3.81, but now im adding files to my posts (attachments) and files that are under 1meg..are ok but any file over 1meg I get a database error , it stops in the middle of the upload a freezes and says database error...check setting on vb seems to be fine... changed zip to be able to upload 2meg ...check my server and my server can upload max 2meg
can not figure out what it can be..any help would be good at this time..need to get this site up and running..thanks
Slydog
 

slydog

New Member
it looks to be fine...

file_uploads: On
open_basedir: /home/dssmagic:/usr/lib/php:/usr/local/lib/php:/tmp
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB


Help Results
No errors occurred while opening the uploaded file for reading.
 

Grinderhand

New Member
You could try storing attachments outside the DB. AdminCP -> Attachments -> Attachment Storage Type. Change to file storage and see if that helps. Be sure to CHMOD the target directory to 777 and make it above the web root if possible for security reasons.
 

Grinderhand

New Member
I assume you're talking about the path. It was start at your account root, such as /home/public_html/forum/... or if you are locating attachments above the web root, /home/attachments.
 
Top