Page 1 of 1

Phoca maps

Posted: 09 Aug 2012, 17:06
by Karina
Hey,
I created a joomla 2.5 template with artisteer.
I installed the latest version of phocamaps, but I Get this error bij publishing my article:
Fatal error: Cannot access protected property ContentViewArticle::$user in /home/kgoyhbau/domains/karinajoomla.be/public_html/parket2/templates/template1/functions.php on line 40

This is the code on line 40-41:

Code: Select all

$this->canEdit = $this->_document->user->authorize('com_content', 'edit', 'content', 'all') || $this->_document->user->authorize('com_content', 'edit', 'content', 'own');
How do I solved this?
Thanks,
Karina

Re: Phoca maps

Posted: 11 Aug 2012, 16:53
by Jan
Hi, how is this problem related to Phoca Maps?