TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 697
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 264
  • Total: 264

Weird 'download' upload issue

Started by Heero, July 19, 2007, 12:38:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Heero

Hey, I'm having some weird things happening on my website.
When a member wants to upload his file, he can't and will receive the following message:
Quote
An Error Has Occurred!
The upload was not able to complete.This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.
Back

Altough other members (and myself) can upload files.
Since other members can upload things, I'm out of idea's what would cause this issue.
Does anyone has some explanation for me about this?

Thanks for reading this,
~- Heero

Lesmond

Do a search for "php.ini" from the forum index here, you will find the info you need to know :)

Heero

Lesmond, the problem can't lie in that file since other members can upload resources, and he can't.
Got any other suggestions?

G6Cad

The error is most likly in the very file Lesmond pointed to.
Even if the settings with in the TP administration are correct, it doesent apply if the php.ini for the server settings have some thing else.

Most servers have a limit on files set to 2mb, sometimes 8mb, but files larger then what the host have set to the php.ini file will give the exaact error you describe.
Also if the host have set the file size limit to a higher value, the time taken for the file to upload will be to short, also this is something the php.ini file on the server controll.

So if you want to be able to upload bigger files, you have to change the php.ini file to both allow bigger files, and also the time taken for the file to get uploaded needs to be set to a higher value.

If you run your own server you can change the settings for the php.ini your self, but if you use a host, you need to ask them to make the changes for you.

Heero

Well thanks for the answers, but it seems that things aren't right always.

The problem seems to be a 'corrupted' file that couldn't be uploaded.
We made various tests with different files to upload, and others worked.

This website is proudly hosted on Crocweb Cloud Website Hosting.