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 ?
|