[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    [smarty] I'm confused !
From:       Pablo Veliz <pablo () serinbol ! com>
Date:       2001-08-27 16:12:10
[Download RAW message or body]

I have this code that used to work yesterday
--- configs/xeon.conf (-rw-rw-rw-) ---
titulo = Prototipo XeoN
ancho = 500

[page]
bgcolor=#FFFFFF
fgcolor=#000000
cssfile=estilo.css
--------------------------------------
-- test.php (-rw-r--r--) -------------
<?
require("Smarty.class.php");
$smarty = new Smarty;
$smarty->display("head.tpl.html");
?>
-----------------------------------
-- head.tpl.html (-rw-r--r--) -----
{config_load file="xeon.conf" section="page"}
<html>
<head>
<title>{#titulo# | default "proyecto Xeon"}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="{#cssfile# | default "estilo.css"}" type="text/css">
</head>
<body bgcolor="{#bgcolor# | default "#FFFFFF"}" text="{#fgcolor# | default \
                "#000000"}">
-----------------------------------
An now I get this error:

Fatal error: Smarty: [in head.tpl.html line 1]: syntax error: invalid attribute name \
- 'xeon.conf\' in Smarty_Compiler.class.php on line 925

I get this even with the include stament! Whats wrong? Any clues?
I will test this on another machine and let you know!

I use Mandrake 8.0 + php-4.0.4pl1-6mdk + apache-1.3.19-3mdk

-- 
Pablo Veliz

---
You are currently subscribed to smarty as: smarty@progressive-comp.com
To unsubscribe send a blank email to leave-smarty-700385W@lists.ispi.net
Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic