Something is making newsticker go nuts with this schema, I will attach both the debug log, and the schema used...
Anyone got any tips? Maybe the schema is to big? I dunno.
############################## LOGGING STARTED DEC 26 15:38:55 #####################################################
Dec 26 15:38:55 [debug] midcom.helper.metadata::retrieve: Successfully created a metadata object for adf84d5e33e693b1e65963792fdb4770.
Dec 26 15:38:55 [debug] midcom_helper__basicnav::_loadnodedata: Successfully loaded NAP data from Topic 619
Dec 26 15:38:55 [debug] midcom_application::content: Entering Context 0 (old Context: 0)
Dec 26 15:38:55 [debug] midcom_helper__styleloader::enter_context: entering context 0
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Trying to get substyle 'plux/plux-blog'
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Starting from ''
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Found substyle: id=262
###
Dec 26 15:38:55 [debug] midcom_helper__basicnav::_loadnodedata: Successfully loaded NAP data from Topic 619
Dec 26 15:38:55 [debug] midcom_application::content: Entering Context 0 (old Context: 0)
Dec 26 15:38:55 [debug] midcom_helper__styleloader::enter_context: entering context 0
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Trying to get substyle 'plux/plux-blog'
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Starting from ''
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Found substyle: id=262
###
Dec 26 15:38:55 [info] midcom_helper__styleloader::_getComponentStyle: Current component has user defined style: 262
###
###
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_getComponentStyle: substyle=
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Trying to get substyle ''
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Starting from 'plux-blog'
#### Warn
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Trying to get substyle ''
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_path: Starting from 'plux-blog'
#### Warn
Dec 26 15:38:55 [warn] midcom_helper__styleloader::_get_style_id_from_path: Substyle '' not found
###
###
Dec 26 15:38:55 [debug] midcom_application::_output: We are operating in Context 0.
###
###
Dec 26 15:38:55 [info] midcom_helper__styleloader::show: trying to load "style-init"
###
###
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: style scope is 262
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletree: Trying to find 'style-init' in Style '262'...
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: trying to find 'style-init' in default style (snippetdir /de/linkm/newsticker/style)
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: File /usr/local/share/midgard/midcom-2.4.5/lib/de/linkm/newsticker/style/style-init.php does not exist.
#### Warn
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletree: Trying to find 'style-init' in Style '262'...
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: trying to find 'style-init' in default style (snippetdir /de/linkm/newsticker/style)
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: File /usr/local/share/midgard/midcom-2.4.5/lib/de/linkm/newsticker/style/style-init.php does not exist.
#### Warn
Dec 26 15:38:55 [warn] midcom_helper__styleloader::show: Element not found: style-init
###
###
Dec 26 15:38:55 [debug] midcom_application::_output: content request
###
###
Dec 26 15:38:55 [info] midcom_helper__styleloader::show: trying to load "show-index-header"
###
###
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: style scope is 262
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletree: Trying to find 'show-index-header' in Style '262'...
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletree: Found element '1577'.
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: Found element. evaluating now.
Dec 26 15:38:55 [debug] midcom_helper_datamanager::midcom_helper_datamanager: Default Constructor not allowed
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletree: Trying to find 'show-index-header' in Style '262'...
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletree: Found element '1577'.
Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: Found element. evaluating now.
Dec 26 15:38:55 [debug] midcom_helper_datamanager::midcom_helper_datamanager: Default Constructor not allowed
####################################### ERROR PART START ###############################################
Dec 26 15:38:55 [error] midcom_application::generate_error: Generate-Error was called after code-init, cannot send header information!
Dec 26 15:38:55 [error] midcom_application::generate_error: Unexpected Error: 500 - Layout class could not be instantinated.
####################################### ERROR PART END ##################################################
Dec 26 15:38:55 [error] midcom_application::generate_error: Unexpected Error: 500 - Layout class could not be instantinated.
####################################### ERROR PART END ##################################################
Dec 26 15:41:09 [debug] Start of MidCOM run
Dec 26 15:41:09 [debug] ARGC = 1; ARGV =
######################################## LOG END #########################################################
Dec 26 15:41:09 [debug] ARGC = 1; ARGV =
######################################## LOG END #########################################################
##### Snippet /plux/de.linkm.newsticker/blogschema #####
"default" => array (
"name" => "default",
"description" => "News Article",
"fields" => array (
"date" => array (
"description" => "Date",
"datatype" => "unixdate",
"location" => "created",
"hidden" => true,
),
"name" => midcom_helper_datamanager_urlname_field(),
"title" => array (
"description" => "Title",
"datatype" => "text",
"location" => "title",
"required" => true,
),
"category" => array(
"description" => "categories",
"datatype" => "multiselect",
"location" => "parameter",
"widget" => "multiselect",
"multiselect_selection_list" => array (
"name" => "default",
"description" => "News Article",
"fields" => array (
"date" => array (
"description" => "Date",
"datatype" => "unixdate",
"location" => "created",
"hidden" => true,
),
"name" => midcom_helper_datamanager_urlname_field(),
"title" => array (
"description" => "Title",
"datatype" => "text",
"location" => "title",
"required" => true,
),
"category" => array(
"description" => "categories",
"datatype" => "multiselect",
"location" => "parameter",
"widget" => "multiselect",
"multiselect_selection_list" => array (
"apache" => "Apache",
"apple" => "Apple",
"askpluxse" => "Ask Plux.se",
"dumbfucks" => "Dumbfucks",
"games" => "Games",
"gnome" => "Gnome",
"hardware" => "Hardware",
"interviews" => "Interviews",
"linux" => "Linux",
"midgarddevelopment" => "Midgard Development",
"midgardfun" => "Midgard Fun",
"midgardnews" => "Midgard News",
"opensource" => "OpenSource",
"security" => "Security",
"science" => "Science"
"travel" => "Travel",
"personal" => "Personal",
"politics" => "Politics",
"unixbsd" => "Unix/BSD",
"yro" => "Your rights online",
),
"abstract" => array (
"description" => "Abstract",
"datatype" => "text",
"location" => "abstract",
"widget_text_inputstyle" => "longtext",
/* abstracs are usually shorter than the full text, so we set a smaller
* size for it
*/
"widget_text_height" => "8em",
),
"content" => array (
"description" => "Text",
"datatype" => "text",
"location" => "content",
"widget" => "html"
),
"created" => array (
"description" => "Date",
"datatype" => "unixdate",
"location" => "created",
"date_withtime" => true,
"update_article_created" => true,
),
"image" => array (
"description" => "Image",
"datatype" => "blob",
"widget" => "image",
"location" => "attachment",
"widget_image_simple" => true,
)
)
), // default
),
"abstract" => array (
"description" => "Abstract",
"datatype" => "text",
"location" => "abstract",
"widget_text_inputstyle" => "longtext",
/* abstracs are usually shorter than the full text, so we set a smaller
* size for it
*/
"widget_text_height" => "8em",
),
"content" => array (
"description" => "Text",
"datatype" => "text",
"location" => "content",
"widget" => "html"
),
"created" => array (
"description" => "Date",
"datatype" => "unixdate",
"location" => "created",
"date_withtime" => true,
"update_article_created" => true,
),
"image" => array (
"description" => "Image",
"datatype" => "blob",
"widget" => "image",
"location" => "attachment",
"widget_image_simple" => true,
)
)
), // default
############ Report end ###########
--
Mattias "Plux" Stahre