Help please - images, hosting, convert, permissions

Author Message

Richard Wood

Thursday 09 January 2003 1:14:39 pm

On my hosted site I can display existing images but not upload them. When I press store in the article admin view it says input stored succesfully but the image doesn't display, only a box with an 'x' in it. The image files are not created in variation folders either.

I figured this meant Imagemagick convert isn't working, but it is installed (in /usr/local/bin). I've set the path in image.ini to /usr/local/bin and I've even had the convert.exe file copied into my own bin directory and tried setting the path to there.

Still no joy, and I want to go live this weekend. An old forum post with a similiar problem was overcome by identifying a permissions problem in php.ini but my host has said they've looked in php.ini and can't see anything untowards.

Can anyone help with suggestions or questions I can fire at my host or think of any other things I could be getting wrong.

The site works fine on my home PC under the windows install.
Richard.

Richard Wood

Saturday 11 January 2003 2:32:10 pm

> > On my hosted site I can display existing images but not
> > upload them. When I press store in the article admin view
> it
> > says input stored succesfully but the image doesn't
> display,
> > only a box with an 'x' in it. The image files are not
> > created in variation folders either.
> >
> > I figured this meant Imagemagick convert isn't working,
> but
> > it is installed (in /usr/local/bin). I've set the path
> in
> > image.ini to /usr/local/bin and I've even had the
> > convert.exe file copied into my own bin directory and
> tried
> > setting the path to there.
> >
> > Still no joy, and I want to go live this weekend. An old
> > forum post with a similiar problem was overcome by
> > identifying a permissions problem in php.ini but my host
> has
> > said they've looked in php.ini and can't see anything
> > untowards.
> >
> > Can anyone help with suggestions or questions I can fire
> at
> > my host or think of any other things I could be getting
> > wrong.
> >
> > The site works fine on my home PC under the windows
> > install.
> > Richard.
>
> I would check the premissions of the var folder, I have
> found that modfix does quite work right. It seems that this
> folder needs to have (as least under unix) the same user and
> group as the web service (NOT your account).
>
> I would also check if you are in safe_mode, which will not
> work.
>
> I hope this gives you a clue or two.
>
> Michael

I wouldn't be surprised if you're right and I've passed this onto my hosting service support.
Because I simply copied my files up from a Windows install to the host, I'd never come across modfix. Now I'm trying to find out how to achieve what it does at my host. The file manager they provide doesn't let me change world permissions.
Otherwise I wouldn't know where to start to find out about 'safemode'.
Any further help on what safemode is would be appreciated.
Regards
Richard

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 18 2025 10:34:03
Script start
Timing: Jan 18 2025 10:34:03
Module start 'layout'
Timing: Jan 18 2025 10:34:03
Module start 'content'
Timing: Jan 18 2025 10:34:04
Module end 'content'
Timing: Jan 18 2025 10:34:04
Script end

Main resources:

Total runtime0.6395 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.1641152.6563
Module start 'layout' 0.00750.0036 740.820339.5078
Module start 'content' 0.01100.6269 780.3281436.5547
Module end 'content' 0.63800.0015 1,216.882812.1094
Script end 0.6395  1,228.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6122160.0002
Check MTime0.00170.2627160.0001
Mysql Total
Database connection0.00130.199410.0013
Mysqli_queries0.587891.9113520.0113
Looping result0.00050.0764500.0000
Template Total0.608095.120.3040
Template load0.00220.338020.0011
Template processing0.605894.734420.3029
Template load and register function0.00020.035010.0002
states
state_id_array0.00100.152910.0010
state_identifier_array0.00090.144020.0005
Override
Cache load0.00190.2939600.0000
Sytem overhead
Fetch class attribute can translate value0.00090.136410.0009
Fetch class attribute name0.00120.195120.0006
XML
Image XML parsing0.00010.019510.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00070.1071100.0001
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs