Populate data_map

Author Message

Raymond Williams

Monday 27 March 2006 9:11:17 am

In an attempt to do major restructuring on a site, I duplicated my site by:

- Duplicating my database
- Installing eZ Publish, pointing at that database
- Migrating design and settings content from my old site
- Changing path and database name references in the various settings files

When I create new items in the duplicate database, everything works fine. But, my existing items (the ones duplicated from the old site) are loading only title data, and none of the other data_map elements. The data /does exist/ in the database, I've confirmed that. So, if I understand this correctly, it seems that data_map is a sorting of paging file for data, to avoid multiple SQL transactions? If that is correct, is there a way I can force the data_map to be populated from the existing data?

I've already cleared all caches, as someone else suggested in relation to a template issue. The template issue was corrected. Sample debug output follows:

Notice: eZMySQLDB::query(0.000 ms) query number per page:0  	Mar 27 2006 09:04:09

SET NAMES 'windows-1252'

Warning: eZMySQLDB 	Mar 27 2006 09:04:09

Connection warning: 1115: Unknown character set: 'windows-1252'

Timing: 	Mar 27 2006 09:04:09

Module start 'content'

Notice: 	Mar 27 2006 09:04:09

eZTemplate: Loading template "node/view/full.tpl" with resource "design"

Notice: 	Mar 27 2006 09:04:09

design/prosoft/override/templates/product.tpl, iso-8859-1

Debug: 	Mar 27 2006 09:04:09

FETCH START URI: design:node/view/full.tpl, design/prosoft/override/templates/product.tpl

Error: eZTemplate @ design/prosoft/override/templates/product.tpl:15[9] 	Mar 27 2006 09:04:09

No such attribute for array(0): name
Choose one of following: 

Warning: eZTemplate:attribute_view_gui 	Mar 27 2006 09:04:09

Parameter attribute is not an object

Error: eZTemplate @ design/prosoft/override/templates/product.tpl:17[9] 	Mar 27 2006 09:04:09

No such attribute for array(0): product_id
Choose one of following: 

Error: eZTemplate @ design/prosoft/override/templates/product.tpl:19[2] 	Mar 27 2006 09:04:09

No such attribute for array(0): coming_soon
Choose one of following: 

Betsy Gamrat

Monday 27 March 2006 10:14:37 am

Check the database synchronization.

Setup > Upgrade check > Check database consistency

It will give you a list of SQL commands that should be run to upgrade the database for use with the new version.

You can run them on the command line, or use phpMyAdmin.

Raymond Williams

Monday 27 March 2006 11:18:50 am

Thanks for the reply. I ran this utility as suggested, and it came back saying "Database check okay". No change in behavior, unfortunately, and no SQL suggestions.

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 19 2025 00:21:06
Script start
Timing: Jan 19 2025 00:21:06
Module start 'layout'
Timing: Jan 19 2025 00:21:06
Module start 'content'
Timing: Jan 19 2025 00:21:08
Module end 'content'
Timing: Jan 19 2025 00:21:08
Script end

Main resources:

Total runtime1.2683 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9141152.6250
Module start 'layout' 0.00670.0031 740.539139.4453
Module start 'content' 0.00981.2570 779.9844505.4766
Module end 'content' 1.26680.0014 1,285.460912.1719
Script end 1.2683  1,297.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2765160.0002
Check MTime0.00130.1059160.0001
Mysql Total
Database connection0.00130.099310.0013
Mysqli_queries1.214395.7399570.0213
Looping result0.00060.0499550.0000
Template Total1.231797.120.6159
Template load0.00250.194620.0012
Template processing1.229296.917520.6146
Template load and register function0.00030.020710.0003
states
state_id_array0.00140.109110.0014
state_identifier_array0.00080.064220.0004
Override
Cache load0.00210.1620190.0001
Sytem overhead
Fetch class attribute can translate value0.00120.094620.0006
Fetch class attribute name0.00240.191440.0006
XML
Image XML parsing0.00120.090920.0006
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00080.0666160.0001
String conversion0.00000.000840.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
3content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs