Hi,
> When I create new style and it create based on the shared style (form to
> email), error msg. occurred.
>
> Wrong parameter count for mgd_copy_style() in ROOT(899) : eval()'d code
> on line 187
your fix:
in Snippet: / hklc_adminsite_host / argv0 / new / new
change:
77: function new_copy_style($from_id,$new_name,$new_owner,$sitegroup)
78: {
79: global
$set,$sitegroupid,$sitegroupidurl,$newfiledata,$xmlformat,$rcsroot,$argv,$SE
RVER_NAME, $error_message;
80: $objpath="";
81: $up_id=$from_id;
82: $lastid=0;
83: while ($tmpobj=mgd_get_style($up_id))
84: {
85: $lastid=$tmpobj->id;
86: $objpathstr=$tmpobj->name."-----".$objpathstr;
87: $up_id=$tmpobj->up;
88: }
89: $objpath=explode("-----",$objpathstr);
90: $local_id = mgd_copy_style($lastid);
into:
77: function new_copy_style($from_id,$new_name,$new_owner,$sitegroup)
78: {
79: global
$set,$sitegroupid,$sitegroupidurl,$newfiledata,$xmlformat,$rcsroot,$argv,$SE
RVER_NAME, $error_message;
80: $objpath="";
81: $up_id=$from_id;
82: $lastid=0;
83: while ($tmpobj=mgd_get_style($up_id))
84: {
85: $lastid=$tmpobj->id;
86: $objpathstr=$tmpobj->name."-----".$objpathstr;
87: $up_id=$tmpobj->up;
88: }
89: $objpath=explode("-----",$objpathstr);
90: $local_id = mgd_copy_style($lastid, 0);
>
>
> That mean I have not installed and configured midgard already??
All is fine, Nadmin just needs a few bug fixes since. Most of them can be
found if you snoop around in the
user-group.(http://marc.theaimsgroup.com/?l=midgard-user)
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]