Buongiorno a tutti,ho creato un sito in locale utilizzando Easyphp 5.3.6.0,ho installato joomla e il template vaneborg ,ho eseguito varie personalizzazioni e tutto funzionava correttamente; portandolo in remoto (procedura completata senza errori particolari) l'apertura del sito non avviene e mi ritorna un errore del tipo :"Fatal error: Call to undefined function phpdefine() in /web/htdocs/www.festivaldelsorriso.com/home/templates/vanenborg/index.php on line 1"
Ho verificato in locale e lo stesso file index.php non da problemi.
posto il file ,qualcuno sa salvarmi???
Ciao a tutti e grazie.
Index.php :
<?php
// SUCKERFISH //
$menu_name = $this->params->get("menuName", "mainmenu");
/*
*Vanenborg TEMPLATE*
* @copyright 2009 template design by globbers for globbersthemes Copyright (C) .All rights reserved.
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<!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" lang="<?php echo _LANGUAGE; ?>" xml:lang="<?php echo _LANGUAGE; ?>">
<head>
<?php
define('TEMPLATEPATH', dirname(__FILE__) );
include( TEMPLATEPATH.DS."suckerfish.php");
?>
<?php JHTML::_('behavior.mootools'); ?>
<jdoc:include type="head" />
<?php if($my->id) initEditor(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/vanenborg/css/tdefaut.css" type="text/css" media="all" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/script.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/mouseover.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/slideshow.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.gif" />
<!--[if IE 6]>
<link href="templates/<?php echo $this->template ?>/css/ie6.css" rel="stylesheet" type="text/css" />
<style type="text/css">
img,#sitename, #tool { behavior: url(<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/scripts/iepngfix.htc); }
</style>
<![endif]-->
</head>
<body>
<div class="pagewidth">
<div id="content">
<div id="topcontent">
<div id="namecontent">
<div id="sitename">
<a class="logo" href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.png" width="236" height="66" alt="logotype" /></a>
</div>
</div>
<div id="menu">
<div id="navigation">
<?php TopMenu($menu_name); ?>
</div>
</div>
<div id="toolcontent">
<div id="tool">
<div id="toolitem">
<jdoc:include type="modules" name="login" />
<?php if($this->countModules('user4')) : ?>
<jdoc:include type="modules" name="user4" />
<?php endif; ?>
</div>
</div>
</div>
</div>
<div id="show-w">
<div id="slideshow">
<img src="templates/<?php echo $this->template ?>/images/slide1.jpg" alt="image1"/>
<img src="templates/<?php echo $this->template ?>/images/slide2.jpg" alt="image2"/>
<img src="templates/<?php echo $this->template ?>/images/slide3.jpg" alt="image3"/>
<img src="templates/<?php echo $this->template ?>/images/slide4.jpg" alt="image4"/>
<img src="templates/<?php echo $this->template ?>/images/slide5.jpg" alt="image5"/>
<img src="templates/<?php echo $this->template ?>/images/slide6.jpg" alt="image6"/>
</div>
</div>
<script type="text/javascript" charset="utf-8">
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j("#slideshow").slideshow({
pauseSeconds: 5,
height: 310,
caption: false
});
});
</script>
<div id="pathway-w">
</div>
<?php if($this->countModules('left')) : ?>
<div id="left">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>
<?php endif; ?>
<div id="wrapper-main<?php echo $width; ?>">
<div id="main<?php echo $width; ?>">
<jdoc:include type="component" />
</div>
<?php if ($this->countModules( 'user1 or user2' )) : ?>
<div id="wrapper-user<?php echo $width; ?>">
<div id="user1<?php echo $width; ?>">
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<div id="user2<?php echo $width; ?>">
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
</div>
<?php endif; ?>
</div>
<div id="footer">
<div class="ftb">
Copyright© <?php echo date( '2008 - Y' ); ?> <?php echo $mainframe->getCfg('sitename');?> .
<?php if ($this->params->get('show_footertext')) : ?>
<?php echo $this->params->get("footertext"); ?>
<?php endif; ?>
</div>
<div id="top">
<div class="top_button">
<a href="#" onclick="scrollToTop();return false;">
<img src="templates/<?php echo $this->template ?>/images/top.jpg" width="30" height="30" alt="top" /></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>