Strange problem with imageupload

Author Message

Atle Enersen

Monday 09 June 2003 11:49:13 am

We have a strange problem regarding image upload at our site(s)...

Sometimes the images just dont get there. No variations, all lost. After restarting Apache it allways works again for some time, but it allways breakes again.

Both GIFs and JPGs are affected. We're using GD. Memory is upped to 35M in php.ini, and timeouts are skyhigh...

I have been poking around in the forums and the documentation here, but noone is talking about this particular problem...

Rgds,
Atle

Paul Forsyth

Monday 09 June 2003 1:58:24 pm

could it be something related to this? not sure if this bug is fixed yet.

http://ez.no/developer/ez_publish_3/bug_reports/gif_images_converted_to_png_incorrectly

paul

Atle Enersen

Tuesday 10 June 2003 2:14:21 am

Nope, that did not solve the problem :-(

Rgds,
Atle

Atle Enersen

Tuesday 10 June 2003 2:22:36 am

Investigating... Corrected! It seems to be working now, changed the following in ()/settings/override/image.ini.append.php from:

[ShellSettings]
ConvertPath=/usr/X11R6/bin
ConvertExecutable=convert

to:

[ShellSettings]
ConvertPath=
ConvertExecutable=/usr/X11R6/bin/convert

Rgds,
Atle

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 19:44:14
Script start
Timing: Jan 30 2025 19:44:14
Module start 'layout'
Timing: Jan 30 2025 19:44:14
Module start 'content'
Timing: Jan 30 2025 19:44:14
Module end 'content'
Timing: Jan 30 2025 19:44:14
Script end

Main resources:

Total runtime0.0240 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1328151.2109
Module start 'layout' 0.00480.0041 739.3438220.6875
Module start 'content' 0.00880.0135 960.0313997.6641
Module end 'content' 0.02230.0017 1,957.695333.9922
Script end 0.0240  1,991.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.9403140.0002
Check MTime0.00135.4846140.0001
Mysql Total
Database connection0.00062.576310.0006
Mysqli_queries0.002610.928430.0009
Looping result0.00000.087510.0000
Template Total0.00125.110.0012
Template load0.00104.164610.0010
Template processing0.00020.959210.0002
Override
Cache load0.00083.155810.0008
General
dbfile0.00135.378280.0002
String conversion0.00000.040840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs