Gallery pictures disapper when siteaccess is changed

Author Message

Mariusz Bułkowski

Monday 13 March 2006 1:32:06 am

Hello!

I have a problem with gallery:
I created several siteaccesses - each for different language version.
I created gallery with pictures of products and when I change siteaccess (in order to change different language (from polish to english for example)) pictures from gallery disapper.
You can observe this bug at:
http://cms2.draminski.com.pl/produkty/dla_bydla/animal_scanner_dla_bydla/zdjecia
- this page contains pictures
and when you change siteaccess (using a flag in the upper right corner)
pictures disappear.

Any sugestions?

Thanks.

Portable Ultrasound http://www.draminski.com

Kåre Køhler Høvik

Monday 13 March 2006 2:19:10 am

Hi

Make sure you use the same var dir for all your siteaccesses ( see site.ini ).

Kåre Høvik

Mariusz Bułkowski

Monday 13 March 2006 3:54:28 am

I solved the problem.

Solution:
Gallery templete uses:
{attribute_view_gui attribute=$node.object.data_map.image image_class=imagelarge}

and my siteaccess subdirectory (siteaccess for different language version) did not contain
file image.ini.append.php - this file defines sizes of the picture ( also "imagelarge" ).
So the template could not find the definition of "imagelarge".

In my personal opinion there shoud be at least some information about that in the debug mode (there was none).

Bye.

Portable Ultrasound http://www.draminski.com

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 03:38:24
Script start
Timing: Jan 31 2025 03:38:24
Module start 'layout'
Timing: Jan 31 2025 03:38:24
Module start 'content'
Timing: Jan 31 2025 03:38:24
Module end 'content'
Timing: Jan 31 2025 03:38:24
Script end

Main resources:

Total runtime0.0224 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.0053 588.3750151.2422
Module start 'layout' 0.00530.0031 739.6172220.7500
Module start 'content' 0.00850.0119 960.3672997.8359
Module end 'content' 0.02030.0020 1,958.203133.9922
Script end 0.0223  1,992.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003114.0171140.0002
Check MTime0.00114.8948140.0001
Mysql Total
Database connection0.00083.751010.0008
Mysqli_queries0.002310.308730.0008
Looping result0.00000.044810.0000
Template Total0.00167.310.0016
Template load0.00146.134510.0014
Template processing0.00031.131010.0003
Override
Cache load0.00114.967310.0011
General
dbfile0.00125.306280.0001
String conversion0.00000.036240.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