1. omartin
  2. Commercial Templates
  3. Monday, 14 May 2012
  4.  Subscribe via email
Hello,

I have the next error when I install the mountain pine template.

------------------------------------------------------------------------------
( ! ) Notice: Undefined property: JDocumentHTML::$_name in C:\wamp\www\fina\libraries\joomla\plugin\plugin.php on line 103
Call Stack
# Time Memory Function Location
1 0.0009 699984 {main}( ) ..\index.php:0
2 0.3871 14563032 JSite->render( ) ..\index.php:48
3 0.3874 14563888 JDocumentHTML->parse( ) ..\application.php:260
4 0.3874 14563888 JDocumentHTML->_fetchTemplate( ) ..\html.php:414
5 0.3878 14564392 JDocumentHTML->_loadTemplate( ) ..\html.php:591
6 0.3898 14772304 require( 'C:\wamp\www\fina\templates\j51_mountainpine\index.php' ) ..\html.php:531
7 0.3898 14772664 JPlugin->loadLanguage( ) ..\index.php:3

----------------------------------------------------------------------------------
( ! ) Notice: Undefined property: JDocumentHTML::$_name in C:\wamp\www\fina\libraries\joomla\plugin\plugin.php on line 105
Call Stack
# Time Memory Function Location
1 0.0009 699984 {main}( ) ..\index.php:0
2 0.3871 14563032 JSite->render( ) ..\index.php:48
3 0.3874 14563888 JDocumentHTML->parse( ) ..\application.php:260
4 0.3874 14563888 JDocumentHTML->_fetchTemplate( ) ..\html.php:414
5 0.3878 14564392 JDocumentHTML->_loadTemplate( ) ..\html.php:591
6 0.3898 14772304 require( 'C:\wamp\www\fina\templates\j51_mountainpine\index.php' ) ..\html.php:531
7 0.3898 14772664 JPlugin->loadLanguage( ) ..\index.php:3

----------------------------------------------------------------------------------
( ! ) Notice: Undefined variable: siteName in C:\wamp\www\fina\templates\j51_mountainpine\index.php on line 93
Call Stack
#TimeMemoryFunctionLocation 10.0009699984{main}( )..\index.php:0 20.387114563032JSite->render( )..\index.php:48 30.387414563888JDocumentHTML->parse( )..\application.php:260 40.387414563888JDocumentHTML->_fetchTemplate( )..\html.php:414 50.387814564392JDocumentHTML->_loadTemplate( )..\html.php:591 60.389814772304require( 'C:\wamp\www\fina\templates\j51_mountainpine\index.php' )..\html.php:531 ">
( ! ) Notice: Undefined variable: siteName in C:\wamp\www\fina\templates\j51_mountainpine\index.php on line 94

-----------------------------------------------------------------------------------
My version of Joomla is 2.5.4.
I have a Wamp Server 2.2.

I try to install this in Joomla 1.5 and work perfectly.

Advance Thanks for any answer!
Accepted Answer Pending Moderation
0
Votes
Undo
Hi omartin

May I suggest replacing the following in the head of your templates index.php (../templates/j51_mountainpine/index.php)

<?php
defined('_JEXEC') or die;
JPlugin::loadLanguage( 'tpl_SG1' );
JHTML::_('behavior.mootools');
define( 'Jmasterframework', dirname(__FILE__) );
require( Jmasterframework.DS."config.php");
$path = $this->baseurl.'/templates/'.$this->template;
$app = JFactory::getApplication();
$app->getCfg('sitename');
$sidecol_width = $this->params->get('sidecol_width');
$col_pos = $this->params->get('col_pos');
$templateparams = $app->getTemplate(true)->params;
?>


With

<?php
defined('_JEXEC') or die;
JHTML::_('behavior.mootools');
define( 'Jmasterframework', dirname(__FILE__) );
require( Jmasterframework.DS."config.php");
$path = $this->baseurl.'/templates/'.$this->template;
$app = JFactory::getApplication();
$app->getCfg('sitename');
$sidecol_width = $this->params->get('sidecol_width');
$col_pos = $this->params->get('col_pos');
$siteName = $this->params->get('siteName');
$templateparams = $app->getTemplate(true)->params;
?>


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you!!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.