Fatal Error - Category Module

Phoca modules - support for all Phoca modules except Phoca Gallery modules
sebko
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Jul 2008, 21:29

Fatal Error - Category Module

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal Error - Category Module

Post 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
If you find Phoca extensions useful, please support the project
sebko
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Jul 2008, 21:29

Re: Fatal Error - Category Module

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal Error - Category Module

Post by Jan »

line 141 in which file ?
If you find Phoca extensions useful, please support the project
alicia721
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 07 Oct 2011, 07:46
Contact:

Re: Fatal Error - Category Module

Post 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: ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal Error - Category Module

Post by Jan »

Hi, which version of module and component you ar running?
If you find Phoca extensions useful, please support the project
Post Reply