Photo Upload fails

Hi,

after I installed the Photo-Modul, I can upload only one JPG-Photo. The second Photo, and the following photos, will not work.

In the files Folder, i can see 1_t.jpg, 1_rt.jpg, 1_m.jpg, 1_ri.jpg, 1_f.jpg, but from the second photo i can only see 2.jpg with out the other converted Photos. The Upload Modul respond with "Upload Failed"

Any solutions?

afarina

Quote · 22 Jan 2010

here gos the Bug: line  431  on  BxPhotoUploader.php

$iRes = imageResize( $sFile, $sMediaDir . $iLastID . '_ri' . $sExtension, $iIconWidthMax,  $iIconHeightMax, true );
if ($iRes != 0) return false; //resizing was failed

the converting Function is going into a Errorcode "6"

Here the Values ov the parameters:

$sFile: /var/www/html/d70/modules/boonex/photos/data/files/30.jpg
$sMediaDir: /var/www/html/d70/modules/boonex/photos/data/files/
$iLastID: 30
$sExtension: .jpg
$iIconWidthMax: 32
$iIconHeightMax: 32

the Folder is writable (777)

the .htaccess is for tests deactivated

any solutions ??

afarina

Quote · 25 Jan 2010

check if your web hosting php.ini upload_max_filesize is more than the size your uploading. I suggest try this in your .htaccess

http://<yoursite.com>/administration/host_tools.php

php_value upload_max_filesize 80M
php_value post_max_size 80M
php_value max_input_time 36000
php_value max_execution_time 36000
php_value memory_limit 128M

Quote · 25 Jan 2010

Hi,

the Images were all uploaded with out problems, I can se the images in the files Folder!

Only the convert function dos not work

my php Parameter are:

upload_max_filesize    80M    2M
max_execution_time    430
max_file_uploads    20
memory_limit    128M
post_max_size    80M

PHP Version 5.2.12

System     Linux talentopia.bild.de 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686
Build Date     Jan 13 2010 16:35:34
Configure Command     './configure' '--with-bz2' '--with-calendar' '--with-ctype' '--with-curl' '--with-dom' '--with-exif' '--with-ftp' '--with-gd' '--with-gettext' '--with-gpm' '--with-hash' '--with-iconv' '--with-ldap' '--with-libxml' '--with-mbstring' '--with-mime_magic' '--with-mysql=shared' '--with-mysqli=shared' '--with-odbc' '--with-openssl' '--with-pcre' '--with-pdo' '--with-pgsql=shared' '--with-shmop' '--with-wddx' '--with-xsl' '--with-zlib' '--with-apxs2' '--with-config-file-path=/etc/php.ini' '--enable-mbstring' '--with-config-file-scan-dir=/etc/php.d'
Server API     Apache 2.0 Handler

afarina

Quote · 25 Jan 2010

Now i have the Error message: define( 'IMAGE_ERROR_GD_TYPE_NOT_SUPPORTED',    6 );

The Type is .jpg. So i have to check my GD Library on my Server.

I have send this to my Server Admin

afarina

Quote · 26 Jan 2010

Found the Bug!

The GD-Library was compiled without JPG-Support.

now its workin fine

afarina

Quote · 26 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.