|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Juan Smarty n00b
Joined: 11 Aug 2004 Posts: 2
|
Posted: Wed Aug 11, 2004 8:44 pm Post subject: Inclure un script php (sondage) |
|
|
Bonjour,
J'utilise le system Plog et dans le fichier template (summary/index.tpl) j'essais d'inclure un fichier php (sondage) mais en suivant la doc, rien à faire, soit rien ne s'affiche soit des erreurs (je teste en local avec easyphp).
j'ai aussi essayer de mettre le script directement comme ceci :
Code: | {php}
unset($id_rubrique_apoll2, $id_poll_apoll2, $voter_apoll2);
$id_poll_apoll2 = 1;
$chem_script_apoll2 = "plogspip/poll/";
include($chem_script_apoll2."poll.php");
{/php} |
et j'ai cette erreur :
Code: | Exception message: Failed opening 'plogspip/poll/poll.php' for inclusion (include_path='.;D:\EasyPHP\php\pear\')
Error code: 2
Stack trace is not available |
Je me lance dans smarty et j'avoue que je suis assez paumé. |
|
Back to top |
|
Juan Smarty n00b
Joined: 11 Aug 2004 Posts: 2
|
Posted: Sat Aug 14, 2004 6:32 pm Post subject: |
|
|
up |
|
Back to top |
|
|
|
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
|