developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#1502 closed bug (fixed)

jTplCompiler

Reported by: foxmask Owned by:
Priority: normal Milestone: Jelix 1.5.0
Component: jelix:tpl Version: 1.4.2
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

in line https://github.com/jelix/jelix/blob/master/lib/jelix/tpl/jTplCompiler.class.php#L173 and 174

there is a bug that does not permit to compile template ; they are reverted.

i did a pull request that fix it https://github.com/jelix/jelix/pull/118

Change History (7)

comment:1 Changed 7 years ago by foxmask

le bug est reproductible sur toutes les editions (opt/dev) Mais ne concerne que installWizard pas le "core" qui lui fonctionne.

comment:2 Changed 7 years ago by foxmask

  • Version changed from 1.4.0 to 1.4.2

comment:3 Changed 7 years ago by foxmask

un autre pull request à venir à la place du 118 qui ne concerne plus ce bug

comment:4 Changed 7 years ago by foxmask

Le message d'erreur qui se produit est le suivant :

Warning: require_once(/home/foxmask/www/havefnubb/temp/havefnubb/html_t_welcome.tpl): failed to open stream: No such file or directory in /home/foxmask/www/havefnubb/lib/installwizard/jtpl/jTpl.class.php on line 229 Fatal error: require_once(): Failed opening required '/home/foxmask/www/havefnubb/temp/havefnubb/html_t_welcome.tpl' (include_path='.:/usr/share/php:/usr/share/pear') in /home/foxmask/www/havefnubb/lib/installwizard/jtpl/jTpl.class.php on line 229 

effectivement on le voit par ceci :

ls -l /home/foxmask/www/havefnubb/temp/havefnubb/html_t_welcome.tpl
ls: impossible d'accéder à /home/foxmask/www/havefnubb/temp/havefnubb/html_t_welcome.tpl: Aucun fichier ou dossier de ce type
foxmask@localhost:~/www/havefnubb$ ls -l /home/foxmask/www/havefnubb/temp/havefnubb/
total 4
-rw-r--r-- 1 www-data www-data 817 31 janv. 11:51 _t_welcome.tpl
Last edited 4 years ago by foxmask (previous) (diff)

comment:5 Changed 7 years ago by foxmask

new pull request to fix this https://github.com/jelix/jelix/pull/124

comment:6 Changed 7 years ago by laurentj

  • Milestone set to Jelix 1.5
  • Status changed from new to confirmed

comment:7 Changed 7 years ago by laurentj

  • Resolution set to fixed
  • Status changed from confirmed to closed
Note: See TracTickets for help on using tickets.