Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Upload resize error 2
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3279
Page 1 of 1

Author:  madmanali [ 22. Mar 2012, 14:43 ]
Post subject:  Upload resize error 2

I have TWG version 1.8.3 installed and everything has worked fine, but i think due to a new camera and photo's being taken at new higher resolution. The resize is always failing on upload.

Resolution that doesnt work 3456 x2304
File Size =3,913 KB (tried same resolution but smaller files still doesnt work)

Resolution that works 2592x1936
File Size =3,093 KB

Installation checks says:
PHP version >= 4.3.0 Yes (5.2.17)
- XML support Available
- GD lib support Available
- GD lib >= 2.0 Yes (2.0.34)
- imagecreatetruecolor Available
- Memory limit Very Good (256M)
- Max resolution ~ 7281 x 5467
- Rotate available Available
- Text watermark Available
- Remote jpg support Unavailable (allow_url_fopen = off)
- File Uploads Available
- Upload max filesize 20M (howto)
Session Available
- session.save_path Not available
Javascript Available
Image Magick Support Available
ffmpeg Support Not available
ffmpeg video convert Not available

TFU_Config says
TFU version: 2.15 (Enterprise Edition License)
Server name: ar**.co.uk
PHP upload limit (in KB): 20480
PHP memory limit (in KB): 262144
Safe mode: OFF
GD lib: Available
Max resize resolution (GDlib): ~ 7364 x 5529
Image magick support: Available
The times below have to be longer than the maximum
upload duration! Otherwise the upload will fail.
PHP maximum execution time: 1800 s
PHP maximum input time: 1800 s
PHP default socket timeout: 1800 s

Debug says:
03.22.2012 13:33:59 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 428: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)
03.22.2012 13:33:59 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 436: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)

and the tfu.log says:

03.22.2012 13:31:48 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 70: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)
03.22.2012 13:31:48 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 71: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)
03.22.2012 13:31:48 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 72: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)
03.22.2012 13:31:48 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 75: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)
03.22.2012 13:31:48 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 76: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)
03.22.2012 13:31:48 - ERROR 2 in ndia/gallery/admin/upload/tfu_helper.php, line 77: Cannot modify header information - headers already sent by (output started at /homepages/35/d33556296/htdocs/arc/scandia/gallery/admin/upload/tfu_config.php:1)

I have read over the forums for the past 2-3 months and still cannot fix this, have changing the php.ini file, have reinstalled 2-3 times.
I can upload files manually and it works and upload files without resize and they work.

Many thanks Alistair

Author:  TinyWebGallery [ 22. Mar 2012, 15:25 ]
Post subject:  Re: Upload resize error 2

You have image magick available. Use this for resize during upload.

I have to check the resize function if there maybe the memory is released too late.

about the tfu_config.php error. Have you modified this file and saved it again. Seems that there are .e. spaces or a BOM at the beginning. (But is has nothing to do with your upload problem).

Best,
Michael

Author:  madmanali [ 29. Mar 2012, 11:03 ]
Post subject:  Re: Upload resize error 2

Sorry for the late reply, I only work here onsite one day a week.

I have changed image_magic=true in config.php

How can I tell it is now using it? as I see no change and it still is failing
But now nothing in debug now.
also can not find tfu.log now.

?????

p.s. i dont think I have changed the tfu_config.php (atleast have now) in Dreamweaver.

Alistair

Author:  TinyWebGallery [ 29. Mar 2012, 13:40 ]
Post subject:  Re: Upload resize error 2

Enable the upload debug. then you see step by step what is going on. You can enable it in the same file.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/