AW: [SMARTY] Debug console error with smarty 2.0.1

From: Date: Wed, 17 Apr 2002 16:49:48 +0000
Subject: AW: [SMARTY] Debug console error with smarty 2.0.1
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3793@lists.php.net to get a copy of this message
> -----Ursprüngliche Nachricht----- > Von: Werner Schweizer [mailto:W.Schweizer@swissonline.ch] > Gesendet: Mittwoch, 17. April 2002 18:08 > An: smarty-general@lists.php.net > Betreff: [SMARTY] Debug console error with smarty 2.0.1 > > > When I'm turning debug on, I get a warning: > > Warning: Undefined offset: 0 in > c:\inetpub\wwwroot\Smarty\Smarty-2.0.1\plugins\function.assign > _debug_inf > o.php on line 15 > > and no debug console is displayed. > > Werner Schweizer > As additional informations I put here the last part of the generated HTML-code. It contains some warnings. --------------------------------------------------------------------- <hr> letzte Modifikation dieser Seite: Sat, 06 Apr 2002 10:29:52 GMT</body></html><!-- Smarty 2.0.1 2002-04-17 18:44:37 Westeuropäische Sommerzeit --> <SCRIPT language=javascript> _smarty_console = window.open("","Console_"+self.name,"width=680,height=600,resizable,scro llbars=yes"); _smarty_console.document.write("<HTML><TITLE>Smarty Debug Console for "+self.name+"</TITLE><BODY bgcolor=#ffffff>"); _smarty_console.document.write("<table border=0 width=100%>"); _smarty_console.document.write("<tr bgcolor=#cccccc><th colspan=2>Smarty Debug Console</th></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>included templates & config files (load time in seconds):</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt><font color=brown>main.tpl</font> <font size=-1><i>(0.14508) (total)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td colspan=2><tt><font color=green>options.conf [] local</font> <font size=-1><i>(0.00008)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td colspan=2><tt>&nbsp;&nbsp;&nbsp;<font color=brown>htmlgn.tpli</font> <font size=-1><i>(0.11711)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td colspan=2><tt>&nbsp;&nbsp;&nbsp;<font color=green>../configs/options.conf [html] local</font> <font size=-1><i>(0.00008)</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned template variables:</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$ApplVars}</font></tt></td><td nowrap><tt><font color=green><br> <b>Warning</b>: Object to string conversion in <b>c:\inetpub\wwwroot\Smarty\Smarty-2.0.1\plugins\modifier.debug_print_v ar.php</b> on line <b>24</b><br> <br> <b>Warning</b>: Object to string conversion in <b>c:\inetpub\wwwroot\Smarty\Smarty-2.0.1\plugins\modifier.debug_print_v ar.php</b> on line <b>29</b><br> <b>Array (22)</b><br>\r<b>CopyrightY</b> =&gt; 2002 <br>\r<b>Today</b> =&gt; Wednesday, 17. April 2002<br>\r<b>CompileTime</b> =&gt; Wed, 17 Apr 2002 16:44:36 GMT<br>\r<b>ContentsDate</b> =&gt; Sat, 06 Apr 2002 10:29:52 GMT<br>\r<b>CallType</b> =&gt; 1<br>\r<b>TplId</b> =&gt; IndexTest.php;file=webinfo<br>\r<b>XHTML</b> =&gt; <br>\r<b>WwwStrict</b> =&gt; <br>\r<b>Caching</b> =&gt; 1<br>\r<b>ContentsFile</b> =&gt; webinfo<br>\r<b>TemplateFile</b> =&gt; htmlgn<br>\r<b>ContentsPath</b> =&gt; ../GuteNachricht/gn1/info<br>\r<b>MenuNumber</b> =&gt; 55<br>\r<b>Title</b> =&gt; Webseite<br>\r<b>PageKind</b> =&gt; main<br>\r<b>FrameSet</b> =&gt; <br>\r<b>TargetFrame</b> =&gt; Mainframe<br>\r<b>Description</b> =&gt; <i>empty</i><br>\r<b>Keywords</b> =&gt; <i>empty</i><br>\r<b>Topic</b> =&gt; <i>empty</i><br>\r<b>XmlNode</b> =&gt; Object<br>\r<b>Contents</b> =&gt; ../GuteNachricht/gn1/info/webinfo.html</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$CloseTag}</font></tt></td><td nowrap><tt><font color=green><i>empty</i></font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$Menu}</font></tt></td><td nowrap><tt><font color=green><br> <b>Warning</b>: Object to string conversion in <b>c:\inetpub\wwwroot\Smarty\Smarty-2.0.1\plugins\modifier.debug_print_v ar.php</b> on line <b>24</b><br> <br> <b>Warning</b>: Object to string conversion in <b>c:\inetpub\wwwroot\Smarty\Smarty-2.0.1\plugins\modifier.debug_print_v ar.php</b> on line <b>29</b><br> Object</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$PathVars}</font></tt></td><td nowrap><tt><font color=green><b>Array (20)</b><br>\r<b>MyHome</b> =&gt; /inetpub/wwwroot/Ich<br>\r<b>MyScriptURL</b> =&gt; http://wschweizer1/Ich/IndexTest.php<br>\r<b>MyURL</b> =&gt; http://wschweizer1/Ich<br>\r<b>MyScript</b> =&gt; IndexTest.php<br>\r<b>ScriptPathAbs</b> =&gt; /inetpub/wwwroot/Ich/IndexTest.php<br>\r<b>SmartyPathAbs</b> =&gt; /inetpub/wwwroot/Smarty<br>\r<b>SmartyPathRel</b> =&gt; ../Smarty<br>\r<b>SmartyURL</b> =&gt; http://wschweizer1/Smarty<br>\r<b>PhpVersion</b> =&gt; PHP-4.1.2<br>\r<b>SmartyVersion</b> =&gt; Smarty-2.0.1<br>\r<b>PhpSApiName</b> =&gt; cgi<br>\r<b>ApplicationRel</b> =&gt; ../GuteNachricht/gn1<br>\r<b>ApplicationAbs</b> =&gt; /inetpub/wwwroot/GuteNachricht/gn1<br>\r<b>ApplicationUrl</b> =&gt; http://wschweizer1/GuteNachricht/gn1<br>\r<b>ApplPhpRel</b> =&gt; ../GuteNachricht/gn1/PHP<br>\r<b>ApplMenuRel</b> =&gt; ../GuteNachricht/gn1/Menu/menu.xml<br>\r<b>ApplScriptsRel</b> =&gt; scripts<br>\r<b>ApplStylesRel</b> =&gt; ../GuteNachricht/gn1/styles<br>\r<b>ApplConfigRel</b> =&gt; configs<br>\r<b>ApplTemplatesRel</b> =&gt; templates</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=blue>{$SCRIPT_NAME}</font></tt></td><td nowrap><tt><font color=green>/Ich/IndexTest.php</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=blue>{$contentsFile}</font></tt></td><td nowrap><tt><font color=green>gugus/webinfo</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#cccccc><td colspan=2><b>assigned config file variables (outter template scope):</b></td></tr>"); _smarty_console.document.write("<tr bgcolor=#eeeeee><td valign=top><tt><font color=maroon>{#files#}</font></tt></td><td><tt><font color=green><b>Array (1)</b><br>\r<b>options.conf</b> =&gt; 1</font></tt></td></tr>"); _smarty_console.document.write("<tr bgcolor=#fafafa><td valign=top><tt><font color=maroon>{#vars#}</font></tt></td><td><tt><font color=green><b>Array (17)</b><br>\r<b>title</b> =&gt; Titel: Meine Testseite<br>\r<b>organization</b> =&gt; Organisation: ich<br>\r<b>copyright</b> =&gt; Copyright: Werner Schweizer<br>\r<b>Description</b> =&gt; Dies ist meine Testseite<br>\r<b>Keywords</b> =&gt; Werner, Schweizer, Werner Schweizer<br>\r<b>Topic</b> =&gt; Testseite<br>\r<b>noDoctype</b> =&gt; <br>\r<b>noScripts</b> =&gt; 1<br>\r<b>noStyles</b> =&gt; <br>\r<b>xhtml</b> =&gt; <br>\r<b>strict</b> =&gt; <br>\r<b>debug</b> =&gt; 1<br>\r<b>debugJs</b> =&gt; <br>\r<b>autonavig</b> =&gt; 1<br>\r<b>compile_check</b> =&gt; 1<br>\r<b>caching</b> =&gt; 1<br>\r<b>cutoff_size</b> =&gt; 50</font></tt></td></tr>"); _smarty_console.document.write("</table>"); _smarty_console.document.write("</BODY></HTML>"); _smarty_console.document.close(); </SCRIPT> --------------------------------------------------------------------- TIA Werner Schweizer

« previous php.smarty.general (#3793) next »