Categories > TinyButStrong general >

i can't load my template ?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: quoc che
Date: 2006-05-08
Time: 06:38

i can't load my template ?

example : i have 3 files.
file no.1 : header.html
file no.2 : footer.html
file no.3 : content.html
ok
tmpconten is content.html
when i use this code :
<table>
<body>
<tr>
  <td>[onload;file='header.html']</td>
</tr>
<tr>
  <td>[onload;file=[var.tmplContent]] </td>
</tr>
<tr>
  <td>[onload;file='footer.html']</td>
</tr>
<body>
</table>

it workded but i see th error :

Notice: Only variable references should be returned by reference in C:\server\Apache2\htdocs\tbs_class.php on line 3190

why ? i don't know

please help.thanks
By: Sheepy
Date: 2006-05-08
Time: 12:07

Re: i can't load my template ?

Are you using PHP 5?  If yes, use tbs_class_php5.php instead.  If the warning does not go away, then please reply since it's likely a bug.