1. plive
  2. Commercial Templates
  3. Saturday, 17 March 2012
  4.  Subscribe via email
hi,
i've just installed the template, tuned step by step parameters (folowing the installation guide) but, i get many errors messages (?)
Example :
Notice: Undefined variable: modules_1314_width in C:\wamp\www\Joomla_1.5.25_myBoutiqueConseil\templates\j51_monochrome\config.php on line 70
Call Stack
# Time Memory Function Location
1 0.0010 697600 {main}( ) ..\index.php:0
2 0.2753 11275472 JSite->render( ) ..\index.php:79
3 0.2756 11276264 JDocumentHTML->render( ) ..\application.php:168
4 0.2770 11290336 JDocumentHTML->_loadTemplate( ) ..\html.php:246
5 0.2782 11533616 require_once( 'C:\wamp\www\Joomla_1.5.25_myBoutiqueConseil\templates\j51_monochrome\index.php' ) ..\html.php:338
6 0.2790 11595704 require( 'C:\wamp\www\Joomla_1.5.25_myBoutiqueConseil\templates\j51_monochrome\config.php' ) ..\index.php:11

I use :
Wamp
joomla 1.5.25
Apache 2.2.17
php 5.3.4
mySql 5.1.53

Please help
Thx
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

May I suggest opening you templates index.php (../templates/j51_monochrome/index.php) and replaceing the following at the top of the file..

<?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;
?>


replacing 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');
$siteName = $this->params->get('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
Hi,
thanks for your suggestiong, but i still have same message error.
here my index.php :
<?php
/*================================================================*\
|| # Copyright (C) 2010 Joomla51. All Rights Reserved. ||
|| # license - PHP files are licensed under GNU/GPL V2 ||
|| # license - CSS - JS - IMAGE files are Copyrighted material ||
|| # Website: http://www.joomla51.com ||
\*================================================================*/
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
define( 'Jmasterframework', dirname(__FILE__) );
require( Jmasterframework.DS."config.php";);
$sidecol_width = $this->params->get('sidecol_width');
$col_pos = $this->params->get('col_pos');
?>
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
The issue should amend itself once you upload to your server. In the mean time you can replace your above PHP with the following...

<?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');
$siteName = $this->params->get('siteName');
$sidecol_width = $this->params->get('sidecol_width');
$modules_1920_width = $this->params->get('modules_1920_width');
$col_pos = $this->params->get('col_pos');
$siteName = $this->params->get('siteName');
?>


You may also need to replace your templates config.php (../templates/j51_monochrome/config.php) with the attached file (unzip first).

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


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