4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: dkb on October 25, 2002, 03:43:56 AM
-
Hello. I am unable to upload jpg file greater than 2Mb to my site. Any jpg files less than 2Mb uploads fine. I have set the max image size to 5000Kb in the control panel. I have also verified that the setting is in the settings table in mysql.
The line in images.php that fails is around line#423 which is
if (((empty($HTTP_POST_FILES['file_'.$i]['tmp_name']) || $HTTP_POST_FILES['file_'.$i]['tmp_name'] == "none") && $remote_file == "") || ($remote_file != "" && !check_remote_media($remote_file) && !check_local_media($remote_file))) {
The Add images window that pops up after the image is uploaded says:
Please recheck the marked fields.
And under the Image 1 table cell header it has:
Image *
I have not been able to trace this back any further yet. Any ideas?
PHP Version 4.1.2 with mysql Client API version 3.23.39
mysql Ver 11.15 Distrib 3.23.47, for apple-darwin5.2 (powerpc)
Server version: Apache/1.3.26 (Darwin)
-
Check "upload_max_filesize" in your php.ini. I guess it's set to 2MB.
Jan
-
Thank you. That was the problem.. Perhaps this info could be displayed in the settings tables. For those that may not have access to your php.ini I added this code in settings.php right after:
show_table_separator($setting_group[4], 2, "#setting_group_4");
$val = ini_get("upload_max_filesize");
show_description_row("PHP max upload file size: $val");
just as a quick hack..
-
I had the same problem 8O
@ dkb - this version does not work :?
I asked my Provider, he said that I have to change the .htaccess like this one here http://www.4homepages.de/forum/index.php?topic=6840.0
And now I can upload Files larger than 2MB :lol: I´m so happy :lol:
-
this topic is only 2.5 years old...:lol:
P.S. maybe u'll find this helpfull for your signature ;)
http://www.4homepages.de/forum/Themes/default/help/posting.english.html#bbcref
-
All right, but I don´t wanna make a new topic - I am old-fashioned :lol:
Cu somewhere in this Forum...