SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 08:04:11 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 55
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 3
Guests: 47
Total: 50
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Download System problem  (Read 2485 times)
baxman
Newbie
*
Offline Offline

Posts: 4


View Profile
« 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
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« 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
Newbie
*
Offline Offline

Posts: 4


View Profile
« 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
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« 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
Newbie
*
Offline Offline

Posts: 4


View Profile
« 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
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: March 31, 2009, 09:53:32 am »

Outside of SMF inside the php.ini settings
Logged
baxman
Newbie
*
Offline Offline

Posts: 4


View Profile
« 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
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.222 seconds with 20 queries.