de.linkm.newsticker schema problem
Mattias Stahre <[email protected]> Mon, 26 Dec 2005 15:49:30 +0100
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_47037_33496047.1135608570944
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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: Successfull=
y
loaded NAP data from Topic 619
Dec 26 15:38:55 [debug] midcom_application::content: Entering Context 0 (ol=
d
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=3D262
###
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=3D
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 26=
2
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 26=
2
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:41:09 [debug] Start of MidCOM run
Dec 26 15:41:09 [debug] ARGC =3D 1; ARGV =3D
######################################## LOG END
#########################################################
##### Snippet /plux/de.linkm.newsticker/blogschema #####
"default" =3D> array (
"name" =3D> "default",
"description" =3D> "News Article",
"fields" =3D> array (
"date" =3D> array (
"description" =3D> "Date",
"datatype" =3D> "unixdate",
"location" =3D> "created",
"hidden" =3D> true,
),
"name" =3D> midcom_helper_datamanager_urlname_field(),
"title" =3D> array (
"description" =3D> "Title",
"datatype" =3D> "text",
"location" =3D> "title",
"required" =3D> true,
),
"category" =3D> array(
"description" =3D> "categories",
"datatype" =3D> "multiselect",
"location" =3D> "parameter",
"widget" =3D> "multiselect",
"multiselect_selection_list" =3D> array (
"apache" =3D> "Apache",
"apple" =3D> "Apple",
"askpluxse" =3D> "Ask Plux.se",
"dumbfucks" =3D> "Dumbfucks",
"games" =3D> "Games",
"gnome" =3D> "Gnome",
"hardware" =3D> "Hardware",
"interviews" =3D> "Interviews",
"linux" =3D> "Linux",
"midgarddevelopment" =3D> "Midgard Development",
"midgardfun" =3D> "Midgard Fun",
"midgardnews" =3D> "Midgard News",
"opensource" =3D> "OpenSource",
"security" =3D> "Security",
"science" =3D> "Science"
"travel" =3D> "Travel",
"personal" =3D> "Personal",
"politics" =3D> "Politics",
"unixbsd" =3D> "Unix/BSD",
"yro" =3D> "Your rights online",
),
"abstract" =3D> array (
"description" =3D> "Abstract",
"datatype" =3D> "text",
"location" =3D> "abstract",
"widget_text_inputstyle" =3D> "longtext",
/* abstracs are usually shorter than the full text, so we set a
smaller
* size for it
*/
"widget_text_height" =3D> "8em",
),
"content" =3D> array (
"description" =3D> "Text",
"datatype" =3D> "text",
"location" =3D> "content",
"widget" =3D> "html"
),
"created" =3D> array (
"description" =3D> "Date",
"datatype" =3D> "unixdate",
"location" =3D> "created",
"date_withtime" =3D> true,
"update_article_created" =3D> true,
),
"image" =3D> array (
"description" =3D> "Image",
"datatype" =3D> "blob",
"widget" =3D> "image",
"location" =3D> "attachment",
"widget_image_simple" =3D> true,
)
)
), // default
############ Report end ###########
--
Mattias "Plux" Stahre
------=_Part_47037_33496047.1135608570944
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div>Something is making newsticker go nuts with this schema, I will attach=
both the debug log, and the schema used...</div>
<div>Anyone got any tips? Maybe the schema is to big? I dunno.</div>
<div> </div>
<div>############################## LOGGING STARTED DEC 26 15:38:55 #######=
##############################################</div>
<div>Dec 26 15:38:55 [debug] midcom.helper.metadata::retrieve: Successfully=
created a metadata object for adf84d5e33e693b1e65963792fdb4770.<br>Dec 26 =
15:38:55 [debug] midcom_helper__basicnav::_loadnodedata: Successfully loade=
d NAP data from Topic 619
<br>Dec 26 15:38:55 [debug] midcom_application::content: Entering Context 0=
(old Context: 0)<br>Dec 26 15:38:55 [debug] midcom_helper__styleloader::en=
ter_context: entering context 0<br>Dec 26 15:38:55 [debug] midcom_helper__s=
tyleloader::_get_style_id_from_path: Trying to get substyle 'plux/plux-blog=
'
<br>Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_style_id_from_=
path: Starting from ''<br>Dec 26 15:38:55 [debug] midcom_helper__styleloade=
r::_get_style_id_from_path: Found substyle: id=3D262<br>###</div>
<div>Dec 26 15:38:55 [info] midcom_helper__styleloader::_getComponentStyle:=
Current component has user defined style: 262<br>###</div>
<div>Dec 26 15:38:55 [debug] midcom_helper__styleloader::_getComponentStyle=
: substyle=3D<br>Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_s=
tyle_id_from_path: Trying to get substyle ''<br>Dec 26 15:38:55 [debug] mid=
com_helper__styleloader::_get_style_id_from_path: Starting from 'plux-blog'
<br>#### Warn</div>
<div>Dec 26 15:38:55 [warn] midcom_helper__styleloader::_get_style_id_from_=
path: Substyle '' not found<br>###</div>
<div>Dec 26 15:38:55 [debug] midcom_application::_output: We are operating =
in Context 0.<br>###</div>
<div>Dec 26 15:38:55 [info] midcom_helper__styleloader::show: trying to loa=
d "style-init"<br>###</div>
<div>Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: style scope =
is 262<br>Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_=
in_styletree: Trying to find 'style-init' in Style '262'...<br>Dec 26 15:38=
:55 [debug] midcom_helper__styleloader::show: trying to find 'style-init' i=
n default style (snippetdir /de/linkm/newsticker/style)
<br>Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: File /usr/loc=
al/share/midgard/midcom-2.4.5/lib/de/linkm/newsticker/style/style-init.php =
does not exist.<br>#### Warn </div>
<div>Dec 26 15:38:55 [warn] midcom_helper__styleloader::show: Element not f=
ound: style-init<br>###</div>
<div>Dec 26 15:38:55 [debug] midcom_application::_output: content request<b=
r>###</div>
<div>Dec 26 15:38:55 [info] midcom_helper__styleloader::show: trying to loa=
d "show-index-header"<br>###</div>
<div>Dec 26 15:38:55 [debug] midcom_helper__styleloader::show: style scope =
is 262<br>Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_=
in_styletree: Trying to find 'show-index-header' in Style '262'...<br>
Dec 26 15:38:55 [debug] midcom_helper__styleloader::_get_element_in_styletr=
ee: Found element '1577'.<br>Dec 26 15:38:55 [debug] midcom_helper__stylelo=
ader::show: Found element. evaluating now.<br>Dec 26 15:38:55 [debug] midco=
m_helper_datamanager::midcom_helper_datamanager: Default Constructor not al=
lowed
<br> </div>
<div>####################################### ERROR PART START ########=
#######################################</div>
<div>Dec 26 15:38:55 [error] midcom_application::generate_error: Generate-E=
rror was called after code-init, cannot send header information!<br>Dec 26 =
15:38:55 [error] midcom_application::generate_error: Unexpected Error: 500 =
- Layout class could not be instantinated.
<br>####################################### ERROR PART END ################=
##################################</div>
<div> </div>
<div>Dec 26 15:41:09 [debug] Start of MidCOM run<br>Dec 26 15:41:09 [debug]=
ARGC =3D 1; ARGV =3D<br>######################################## LOG END #=
########################################################</div>
<div> </div>
<div> </div>
<div> </div>
<div>##### Snippet /plux/de.linkm.newsticker/blogschema #####</div>
<div> </div>
<div>"default" =3D> array (<br> "name&q=
uot; =3D> "default",=
<br> "description" =3D> "News Article&q=
uot;,<br> "fields"  =
; =3D> array (<br> "date&=
quot; =3D> array (
<br> &quo=
t;description" =3D> "Date",<br> &n=
bsp; "datatype" &n=
bsp; =3D> "unixdate",<br> &=
nbsp; "location" =3D>=
; "created", <br> =
"hidden" =3D> true,
<br> ),<br> &nbs=
p; "name" =3D> midcom_helper_datamanager_url=
name_field(),<br> "title&quo=
t; =3D> array (<br>  =
; "description" =3D> "Title",<br> &=
nbsp; "datatype&=
quot; =3D> "text",
<br> &quo=
t;location" =3D> "title", <br> &nb=
sp; "required&qu=
ot; =3D> true,<br> ),<br> =
; "category" =3D> array(<b=
r> "=
description" =3D> "categories",
<br> &quo=
t;datatype" =3D> "multiselect",<br> &nbs=
p; "location" =3D> &=
quot;parameter",<br> &n=
bsp; "widget" =3D> "multiselect",<br>&nb=
sp; "multi=
select_selection_list" =3D> array (
</div>
<p> "apache" =3D> "Apache",<br>&nbs=
p; "apple" =3D> "Apple",<br> &=
nbsp;"askpluxse" =3D> "Ask <a href=3D"http://Plux.se">Plu=
x.se</a>",</p>
<p> "dumbfucks" =3D> "Dumbfucks",</=
p>
<p> "games" =3D> "Games",<br> =
"gnome" =3D> "Gnome",</p>
<p> "hardware" =3D> "Hardware",</p>
<p> "interviews" =3D> "Interviews",=
</p>
<p> "linux" =3D> "Linux",</p>
<p> "midgarddevelopment" =3D> "Midgard D=
evelopment",<br> "midgardfun" =3D> "=
;Midgard Fun",<br> "midgardnews" =3D> &q=
uot;Midgard News",</p>
<p> "opensource" =3D> "OpenSource",=
</p>
<p> "security" =3D> "Security",<br>=
"science" =3D> "Science"</p>
<p> "travel" =3D> "Travel",</p>
<p> "personal" =3D> "Personal",<br>=
"politics" =3D> "Politics",</p>
<p> "unixbsd" =3D> "Unix/BSD",</p>
<div> "yro" =3D> "Your rights online&quo=
t;, <br>&n=
bsp; ),<br> &qu=
ot;abstract" =3D> array (<br> &n=
bsp; "description" =3D> "Abstract=
",<br> &nbs=
p; "datatype" =3D> "text",
<br> &quo=
t;location" =3D> "abstract",<br> &=
nbsp; "widget_te=
xt_inputstyle" =3D> "longtext",<br> &nbs=
p; /* abstracs are usually shorte=
r than the full text, so we set a smaller=20
<br>  =
; * size for it<br> &n=
bsp; */<br> &nbs=
p; "widget_text_height" =3D> "8em",<br>&=
nbsp; ),<br> &nb=
sp; "content" =3D> array (<br> &n=
bsp; "description" =3D&=
gt; "Text",
<br> &quo=
t;datatype" =3D> "text",<br>  =
; "location"=
; =3D> "content",<br>  =
; "widget" &=
nbsp; =3D> "html"<br>  =
; ),<br> "create=
d" =3D> array (
<br> &quo=
t;description" =3D> "Date",<br> &n=
bsp; "datatype" &n=
bsp; =3D> "unixdate",<br> &=
nbsp; "location" =3D>=
; "created",<br> &=
nbsp; "date_withtime" =3D> true,
<br> &quo=
t;update_article_created" =3D> true,<br> &nb=
sp; ),<br> "imag=
e" =3D> array (<br> =
"description" =3D> "Image",<br>&n=
bsp; "data=
type" =3D> "blob",
<br> &quo=
t;widget" =3D> "image",<br>=
"lo=
cation" =3D> "attachment",<br> &nb=
sp; "widget_imag=
e_simple" =3D> true,<br> =
)<br> )<br>), // default
<br> </div>
<div>############ Report end ###########</div><br clear=3D"all"><br>-- <br>=
Mattias "Plux" Stahre=20
------=_Part_47037_33496047.1135608570944--