Page 1 of 1
PHP Notice when displaying article
Posted: 24 Feb 2011, 11:39
by deepmill
I've install the latest, I've running J1.6
when I click on an article it display but also the following message:
Notice: Trying to get property of non-object in E:\domains\h\hs2actionalliance.org\user\htdocs\joomla\components\com_content\router.php on line 4
is it a setting somewhere?
Re: PHP Notice when displaying article
Posted: 25 Feb 2011, 00:37
by Jan
Hi, set itemid in parameters of the phoca documentation. If you are using SEF maybe there can be problem with the url, settings menu link (it can be in hidden menu group, so the menu link will be not displayed) and copying the Itemid (id of menu link) should solve this.
See:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
there is info how to hide menu link in hidden menu group.
Jan
Re: PHP Notice when displaying article
Posted: 25 Feb 2011, 12:00
by deepmill
thanks for the reply - but I've upgraded to your latest release RC2 ? its different as it dispalys files instead of articles - but that's what I wanted.
Re: PHP Notice when displaying article
Posted: 25 Feb 2011, 12:28
by deepmill
duhh. stupid me - I downloaded the file compnent (which is brill)
but I do need the document one - I'll check what you're said and update (if I can follow the instructions
- its all good
can the buttons be customised? (my site uses marron and dark blue for buttons)
Re: PHP Notice when displaying article
Posted: 26 Feb 2011, 17:26
by deepmill
Hi JAn,
I'm sorry but I can't follow your instructions for correcting this.
I created a menu and in that menu created a link to the phoca documention (cat view) but there is no entry in the module
so I create a menu module and pointed it to the hidden menu etc...
but I still get the Notice.
see link
http://www.hs2aa.com/joomla/index.php/n ... s-articles
and click on ay of the entries...
thanks for the hlep so far...
Re: PHP Notice when displaying article
Posted: 05 Mar 2011, 14:37
by Jan
Hi, really no idea what can be wrong. I cannot explain it better as I have explained it in the articles about SEF in Joomla! so maybe try to check all three articles if everything is set like described there
Jan