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
Fatal Error - Category Module
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal Error - Category Module
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
- 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
-
- Phoca Newbie
- Posts: 4
- Joined: 30 Jul 2008, 21:29
Re: Fatal Error - Category Module
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal Error - Category Module
line 141 in which file ?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 07 Oct 2011, 07:46
- Contact:
Re: Fatal Error - Category Module
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
?
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
?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal Error - Category Module
Hi, which version of module and component you ar running?
If you find Phoca extensions useful, please support the project