Hi Forum,
i got this error by posting a link on the LinkBlog-Module.
Fatal error: Call to undefined function: cms_mapi_redirect_user_by_pageid() in /www/xyz/modules/LinkBlog/LinkBlog.module.php on line 745
Whats wrong, please help.
Thanks!
Fatal Error on LinkBlog
Re: Fatal Error on LinkBlog
Search for that line and replace it with:
It also needs it again about 7 lines down.
LinkBlog isn't going to be included in the 0.10 release, so I haven't really did any bug fixing to it.
Code: Select all
$this->RedirectContent($return_id);
LinkBlog isn't going to be included in the 0.10 release, so I haven't really did any bug fixing to it.
Re: Fatal Error on LinkBlog
Dear wishy,
thanks for your quick reply.
I cant fix it
here are the lines 738 - 753:
echo "\n";
}
$last_date = substr($row["create_date"],0,10);
}
echo "\n";
}
} else {
if ($params[$id.'type'] == "rss") {
echo " \n";
echo "\n";
return;
} else {
echo " - No linkblog posted - ";
} ## if
}
Where do I have to replace the code?
Nuts
thanks for your quick reply.
I cant fix it

here are the lines 738 - 753:
echo "\n";
}
$last_date = substr($row["create_date"],0,10);
}
echo "\n";
}
} else {
if ($params[$id.'type'] == "rss") {
echo " \n";
echo "\n";
return;
} else {
echo " - No linkblog posted - ";
} ## if
}
Where do I have to replace the code?
Nuts
Re: Fatal Error on LinkBlog
do a search for cms_mapi_redirect_user_by_pageid
Re: Fatal Error on LinkBlog
i replaced the two lines
cms_mapi_redirect_user_by_pageid($return_id);
with
$this->RedirectContent($return_id);
This redirects me to http://www.my_site.com/moduleinterface.php (without anything) and that causes "Page not found"
cms_mapi_redirect_user_by_pageid($return_id);
with
$this->RedirectContent($return_id);
This redirects me to http://www.my_site.com/moduleinterface.php (without anything) and that causes "Page not found"
Re: Fatal Error on LinkBlog
ok, I cant fix this error and havnt enough knowlege to do it by myself.
I hope LinkBlog is deguged in a new Version of CMS
Thank you!!
Nuts
I hope LinkBlog is deguged in a new Version of CMS

Thank you!!
Nuts