Fatal Error on LinkBlog

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Nuts

Fatal Error on LinkBlog

Post 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!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Fatal Error on LinkBlog

Post 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.
Nuts

Re: Fatal Error on LinkBlog

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Fatal Error on LinkBlog

Post by Ted »

do a search for cms_mapi_redirect_user_by_pageid
Nuts

Re: Fatal Error on LinkBlog

Post 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"
Nuts

Re: Fatal Error on LinkBlog

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”