|
baxman
|
 |
« on: March 30, 2009, 10:59:44 am » |
|
Im having an issue with the download system.
I uploaded the file and it is there but when anyone (including me) tries to download it, the file is a 0k file. Its just a name and doesn't have any data to it.
The file in question is a 1.9 meg PDF file.
Thanks Scott
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #1 on: March 30, 2009, 06:38:55 pm » |
|
Check if the file was uploaded to the downloads folder if not check the permissions on that folder.
|
|
|
|
|
Logged
|
|
|
|
|
baxman
|
 |
« Reply #2 on: March 30, 2009, 09:10:22 pm » |
|
It was in the download folder. It was a 2meg file and I tried a smaller file and that seemed to work. I think it may be a timeout issue but I don't know how to change it.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #3 on: March 30, 2009, 09:49:14 pm » |
|
It is a php setting issue check that your php upload max size is increased and your post max size is increased as well.
|
|
|
|
|
Logged
|
|
|
|
|
baxman
|
 |
« Reply #4 on: March 31, 2009, 09:35:32 am » |
|
Forgive me if this is a stupid question... I can't find where to set the max size and post max size. Is that something I would set outside of SMF?
Thanks Scott
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #5 on: March 31, 2009, 09:53:32 am » |
|
Outside of SMF inside the php.ini settings
|
|
|
|
|
Logged
|
|
|
|
|
baxman
|
 |
« Reply #6 on: March 31, 2009, 10:43:35 am » |
|
Thanks, I figured it was something like that. I did find that file and used a text editor to change the file upload max to 50m but it still doesn't work.
I did a test file (the same 2meg PDF file that I used before) and it uploaded into the folder but when I download it there is 0k in the file. I used the link to file option and uploaded the file into a different folder as a temporary fix using a ftp program but I would like to fix it so that other users can upload files.
Im a little confused at this point. Any ideas on something else to change?
Thanks Scott
|
|
|
|
|
Logged
|
|
|
|
|