Ae my site I upload alot of files. The biggest one I've tried so far doesn't work....I noticed that before, if the file was a file type other than allowed I would get this message:
2: unlink(): No such file or directory
File: /home/pspzone/public_html/smf/Sources/TPdlmanager.php
Line: 93
But now when I try uploading a file that is a zip(also tried rar, both of which are allowed) and is about 4 MB, I get the same message...I know it's not bigger than the size allowed, because I even tried it with the limit at 50000 KB..
Any thoughts? Thanks!
You may have set the limit on filesize with TP, but what about your PHP setting?
Umm...I'm not exactly sure, how do I find out/set a limit on my PHP setting?
You can set the filesize for uploads and file extensions in Adminpanel/Downloadmanager/Settings
But this have been up before and didnt work all the time for all.
We hope this will work for you anyway :)
Most often, you cannot change it. 2MB is the PHP default. 90-95% of Web hosts will not change it. Due to the way PHP integrates with the web server, values higher than 2MB can cause server stability problems. I would be surprised if you could find many shared Web hosts who would consider offering more than 2MB. You might find some new support tech, unaware of company network policy who might push you up a bit more, but on the next server reset, you'll be back to where you were. As a Web provider, I know we need to ensure stability and performance for all users on each server, regardless of the requirements of a few. Many host TOS even forbid certain types of download provisions, especially on shared accounts.
You will even find some dedicated server packages which have locked PHP limits.
So you're saying I can't upload anything bigger than 2 MB?
I can upload bigger files than 2mb on my hosting service, so i guess i must be one of the lucky ones.
Cant you splitt the bigger files in zip or rar archives?
Quote from: PSPXavier on April 05, 2006, 11:18:53 PM
So you're saying I can't upload anything bigger than 2 MB?
In most cases, you can't. A shared Web host which has their PHP settings enabled to allow larger files will often be deficient in other ways, most often speed or security. A workaround where you upload a small file, then overwrite it with the real file (same name) usually works, but isn't conducive for public or member upload/download. The Webmaster doesn't need to use php for this, since you have FTP access.
Quite possibly, your only solution - in fact, the only intelligent solution - for an interactive site (especially one with file downloads) is a dedicated server. If you're unfamiliar with the workings of a d-server, or even a VPS, you are in for a whole new learning experience.
The bottom line is this: shared service is not intended to allow downloads or heavy MySQL usage. An interesting thing is the service offerings which promise the most bandwidth are usually the least capable of handling the load.
Okay-- thanks for you help...just another (stupid) quick question...(I don't really wanna waste a whole thread for it)...
I have TP installed on my forum(obvioiusly), along with a few other mods. Will upgrading from 1.0.5 -> 1.0.7 mess anything up?
I'd go with 1.1 RC2, personally. I had issues trying to upgrade to 1.0.6 & 1.0.7, but none migrating to RC2. Still, others have reported smooth sailing into the .7 version.
More on servers can be found here: http://www.tinyportal.net/smf/index.php?topic=3912.msg33162#msg33162
I am having the same problem, the file im uplaoding is only 420kb I made sure my downloads could be alot higher than 2mb, and with my hosting service im sure they arent regulating it. I have files much larger other places that are uploaded and downloaded...
2: unlink(): No such file or directory
File: /home/puchusof/public_html/ridersofsombak/forums/Sources/TPdlmanager.php
Line: 93
This started after my 4th or 5th file I uploaded I know a couple of the other ones are larger than this one im trying to upload...
Now got a much smaller one to work, but that still doesn't make sense since the other files already on it are 2x the size of this one...