Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dkb

Pages: [1]
1
Discussion & Troubleshooting / Can't upload 2+Mb pictures
« on: October 25, 2002, 05:23:38 PM »
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:
Code: [Select]
 show_table_separator($setting_group[4], 2, "#setting_group_4");


Code: [Select]
  $val = ini_get("upload_max_filesize");
  show_description_row("PHP max upload file size: $val");


just as a quick hack..

2
Discussion & Troubleshooting / Can't upload 2+Mb pictures
« 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

Code: [Select]

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)

3
Discussion & Troubleshooting / ImageMagick can't do jpeg thumbs
« on: October 24, 2002, 08:55:45 PM »
I had trouble with it as well.  In order to fix my problem I had to specify the path plus the convert program itself in the path field of the settings table.  i.e. "/usr/local/bin/convert".

Pages: [1]