Warning: imagecreatefromjpeg

nosto

No avatar

2008-03-01 15:26

Coul you please help me? I have instaled QC v2 and everything works perfektly. I have tried it from 4 PC and it works. I have chmoded 777 what I should.

But from one PC:
It is not possible add picture corectly, admin uloaded JPG but it did not upload to file named "100". So there is not litle view 100px x 100px. See first picture, there is no view: http://mozainteriery.cz/test/?rada-crystal,49

There is wrnings after saving the JPG:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 296

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'files/100/crystal-beach.jpg_backup.jpg' is not a valid JPEG file in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 296

Warning: imagesx(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 308

Warning: imagesy(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 309

Warning: Division by zero in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 311

Warning: Division by zero in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 314

Warning: Division by zero in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 318

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 324

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 332

Warning: imagedestroy(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 333

Warning: imagedestroy(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 334

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 296

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'files/100/crystal-beach.jpg_backup.jpg' is not a valid JPEG file in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 296

Warning: imagesx(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 308

Warning: imagesy(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 309

Warning: Division by zero in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 311

Warning: Division by zero in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 314

Warning: Division by zero in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 318

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 324

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 332

Warning: imagedestroy(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 333

Warning: imagedestroy(): supplied argument is not a valid Image resource in /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php on line 334

Warning: Cannot modify header information - headers already sent by (output started at /data/www/domeny/mozainteriery.cz/www/test/libraries/FotoJobs.php:333) in /data/www/domeny/mozainteriery.cz/www/test/actions_admin/p.php on line 19

» Quick.Cms v2.x

David

treewood (OpenSolution)

Avatar: treewood

2008-03-03 09:07

nosto - do you add chmod 777 for directories in directory "files/"?

nosto

No avatar

2008-03-03 15:59

Yes I did. It works perfektly from 4 PC only 1 PC "makes" mistakes. It could be firewall or antivirus or somethning in that PC. What do you think?

David

merci

No avatar

2008-03-04 08:51

nosto - strange... it rather doesn't depend on computer. Maybe server has some strange settings.

wewior (OpenSolution)

Avatar: wewior

2008-03-04 09:19

that looks like there is something wrong with that jpg, and as i saw properties of that added file it is bmp file... not jpg (i mean type not extension) so that may be the problem
open that file in some graphic editor and save it as jpg then add it to site

nosto

No avatar

2008-03-04 19:41

Wewior your are absolutely right with BMP. Thank you very much. I use your application for my friend and he used BMP picture instead of JPG. I did not have any problems and I could not figure out where he made mistakes :)

David

Back to top
about us | contact