Moved to new Server: Images are no longer available

Author Message

Peter Schnuerer

Sunday 02 July 2006 11:48:22 am

Hello,

I moved my site to a new server (ezPublish 3.5.1).
Everything seems OK - but I can't acces the images in the media-bibliothek anymore...

I think it has to do with the permissions in the "var" directory - but what are the right permissions to set?

Thanks
Peter

Ɓukasz Serwatka

Sunday 02 July 2006 11:04:36 pm

Hi Peter,

var directory should be readable and writable by web server. If you know the user and group of the webserver it is recommended to use a different set of permissions:
# chown -R user.usergroup var/
# chmod -R 770 var/

If not then
# chmod -R 777 var/

Try clear the image aliases cache and view cache from admin interface. If you use ImageMagick, make sure that path to convert script is correct in the settings/override/site.ini.append.php

Do you have any errors in the var/log/error.log or in debug output?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 16:21:10
Script start
Timing: Jan 18 2025 16:21:10
Module start 'layout'
Timing: Jan 18 2025 16:21:10
Module start 'content'
Timing: Jan 18 2025 16:21:11
Module end 'content'
Timing: Jan 18 2025 16:21:11
Script end

Main resources:

Total runtime0.6766 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.1641152.6563
Module start 'layout' 0.00650.0028 740.820339.5078
Module start 'content' 0.00930.6659 780.3281536.2109
Module end 'content' 0.67530.0013 1,316.53918.1094
Script end 0.6766  1,324.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4852160.0002
Check MTime0.00140.2122160.0001
Mysql Total
Database connection0.00090.139110.0009
Mysqli_queries0.629993.0961540.0117
Looping result0.00040.0664520.0000
Template Total0.648795.920.3243
Template load0.00220.321920.0011
Template processing0.646595.543220.3232
Template load and register function0.00010.014810.0001
states
state_id_array0.00090.129910.0009
state_identifier_array0.00090.134320.0005
Override
Cache load0.00190.2734200.0001
Sytem overhead
Fetch class attribute can translate value0.00270.397520.0013
Fetch class attribute name0.00150.218640.0004
XML
Image XML parsing0.00110.168720.0006
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00090.1284240.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs