Back to top

Autore Topic: Errore  (Letto 2024 volte)

Offline enrico27

  • Nuovo arrivato
  • *
  • Post: 3
    • Mostra profilo
Errore
« il: 14 Lug 2010, 17:51:02 »
Io ho un grandissimo problema. Quando vado al mio sito, dove ho installato il template YJ JClick City Portal mi compare questo: "Fatal error: Call to undefined function mosLoadModules() in /web/htdocs/www.caldariweb.it/home/templates/jclick/index.php on line 137
". Per favore indicatemi la correzione da fare (senza dirmi cose difficili perchè non sono capace di capirlo. Vi posto il codice.
Codice: [Seleziona]
<?php
/*----------------------------------------------------------------------
#Youjoomla JClick  - Octobar 2007 
# ----------------------------------------------------------------------
# Copyright (C) 2007 You Joomla. All Rights Reserved.
# Designed by: You Joomla
# License: GNU, GPL  index.php ONLY!!!
# Website: http://www.youjoomla.com
------------------------------------------------------------------------*/
defined'_JEXEC' ) or die( 'Restricted index access' );
$iso split'='_ISO );
// xml prolog - quirks mode
//echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';


// TOP MENU SWITCH // 
$menu_name        $this->params->get("menuName""mainmenu");# BY DEFAULT MAIN MENU. CHANGE IT TO ANY JOOMLA MENU
#DO NOT EDIT BELOW THIS LINE
$sitewidth $this->params->get("sitewidth""wide"); // wide =1024 | narrow = 800 | fluid  = 100%

// ENTER YOUR TAB NAMES//
$tab1 $this->params->get ("tab1""Featured");
$tab2 $this->params->get ("tab2""Entertainment");
$tab3 $this->params->get ("tab3""Sport");
$tab4 $this->params->get ("tab4""Marketplace");
// SEO SECTION //

$seo                    $this->params->get ("seo""Enter your site description here");                      # JUST FOLOW THE TEXT
$tags                   $this->params->get ("tags""Enter,your,site,keywords,here");                        # JUST FOLOW THE TEXT

// SITE TOOLS SWITCH //
$tolls $this->params->get("templateTools""1"); // 0 = hide site tools | 1 = SHOW ALL TOOLS | 2 = FONT RESIZER ONLY | 3 = COLOR CHANGER ONLY |


// DEFAULT COLOR //
$defaultcss $this->params->get("defaultcolor""red");  // red | green | blue


#DO NOT EDIT BELOW THIS LINE
define'TEMPLATEPATH'dirname(__FILE__) );
include( 
TEMPLATEPATH.DS."settings.php");
require( 
TEMPLATEPATH.DS."suckerfish2.php");
?>

<?php echo "<!--[if lt IE 7]>\n";
  include_once( "templates/"$this->template "/src/ie.js" );
  echo "<![endif]-->\n";?>

     
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" >
<head>
<jdoc:include type="head" />
<link href="templates/<?php echo $this->template ?>/css/<?php echo $defaultcss?>.css" rel="stylesheet" title="" type="text/css" media="all"/>


<?php if($tolls == || $tolls == 3) { ?>
<link rel="alternate stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css/red.css" title="red"/>
<link rel="alternate stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css/blue.css" title="blue" />
<link rel="alternate stylesheet" type="text/css" href="templates/<?php echo $this->template ?>/css/green.css" title="green" />
<?php ?>

<!--[if lte IE 6]>
<style type="text/css">
#logo,#headerr{
behavior: url(templates/<?php echo $this->template ?>/css/iepngfix.htc);
}
</style>
<![endif]-->
<!--[if  IE 6]>
<link href="templates/<?php echo $this->template ?>/css/iesucks.css" rel="stylesheet" title="" type="text/css" media="all"/>
<![endif]-->
<script type="text/javascript" src="templates/<?php echo $this->template ?>/src/mootools.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/src/sve.js"></script>
</head>
<body>
    <div id="shades">
<div id="centar" style="width:<?php echo $site ?>;">
<!-- *********START MENU SHELF ********* -->
<div id="menuwrap"><div id="menushelf"><div id="menushelfr">

<!-- START: MENUS -->
<div id="suckcont">
  <div id="suck">
      <?php mosShowListMenu($menu_name); ?>
    </div>
</div>
<!-- END: MENUS -->
</div></div></div>
<!-- *********END MENU SHELF********* -->
<!-- *********START HEADER ********* -->
<div id="headerbg"><div id="headerr"></div>
<div id="logo"><h1><a href="index.php" title="<?php echo $tags?>"><?php echo $seo ?></a></h1></div>
<div id="<?php echo $divb ?>"  style="width:<?php echo $bannerwidth ?>;"><jdoc:include type="modules" name="banner" style="xhtml" /></div>
</div>
<!-- *********END HEADER ********* -->

<div id="pathway">
<div id="path"><jdoc:include type="module" name="breadcrumbs" /></div>
<?php if($tolls == 1) { ?>
<div id="toolbar">
<!-- STYLE SWITCH--><a href="#" onclick="setActiveStyleSheet('blue');return false;">
<img src="templates/<?php echo $this->template ?>/images/blue.gif" title="Change to blue" alt="" align="top" border="0" /></a><a href="#" onclick="setActiveStyleSheet('red');return false;"><img src="templates/<?php echo $this->template ?>/images/bordo.gif" title="Change to red" alt="" align="top" border="0" /></a><a href="#" onclick="setActiveStyleSheet('green');return false;"><img src="templates/<?php echo $this->template ?>/images/green.gif" title="Change to green" alt="" align="top" border="0" /></a>
<!-- END STYLE SWITCH-->
<!--font resizer-->
<a href="javascript:void(0)" title="Decrease font size" onclick="changeFontSize(-1);return false;">
<img src="templates/<?php echo $this->template ?>/images/smallfont.gif" alt="" align="top" border="0" />
</a><a href="javascript:void(0)" title="Revert font size to default" onclick="revertStyles(); return false;">
<img src="templates/<?php echo $this->template ?>/images/medfont.gif" alt="" align="top" border="0" />
</a><a href="javascript:void(0)" title="Increase font size" onclick="changeFontSize(1);return false;">
<img src="templates/<?php echo $this->template ?>/images/largefont.gif" alt="" align="top" border="0" />
</a>
<!--end font resizer-->
</div><?php ?>
<?php if($tolls == 2) { ?>
<div id="toolbar">
<a href="javascript:void(0)" title="Decrease font size" onclick="changeFontSize(-1);return false;">
<img src="templates/<?php echo $this->template ?>/images/smallfont.gif" alt="" align="top" border="0" />
</a><a href="javascript:void(0)" title="Revert font size to default" onclick="revertStyles(); return false;">
<img src="templates/<?php echo $this->template ?>/images/medfont.gif" alt="" align="top" border="0" />
</a><a href="javascript:void(0)" title="Increase font size" onclick="changeFontSize(1);return false;">
<img src="templates/<?php echo $this->template ?>/images/largefont.gif" alt="" align="top" border="0" />
</a>
<!--end font resizer-->
</div><?php ?>
<?php if($tolls == 3) { ?>
<div id="toolbar">
<!-- STYLE SWITCH--><a href="#" onclick="setActiveStyleSheet('blue');return false;">
<img src="templates/<?php echo $this->template ?>/images/blue.gif" title="Change to blue" alt="" align="top" border="0" /></a><a href="#" onclick="setActiveStyleSheet('red');return false;"><img src="templates/<?php echo $this->template ?>/images/bordo.gif" title="Change to red" alt="" align="top" border="0" /></a><a href="#" onclick="setActiveStyleSheet('green');return false;"><img src="templates/<?php echo $this->template ?>/images/green.gif" title="Change to green" alt="" align="top" border="0" /></a>
<!-- END STYLE SWITCH-->
</div><?php ?>
</div>
<!-- *******************************START SITE WRAPS ********************************** -->
<div id="<?php echo $wrap?>">
<div id="<?php echo $insidewrap ?>">
<?php if ($this->countModules('user3')) { ?>
<!--**********************MIDDLE MOD**********************-->
<div id="midmodwrap">
<div id="srh[b]"><?php mosLoadModules('user3',-2);?></div></div>[/b]
<!--**********************END MIDDLE MOD**********************-->
<?php ?>
<!-- *********START TOP SHELF ************* -->
<?php if ($this->countModules('user1') || $this->countModules('user2')) { ?>
<div id="topshelf">
     <div id="topr" style="width:<?php echo $topwidth ?>"><jdoc:include type="modules" name="banner" style="user1" /></div>
     <div id="topl" style="width:<?php echo $topwidth ?>"><jdoc:include type="modules" name="banner" style="user2" /></div>
</div>
<?php ?>
<!-- *********END TOP SHELF ************* -->
<div id="<?php echo $mainbody ?>">
<div id="<?php echo $content ?>">
<div class="inside">
<?php if ($this->countModules('tab1') || $this->countModules('tab2') || $this->countModules('tab3') || $this->countModules('tab4')) { ?>
<div id="topmod">
<jdoc:include type="modules" name="banner" style="top" /> 
<!--****************start tabs*******************-->
 <!-- start slide-->
 <script type="text/javascript" src="templates/<?php echo $this->template ?>/src/slide.js">
</script>
  <!-- tabs-->
   <div id="demo-bar">
<div id="karnav">
    <div id="movediv">
    <ul>
    <li><a id="link1" href="#" name="link1"><span><?php echo $tab1 ?></span></a></li>
    <li><a id="link2" href="#" name="link2"><span><?php echo $tab2 ?></span></a></li>
    <li><a id="link3" href="#" name="link3"><span><?php echo $tab3 ?></span></a></li>
    <li><a id="link4" href="#" name="link4"><span><?php echo $tab4 ?></span></a></li>
    </ul>
    </div>
    </div>
</div>
  <!--end tabs-->
 <div id="swr3">
  <div class ="swr">
  <div class ="swr2">
 <div id="slidewrap">
<div id="mainslide">
<div class="scrolling-content" id="content1">
<div id="adv1">
<jdoc:include type="modules" name="tab1" style="xhtml" /></div>
</div><!--end 1-->
<div class="scrolling-content" id="content2">
<div id="adv2">
<jdoc:include type="modules" name="tab2" style="xhtml" /></div>
</div><!--end 2-->
<div class="scrolling-content" id="content3">
<div id="adv3">
<jdoc:include type="modules" name="tab3" style="xhtml" /></div>
</div><!--end 3-->
<div class="scrolling-content" id="content4">
<div id="adv4">
<jdoc:include type="modules" name="tab4" style="xhtml" /></div>
</div><!--end 4-->
</div><!--end mainslide-->
</div><!--end wraper-->
</div>
</div>
 </div>
 <!-- end slide-->
<!--*************End Tabs *******************-->
</div><?php ?>
<?php if ($this->countModules('advert1') || $this->countModules('advert2')) { ?>
<!--***********************AD1 shelf*******************-->
<div id="ad1"><div id="ad1w">

<div id="a2" style="width:<?php echo $ad1width ?>"><jdoc:include type="modules" name="advert1" style="rounded" /> </div>
<div id="a1" style="width:<?php echo $ad1width ?>"><jdoc:include type="modules" name="advert2" style="rounded" /> </div>


</div></div>
<!--***********************end AD1 shelf*******************-->
<?php ?>


<jdoc:include type="component" style="xhtml" />
<?php if ($this->countModules('advert3') || $this->countModules('user10')) { ?>
<!--***********************AD6 shelf*******************-->
<div id="ad6"><div id="ad6w">

<div id="a4" style="width:<?php echo $ad6width ?>"><jdoc:include type="modules" name="advert3" style="rounded" /></div>
<div id="a3" style="width:<?php echo $ad6width ?>"><jdoc:include type="modules" name="user10" style="rounded" /></div>

</div></div>
<!--***********************end AD6 shelf*******************-->
<?php ?>
<?php if ($this->countModules('bottom')) { ?>
<div id="bottmod">
<jdoc:include type="modules" name="bottom" style="rounded" />   
</div><?php ?>
</div></div>

<?php if ($this->countModules('left')) { ?>
<div id="<?php echo $left ?>">
<div class="inside"><!-- keep mods of edges-->

<jdoc:include type="modules" name="left" style="xhtml" />
<!-- end inside--></div><!-- end modsl--></div><!-- end left side-->
<?php ?>
</div> <!--end of main-body-->
<!-- right side always stand alone-->
<?php if ($this->countModules('right')) { ?>
<div id="<?php echo $right ?>">
<div class="inside"> <!-- keep mods of edges-->

<jdoc:include type="modules" name="right" style="rounded" /></div>
<!-- end of inside --></div><!-- end right side-->
<?php ?>
<div class="clr"></div>
</div><!-- end of insidewrap--></div> <!--end of wrap-->
</div><!-- end centar-->
</div><!-- shadow-->
<?php if ($this->countModules('user8') || $this->countModules('user7') || $this->countModules('user6') || $this->countModules('user5') || $this->countModules('user4')) { ?>
<div id="footerwrap">
<div id="footwr" style="width:<?php echo $site ?>;">
<?php if ($this->countModules('user4')) { ?>
<div id="f5" style="width:<?php echo $bottomwidth ?>"><jdoc:include type="modules" name="user4" style="xhtml" /></div><?php ?>
<?php if ($this->countModules('user5')) { ?>
<div id="f4" style="width:<?php echo $bottomwidth ?>"><jdoc:include type="modules" name="user5" style="xhtml" /></div><?php ?>
<?php if ($this->countModules('user6')) { ?>
<div id="f3" style="width:<?php echo $bottomwidth ?>"><jdoc:include type="modules" name="user6" style="xhtml" /></div><?php ?>
<?php if ($this->countModules('user7')) { ?>
<div id="f2" style="width:<?php echo $bottomwidth ?>"><jdoc:include type="modules" name="user7" style="xhtml" /></div><?php ?>
<?php if ($this->countModules('user8')) { ?>
<div id="f1" style="width:<?php echo $bottomwidth ?>"><jdoc:include type="modules" name="user8" style="xhtml" /></div><?php ?>
</div>
</div><?php ?>
<div id="copyright"><div id="copyl"  style="width:<?php echo $site ?>;"><div id="copyr">
<div class="copyright"><jdoc:include type="modules" name="footer" style="raw" /></div>
<a href="http://www.youjoomla.com">Copyright  Youjoomla.com</a><a href="index.php?option=com_rss&amp;feed=RSS2.0&amp;no_html=1">
<img src="templates/<?php echo $this->template ?>/images/rss.gif" alt="" align="top" border="0" />
</a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="CSS Validity" style="text-decoration: none;">

<img src="templates/<?php echo $this->template ?>/images/CSS.gif" border="none" alt="CSS Valid" />
</a>
<a href="http://validator.w3.org/check/referer" target="_blank" title="XHTML Validity" style="text-decoration: none;">
<img src="templates/<?php echo $this->template ?>/images/xhtml.gif" border="none" alt="XHTML Valid" />
</a><a href="#shades">
       
        <img src="templates/<?php echo $this->template ?>/images/gotop.gif" border="none" alt="Go to top" />
       
        </a>
</div></div></div>
</body>
</html>

« Ultima modifica: 14 Lug 2010, 17:55:03 da conti1 »

Offline conti1

  • Global Moderator
  • Instancabile
  • *****
  • Post: 9075
  • Sesso: Maschio
    • Mostra profilo
Re:Errore
« Risposta #1 il: 14 Lug 2010, 18:01:12 »
ciao
benvenuto nel forum
il template in questione se non erro e commerciale  per cui su problemi  sul commerciale  rivolgersi sul loro portale grazie.

ps: non postare codice inutile se non viene richiesto  e se proprio vuoi postare codice lungo km   cerchiamo di usare i tag  appositi.
grazie
se possibile postare il link  x risolvere al meglio il problema grazie
evitare nomi commerciali grazie

 



Web Design Bolzano Kreatif