4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: swifter_uk on March 17, 2003, 02:06:41 AM

Title: Max Upload Size?
Post by: swifter_uk on March 17, 2003, 02:06:41 AM
I am finding members cannot upload pics above much more than 50kbs without problems, the upload seems to take place, but then they are taken back to start and asked to browse for a new image.

This is despite me having set the upload to 3000k.

Could somebody please visit my Gallery and test for me, I am validating images, but i do not see this should cause a problem, as the image should show to the member as awaiting validation?http://www.hovegallery.co.uk/Gallery
Title: Max Upload Size?
Post by: Jan on March 17, 2003, 12:33:35 PM
Check "upload_max_filesize" in your php.ini.

Jan
Title: Max Upload Size?
Post by: swifter_uk on March 17, 2003, 06:46:57 PM
Thanks Jan,

But where should I look for this? I want to be sure I check the correct file, just confirmed today that server is not running in safe mode so this should not be an issue.
Title: Max Upload Size?
Post by: swifter_uk on March 18, 2003, 01:22:24 AM
Anyone any ideas with this? I am struggling to figure out what the problem is, seems useless to me if my members have to struggle to figure out how to compress their files to insignificance!

Appreciate any feedback, does GZIP make any difference, I have it enabled as I figured it is preferable?

Thanks in Advance.

Mike.
Title: Max Upload Size?
Post by: swifter_uk on March 19, 2003, 08:07:32 PM
Anyone any ideas please, I am really struggling with this one and the gallery is not getting the use it should because of it!

Thanks

Mike.
Title: Max Upload Size?
Post by: swifter_uk on March 20, 2003, 01:39:36 AM
Quote from: Jan
Check "upload_max_filesize" in your php.ini.

Jan


Where should I look to check this please?
Title: Max Upload Size?
Post by: Chris on March 20, 2003, 02:20:56 AM
:?  In your php.ini file.

If your site is with a hosting provider, ask them about it.  If you are running your site on your own box, then you'll have to check the php documentation to see where it got installed on your system.
Title: Max Upload Size?
Post by: swifter_uk on March 20, 2003, 02:43:55 AM
Thanks Chris,

But I dont understand this, if it is not a user editable file, then surely many users have problems with this, although I must confess i dont  :really know what I am looking for even if I find it :?
Title: Max Upload Size?
Post by: V@no on March 20, 2003, 03:37:18 AM
Quote from: swifter_uk
I must confess i dont  :really know what I am looking for even if I find it :?

Then, just ask your host about "max upload size". ask if they can change it for u.
also, run this script to see how PHP is configured at your host:
Code: [Select]
<?php
phpinfo
&#40;&#41;;
?>
Title: Max Upload Size?
Post by: swifter_uk on March 20, 2003, 06:32:01 PM
Sorry, but "run this script", does not give me enough information, how do I run it?

Total novice i'm afraid!!! :?
Title: Max Upload Size?
Post by: V@no on March 20, 2003, 09:01:22 PM
Quote from: swifter_uk
Sorry, but "run this script", does not give me enough information, how do I run it?

Total novice i'm afraid!!! :?

ah, ok.
step-by-step ;)

1. Open any text editors (notepad would work)
2. Insert that code from my previous post.
3. save that file as phpinfo.php
4. upload it to your server
5. start it by http://<yourhost>/<path_to_that_script_file>/phpinfo.php
6. enjoy your first :?: script! ;) :D
Title: Max Upload Size?
Post by: swifter_uk on March 20, 2003, 09:07:22 PM
Silly me :lol: thanks Jan.

Hope this is the cure because It is a struggle to load anything much bigger than 50kb :cry:
Title: Max Upload Size?
Post by: V@no on March 20, 2003, 09:13:01 PM
Quote from: swifter_uk
Silly me :lol: thanks Jan.

Hope this is the cure because It is a struggle to load anything much bigger than 50kb :cry:

no, it's not a cure yet, but this is a good vaccine ;) when u know exactly where is the problem, then u can find the cure :D
Title: Max Upload Size?
Post by: swifter_uk on March 20, 2003, 10:50:39 PM
Jan,

upload_max_filesize is set at 097152 for both local and master.
upload_temp_dir...no value

Mike.
Title: Max Upload Size?
Post by: swifter_uk on March 20, 2003, 11:19:38 PM
Even Lycos free server runs at 200000, what would my optimum be?

upload_tmp_dir on lycos is../tmp should mine be the same?
Title: Max Upload Size?
Post by: swifter_uk on March 24, 2003, 07:55:38 PM
I am struggling to get a reply so far from my domain host's, should the max_upload_size, they have set work sufficiently or is this likely to be the cure to my problem?
Title: Max Upload Size?
Post by: swifter_uk on March 26, 2003, 04:13:25 AM
Sorted!!

Host today upgraded upload max file size, all working ok.

Thanks for all input & help regarding this.

Mike.
Title: Re: Max Upload Size?
Post by: andriansah on April 14, 2005, 08:52:59 AM
:?  In your php.ini file.

If your site is with a hosting provider, ask them about it.  If you are running your site on your own box, then you'll have to check the php documentation to see where it got installed on your system.

Is there a way without get to php.ini? because in CP thereis option to limit the image size.