Problem Datatype

Author Message

Julien Plesniak

Tuesday 04 September 2007 7:39:05 am

Hello,

I have move my website to a new server. It works perfectly except a page which show a list of articles. (this page work on the older server)

In my template i have:

A
{set $children=fetch_alias( 'children', hash( 'parent_node_id', 309,
								  'offset', $view_parameters.offset,
								  'sort_by', array( 'attribute', true(), 466),
								  'class_filter_type', 'include',
								  'class_filter_array', $classes,
								  'limit', $page_limit,
								  'attribute_filter', array(array(432,'<',$datej),array(433,'>',$datej))))
B

It return A but not B and i have only one error in the debug :

Error: eZDataType::loadAndRegisterType
Datatype not found: '', searched in these directories: kernel/classes/datatypes, extension/smilefckeditor/datatypes, extension/birthday/datatypes

What's the problem?

Thanks for help

Olivier Ouin

Tuesday 04 September 2007 10:37:31 am

For which classes does your fetch works (you filter it on $classes) ?
It seems that your fetch is trying to return objects that are carrying attributes calling for some custom datatypes that is not available anymore.

Could I suggest you to check your extensions, maybe one is missing from your /extension directory, or simply not activated (in /settings/override/site.ini.append.php).

Julien Plesniak

Wednesday 05 September 2007 12:21:46 am

Hello, thanks for your answer.

I check the site.ini.append and my extension folder and they are correct.

It's a personnal class which contain datatype which are on other class (and on other class, they work)

Olivier Ouin

Wednesday 05 September 2007 2:06:07 am

It's really strange ...
Do you have tried to delete the attribute from your class and set it back ?
The problem is ... it will certainly causes data loss if you have existing instances of this class :/

How do you have moved your content ? Using the export/import packages system, or with a mysql dump ?

Julien Plesniak

Friday 07 September 2007 12:22:47 am

I have recreate my override templates and it works. Its very strange.

Thanks for your help

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

Main resources:

Total runtime0.0344 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.0100 587.7969152.6094
Module start 'layout' 0.01000.0047 740.406339.4141
Module start 'content' 0.01470.0174 779.820393.3203
Module end 'content' 0.03210.0022 873.140634.3047
Script end 0.0344  907.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00349.8930140.0002
Check MTime0.00123.4099140.0001
Mysql Total
Database connection0.00154.264510.0015
Mysqli_queries0.004312.639730.0014
Looping result0.00000.101910.0000
Template Total0.00175.110.0017
Template load0.00092.732810.0009
Template processing0.00082.313510.0008
Override
Cache load0.00061.886610.0006
General
dbfile0.007521.779380.0009
String conversion0.00000.040940.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