1. brynseion
  2. Commercial Templates
  3. Friday, 22 June 2012
  4.  Subscribe via email
First time using Joomla51 and trying to set up atlas template on xampp. Quite a few error / warning messages have come up:

ON FIRST LOADING TEMPLATE:
Strict Standards: Non-static method JPlugin::loadLanguage() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\church\templates\j51_atlas\index.php on line 9

Notice: Undefined property: JDocumentHTML::$_name in C:\xampp\htdocs\church\libraries\joomla\plugin\plugin.php on line 105

Notice: Undefined property: JDocumentHTML::$_name in C:\xampp\htdocs\church\libraries\joomla\plugin\plugin.php on line 107

Notice: Undefined variable: siteName in C:\xampp\htdocs\church\templates\j51_atlas\index.php on line 96

ON LOADING NIVO-SZAKI SLIDER:
Notice: Undefined variable: folders in C:\xampp\htdocs\church\modules\mod_nivoslider\tmpl\default.php on line 15

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\church\modules\mod_nivoslider\helper.php on line 19


I have Joomla 2.5.6 and although Atlas is supposedly compatible with 2.5 there was no zip file for it so used the latest provided. Can anyone please help me get Atlas set up properly? Appreciate your help - thanks.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi brynseion

Should amend itself once you upload to a host but in the meantime may I suggest replacing the following in the head of your templates index.php (../templates/j51_atlas/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;
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;
?>

Replace 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');
$templateparams = $app->getTemplate(true)->params;
$siteName = $this->params->get('siteName');
?>

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran. Worked a treat.

Can you work your magic on the notices which came up when I loaded the nivoslider too?

ON LOADING NIVO-SZAKI SLIDER:
Notice: Undefined variable: folders in C:\xampp\htdocs\church\modules\mod_nivoslider\tmpl\default.php on line 15

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\church\modules\mod_nivoslider\helper.php on line 19

Many thanks.

PS - screenshot attached as per Sticky request. Thanks.
[attachment]screenshot-ceredigion-meth.png[/attachment]
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
For this issue while on your localhost may I suggest setting your Error Reporting to None or Simple (Site -> Global COnfiguration -> Server -> Error Reporting). If the issue is still present when you upload to your host I may ask you to set us up with temporary administration access so we can examine the issue further.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Ciaran. Sorted and will come back to you if issues still there when go online. Thanks very much for your help.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok