Page 1 of 1

Fatal Error - Category Module

Posted: 01 Sep 2008, 19:42
by sebko
Hello friends,

i love your gallery component combined with VM, it´s running on J1.5. After installation of the com and mod (JK-Phoca Categories Display) it worked perfect, but now i become a strange error after clicking the category module:

The module links to category "test1" - and browse to http://mydomain.com/index.php?Itemid=2

then comes:

Fatal error: Unsupported operand types in /www/htdocs/w00xyz/xyz/includes/router.php on line 141

i dont know why, but after istallation of the component acajoom_news (1.5 legacy) this error appeared.
after deinstall this comp+mod+plugin phoca category module still shows this error.

could you give me advice how to fix this? thank you so much :idea:

Re: Fatal Error - Category Module

Posted: 01 Sep 2008, 20:49
by Jan
Hi, I think there is no problem with Phoca Gallery (includes/router.php). I don't know this problem and don't have any idea what can be wrong, so my tips:

- maybe some extensions has overwritten the router.php, maybe it should be overwritten by standard joomla file (but I don't know if this was a joomla file or the extension has added this one ???)

Jan

Re: Fatal Error - Category Module

Posted: 01 Sep 2008, 21:22
by sebko
hello jan, firstly thanks for your quick help,

line 141 displays

//Get the variables from the uri
$this->setVars($uri->getQuery(true));

//Get the itemid, if it hasn't been set force it to null
$this->setVar('Itemid', JRequest::getInt('Itemid', null));

//Only an Itemid ? Get the full information from the itemid
if(count($this->getVars()) == 1)
{
$item = $menu->getItem($this->getVar('Itemid'));
$vars = $vars + $item->query;
}
its the same string like in the joomla installations-package. i´ve checked other phoca modules, and all these are working fine, only this one is striking. tnx

Re: Fatal Error - Category Module

Posted: 03 Sep 2008, 01:01
by Jan
line 141 in which file ?

Re: Fatal Error - Category Module

Posted: 07 Oct 2011, 07:50
by alicia721
Sorry for reviving this old thread, but as I can see it isn't solved, is it?
So, I olso have some problem with categories... I get the following message when I click to edit any category:

Fatal error: Call to undefined function category_get_category() in /home/.../public_html/sites/all/modules/category/category.module on line 785
:idea: ?

Re: Fatal Error - Category Module

Posted: 07 Oct 2011, 19:53
by Jan
Hi, which version of module and component you ar running?