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

Opened 14 years ago

Closed 14 years ago

#321 closed bug (fixed)

jtpl does not work when an output type is specified

Reported by: doubleface Owned by: bballizlife
Priority: normal Milestone: jTpl 1.0
Component: jTpl standalone Version: jtpl trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:


Here is the correction :

in jTplCompiler.class.php, line 97, replace $this->outputType with $outputtype.

No diff, no patch, sorry, I am not at home...

Change History (2)

comment:1 Changed 14 years ago by doubleface

Description of the problem : the cache file file cannot be found.

Ex : Warning: jTpl::require_once(I:\download\jtpl-nightly\temp\text_t_bonjour.tpl): failed to open stream: No such file or directory in I:\download\jtpl-nightly\jTp l.class.php on line 178

In my /templates directory, I have the following file : _t_bonjour.tpl

comment:2 Changed 14 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

In fact, line 97 should be before the line 96.

Fixed into the trunk. Thanks for the report.

Note: See TracTickets for help on using tickets.