jc
|
I receive the following error when making a template built in Artisteer 3.0 the default template in Joomla 1.6:
Fatal error: Cannot access protected property ContentViewArticle::$user in C:\xampp\htdocs\joomla16\templates\test_template\functions.php on line 168
I can't seem to figure out why this is happening. During my own troubleshooting I uploaded the same template to a live Joomla 1.5 site and made it the default template. Everything works fine.
The following is the string located on line 168 of the template's functions.php:
$this->canEdit = $document->user->authorise('core.edit', 'com_content.frontpage.' . $this->item->id);
Any thoughts?
Please advise.
-jc
|
|
Krish
|
I am also facing the same problem. Please help.
|
|
Mostschädl
|
Artisteer did not support templates for Joomla 1.6
You must change some lines of html code by hand.....
|
|
jrgweb.net
|
WOW!! What did artisteer do to you. LOL
That said, there are 100's of web design utilities to design web-sites. All have their place in the market. I've chosen artisteer as one of many tools that I use. I don't know any web-designer that only has 1 tool whether
on-line or software package.
I would recommend artisteer!!!!!
jrgweb
|
|
jc
|
I picked up this quick solution reading another thread:
Make a change in Line 168 of functions.php to:
$this->canEdit = false;
Seemed to do the trick for me. Ghey, but it works.
|
|
jmaz24
|
I get a fatal error but mine is on line 11:
$messages = $mainframe->getMessageQueue();
Anyone else run into this?
|
|
mario
|
I have identical trouble,
Fatal error: Call to a member function getMessageQueue() on a non-object in /home/m/a/mariohrubysk/public_html/templates/mariohruby/functions.php on line 17
Installed Joomla 1.6.0, version of used Artisteer SW - 2.6.0.36391 Standard Edition
What with this? According to my information template created in 2.6.0 must work in Joomla 1.6.0
Thx for answer
|
|
Garry
|
Upgrading to PHP 5 may also be helpful.
|
|
jennifer
|
change $messages = $mainframe->getMessageQueue();
into $app =&JFactory::getApplication(); $messages = $app->getMessageQueue(); Joomla 1.6 doesn't use $mainframe anymore
|
|
Rookie
|
Quote jennifer:
change $messages = $mainframe->getMessageQueue();
into $app =&JFactory::getApplication(); $messages = $app->getMessageQueue(); Joomla 1.6 doesn't use $mainframe anymore
Thanks for the info, but what file do i change?
|
|
jennifer
|
It's in the /templates/<your-artisteer-template>/functions.php file
|
|
TK421
|
Jennifer:
Thank you for the info. I made the change and am now faced with this:
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\Joomla\templates\absolute\functions.php on line 17
|
|
jennifer
|
what line of code is on line 17?
|
|
TK421
|
Jennifer, thanks for responding. I did some searching and found this solution:
edit the php.ini file.
set error_reporting to E_ALL & ~E_NOTICE
display_errors = Off
found here:
http://forum.joomla.org/viewtopic.php?p=2408917#p2408917
|
|
zafar Imam
|
Quote jc:
I picked up this quick solution reading another thread:
Make a change in Line 168 of functions.php to:
$this->canEdit = false;
Seemed to do the trick for me. Ghey, but it works.
Wow JC, those facing Line 168 problem should do this trick.
Thanks JC for your support. Off course, tricks matter
|
|
Gryff
|
same error, but when I try to change from... $this-> to false; I get a syntax error and it doesn't work
|
|
Léo Muniz
|
Experimente ver se há outros templates instalados para o site. Se houver, selecione-o e vá em editar. Desmarque todas as opções que estiverem marcadas. Pronto. isso funcionou comigo. E recebia a mesma mensagem que o mario. Boa sorte a todos. Grande abraço...
|
|
Léo Muniz
|
(translated google translator) - Try to see yourself there other paragraph of site templates installed o. There yourself, select it and go edit them. Uncheck any that are marked as optional. Pronto. This to me worked. And got the same message that Mario. All of a good fortune. Big hug ...
|
|