Page 1 of 1
Fatal Error on LinkBlog
Posted: Thu Jun 30, 2005 10:54 pm
by Nuts
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!
Re: Fatal Error on LinkBlog
Posted: Fri Jul 01, 2005 12:35 am
by Ted
Search for that line and replace it with:
Code: Select all
$this->RedirectContent($return_id);
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.
Re: Fatal Error on LinkBlog
Posted: Fri Jul 01, 2005 7:22 pm
by Nuts
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
Re: Fatal Error on LinkBlog
Posted: Fri Jul 01, 2005 8:37 pm
by Ted
do a search for cms_mapi_redirect_user_by_pageid
Re: Fatal Error on LinkBlog
Posted: Sat Jul 02, 2005 4:12 am
by Nuts
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"
Re: Fatal Error on LinkBlog
Posted: Fri Jul 15, 2005 12:13 pm
by Nuts
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