PDA

View Full Version : Atachment Problems


djjeffa
08-31-2004, 01:59 AM
It seems like I could ul files smaller than 1 Meg but once I go Bigger I get a DB error. Now my db could handle thes size files cause my freind has the same host and the same plan and he ul 30 meg atachments.
And yes I do have the settings right in the vb cp there set for like 10 megs right now. I havent installed any hacks and i could ul atachments it just seem lik if there biger than a meg they dont go through. but I did transfer from a phpbb fourm members ,post ect but i dont think that should affect it.
I tried doing a Diagnostics and ul the same 3 meg files that makes the error but here is what i got.
Pertinent PHP Settings file_uploads:Onopen_basedir:Nonesafe_mode:Offuploa d_tmp_dir:Noneupload_max_files ize:8M
Results No errors occurred while opening the uploaded file for reading.
Any Advice Guys?

rake
08-31-2004, 10:57 AM
Your screenshot doesn't help a great deal. Post the entire query, minus the attachment data, especially the part where it tells you the error.

djjeffa
09-01-2004, 08:33 PM
mysql error: got a bigger packet than max_allowed_packet
mysql erroe number: 1153

Im prety sure its in the db but i cant get in ther and im having trouble with my host helping me out so im wondering if I could stor the atachments somewere else?

rake
09-01-2004, 09:33 PM
If you and your friend are using the same host, then he's storing attachments as files. And that's what you're going to have to do too.

djjeffa
09-01-2004, 10:02 PM
If you and your friend are using the same host, then he's storing attachments as files. And that's what you're going to have to do too.
where not on the same acount we ar both using the same copany that provides hosting and we both picked the same deal. How woiul I save them as fgiles im lost?

OS thanks for repling you seem like your the only one tring to help and I apreciate that

rake
09-03-2004, 11:42 PM
No problem. I like helping.

There's an option in your admincp to do that. Expand all groups and look for anything related to attachments.

djjeffa
09-07-2004, 02:47 AM
I am preety sure its set right but heres what i get when I try?
We attempted to write a test file to http://djjeffa.com/vb/Attachments, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.

rake
09-07-2004, 10:02 AM
chmod it 777 using your ftp program.