-
AuthorPosts
-
Tech-xml Friend
Tech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
April 20, 2015 at 12:32 am #567532Hello @ninja Lead I again
Updated the Template, made changes, and statistics module work. However when I go to edit the template appears an error message. Is he more missing something?
Fatal error: Cannot redeclare modChrome_xhtml() (previously declared in /home/paramiri/public_html/administrator/templates/system/html/modules.php:52) in /home/paramiri/public_html/templates/uber/html/modules.php on line 82
Tech-xml FriendTech-xml
- Join date:
- October 2010
- Posts:
- 765
- Downloads:
- 39
- Uploads:
- 140
- Thanks:
- 106
- Thanked:
- 5 times in 2 posts
April 20, 2015 at 12:32 am #732642Hello @ninja Lead I again
Updated the Template, made changes, and statistics module work. However when I go to edit the template appears an error message. Is he more missing something?
Fatal error: Cannot redeclare modChrome_xhtml() (previously declared in /home/paramiri/public_html/administrator/templates/system/html/modules.php:52) in /home/paramiri/public_html/templates/uber/html/modules.php on line 82
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 20, 2015 at 3:53 am #567555I guess your site was duplicated both modChrome_xhtml function into /home/paramiri/public_html/administrator/templates/system/html/modules.php and /home/paramiri/public_html/templates/uber/html/modules.php files
You can try to do with the solution below again
– In the file: templates/system/html/modules.php , find and remove
function modChrome_xhtml($module, &$params, &$attribs)
{
if (!empty ($module->content)) : ?>
<div class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
<?php if ((bool) $module->showtitle) : ?>
<h3><?php echo $module->title; ?></h3>
<?php endif; ?>
<?php echo $module->content; ?>
</div>
<?php endif;
}
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 20, 2015 at 3:53 am #732665I guess your site was duplicated both modChrome_xhtml function into /home/paramiri/public_html/administrator/templates/system/html/modules.php and /home/paramiri/public_html/templates/uber/html/modules.php files
You can try to do with the solution below again
– In the file: templates/system/html/modules.php , find and remove
function modChrome_xhtml($module, &$params, &$attribs)
{
if (!empty ($module->content)) : ?>
<div class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
<?php if ((bool) $module->showtitle) : ?>
<h3><?php echo $module->title; ?></h3>
<?php endif; ?>
<?php echo $module->content; ?>
</div>
<?php endif;
}
-
AuthorPosts
This topic contains 20 replies, has 3 voices, and was last updated by Ninja Lead 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum