{debug} interrupting the rendering of html

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
cubitus
Forum Members
Forum Members
Posts: 32
Joined: Mon Oct 09, 2006 3:42 pm
Location: Lausanne/CH

{debug} interrupting the rendering of html

Post by cubitus »

The {debug} smarty's command is supposed logging the assigned smarty's variable into the html page.
I'm just wondering why inserting this command into a smarty template "interrupt" the rendering of the html just after loggin the name of the variable {$gCms) ? See the following code

Code: Select all

...
<h1>Smarty Debug Console</h1>

<h2>included templates & config files (load time in seconds)</h2>

<div>
    <p>no templates included</p>
</div>

<h2>assigned template variables</h2>

<table id="table_assigned_vars">
            <tr class="odd">
            <th>{$SCRIPT_NAME}</th>
            <td>"/cms/index.php"</td></tr>

            <tr class="even">
            <th>{$album}</th>
 
            <th>{$friendly_position}</th>
...
            <td>"4.8"</td></tr>
            <tr class="even">
            <th>{$gCms}</th>
            <td>
The last is in fact the last element that is part of the html page.

I'm running Apache/2.2.4 (Win32) PHP/5.2.3
Post Reply

Return to “CMSMS Core”