Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Smarty : erreur dans require_once appelant la class smarty

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
fongus
Smarty Rookie


Joined: 25 Oct 2006
Posts: 12

PostPosted: Thu Oct 26, 2006 7:25 am    Post subject: Smarty : erreur dans require_once appelant la class smarty Reply with quote

bonjour,

je réalise actuellement le site pour radio campus besançon et j'utilise dans une partie de mon site du smarty.
Dans ma version beta du site qui se trouve sur http://fongus.oyabun.free.fr/radiocampus
tout fonctionne correctement.
Actuellement je m'occupe de la migration sur www.radiocampusbesancon.org de la version béta sur le serveur véritable et... bien entendu ca ne marche pas.

voila mon erreur :
Code:

Warning: main in /home/httpd/html/radiocampusbesancon.org/MySmarty.php on line 2
 
Warning: main in /home/httpd/html/radiocampusbesancon.org/MySmarty.php on line 2
 
Fatal error: main in /home/httpd/html/radiocampusbesancon.org/MySmarty.php on line 2

mon fichier MySmarty.php
Code:

<?
require_once ('Smarty/libs/Smarty.class.php');
 
class MySmarty extends Smarty{
   var $smDir='./Smarty/';
   function __construct(){
      $this->Smarty();
      $this->template_dir=$this->smDir.'templates/';
      $this->compile_dir=$this->smDir.'templates_c/';
      $this->config_dir=$this->smDir.'conf/';
      $this->cache_dir=$this->smDir.'cache/';
   }
}
?>

l'erreur se situe au niveau du require once. mais je ne vois pas comment la résoudre.
Je me demande si un droit d'acces au dossier ne poserai pas probleme
si quelqu'un pouvait m'éclairer... merci d'avance.
Back to top
View user's profile Send private message
fongus
Smarty Rookie


Joined: 25 Oct 2006
Posts: 12

PostPosted: Thu Oct 26, 2006 4:32 pm    Post subject: Reply with quote

re,

en fait mon erreur c'est transformé

Code:


Warning: _parse_resource_name in /home/httpd/html/radiocampusbesancon.org/Smarty/libs/Smarty.class.php on line 1650

Fatal error: _parse_resource_name in /home/httpd/html/radiocampusbesancon.org/Smarty/libs/Smarty.class.php on line 1650
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP