Upgraded now the images wont load...

Author Message

Claus Jensen

Tuesday 06 January 2004 6:50:52 am

Hi,
I have upgraded from 3.2-3 to 3.3-1 and have the same cache and storage directory as before, but now I only get error messages when ez tries to get the images and files. What has happened. Did I forget to do something? Is there a new storage structure in this version? Im grateful for any tip in this matter. Please reply if you might now something.

regards,
claÜs

Here is the error messages:
-------------------------
Error: eZImageManager::createImageAlias
Jan 06 2004 15:18:33

The reference alias original file does not exist
Error:
Jan 06 2004 15:18:33

Original alias does not exists, cannot create other aliases without it
Error: eZImageManager::createImageAlias
Jan 06 2004 15:18:33

Failed creating the referenced alias reference, cannot create alias medium

Georg Franz

Tuesday 06 January 2004 7:12:24 am

Hi ClaÜs,

did you altered the ezimage.tpl in design/standard/templates/datatype/view/ ?

Or are you using some overrides of ezimage.tpl?

In version 3.3x there is a new way to show images in templates.

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Marco Zinn

Tuesday 06 January 2004 7:12:39 am

Yes,
3.3. introduces a new image system. This should be backward-compatible with 3.2.
Your error-messages sound like a missing image alias "original" (new thing in 3.3), so it's probably a config error.
See http://ez.no/developer/ez_publish_3/releases/ez_publish_3_3/new_image_system for more info about it.
Please tell us, if you find some solution.

Marco
http://www.hyperroad-design.com

Claus Jensen

Wednesday 07 January 2004 12:53:27 am

Emil said:
did you altered the ezimage.tpl in design/standard/templates/datatype/view/ ?

Or are you using some overrides of ezimage.tpl?

In version 3.3x there is a new way to show images in templates.
--------

Thats what I thought... I had the problem on a clean 3.3.1 dist, so I got the latest ezimage.tpl from the trunk(svn). But I didnt solve the problem as I was hoping. I read another thread on this problem where I got that idea. Now I might go back to the 3.2.4 instead, I dont want to use time on new stuff now. Do you have a clue? Have you recently upgraded a site from 3.2.x to 3.3.x?

Thank you for your attention!

--Edited

Oh and also, images that I upload now on the new system works, its all the images from the old version's storage that will not work.

Cheers,
claÜs

Georg Franz

Wednesday 07 January 2004 6:12:48 am

Hi Claus,

yep, I've updated from 3.2.3 to 3.3, but I also use the latest trunk.

As I can remember, I had the same problem as you upgrading from 3.2.3 to 3.3 beta 1. But in 3.3 beta 2 it works.

I've had another error, apache crashed at my test-machine (windows pc), if I wanted to show an image, which had no name. I think, this bug is still there, but I am not sure. (The image alias handler couldn't work without an image-name) -> "name" means $node.name. (not filename)

But maybe your ini-settings are not correct?

--- my image.ini.append ----

[AliasSettings]
# Defines a list of aliases that are available to
# the template engine and other clients.
# The alias must be defined as a separate INI block.
AliasList[]
AliasList[]=reference
AliasList[]=small
AliasList[]=medium
AliasList[]=large
AliasList[]=rss

[medium]
Filters[]=geometry/scaledownonly=150;150

# Define customized image size
[ImageSizes]
Height[small]=150
Width[small]=150
Height[medium]=100
Width[medium]=150
Height[large]=400
Width[large]=300
Height[reference]=600
Width[reference]=600

Maybe that helps?

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

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 31 2025 09:30:23
Script start
Timing: Jan 31 2025 09:30:23
Module start 'layout'
Timing: Jan 31 2025 09:30:23
Module start 'content'
Timing: Jan 31 2025 09:30:23
Module end 'content'
Timing: Jan 31 2025 09:30:23
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.1328151.2109
Module start 'layout' 0.00430.0028 739.343836.6484
Module start 'content' 0.00720.0073 775.992294.1250
Module end 'content' 0.01450.0016 870.117237.9922
Script end 0.0161  908.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.2046140.0002
Check MTime0.00116.9104140.0001
Mysql Total
Database connection0.00063.757010.0006
Mysqli_queries0.002515.752530.0008
Looping result0.00000.081210.0000
Template Total0.00138.010.0013
Template load0.00106.363010.0010
Template processing0.00031.565710.0003
Override
Cache load0.00074.547910.0007
General
dbfile0.002616.139180.0003
String conversion0.00000.035440.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