Error message on articles, regarding authors it seems

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon May 14, 2012 11:54 pm
Hi Guys

I've recently installed Musicity template on Joomla 2.5. I've uploaded my content, which was converted from 1.5.23. Content has installed fine, but when I go to a page I get the below error message above the content. When I go to a page where the author is not specified, it works fine. I cannot change the article back to being undefined again though. Any ideas?

This site is running locally on a wamp server.

Error message:
Notice: Undefined variable: author in C:\wamp\www\New\templates\gk_musicity\html\com_content\article\default.php on line 164
Call Stack
# Time Memory Function Location
1 0.0015 418976 {main}( ) ..\index.php:0
2 0.3575 8336760 JSite->dispatch( ) ..\index.php:42
3 0.3662 8406928 JComponentHelper::renderComponent( ) ..\application.php:198
4 0.3759 8480864 JComponentHelper::executeComponent( ) ..\helper.php:357
5 0.3779 8528072 require_once( 'C:\wamp\www\New\components\com_content\content.php' ) ..\helper.php:388
6 0.3946 8959152 JController->execute( ) ..\content.php:18
7 0.3946 8959200 ContentController->display( ) ..\controller.php:754
8 0.3995 8962264 JController->display( ) ..\controller.php:77
9 0.4224 9714896 ContentViewArticle->display( ) ..\controller.php:715
10 0.5354 10781272 JView->display( ) ..\view.html.php:149
11 0.5354 10781272 JView->loadTemplate( ) ..\view.php:301
12 0.5439 11061328 include( 'C:\wamp\www\New\templates\gk_musicity\html\com_content\article\default.php' ) ..\view.php:742
Written by Hits: 10158


The line its referring to is:
Code: Select all
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>


Thanks in advance
Wayne
User avatar
Fresh Boarder

GK User
Tue May 15, 2012 8:08 am
Please make sure that after import all of your articles have author and whether the user exist in this new installation.
User avatar
Platinum Boarder


cron