|
i normally use [codebox]<?php echo "<pre>" . var_dump($_POST) . "</pre>";?> [/codebox] to trace what is being passed from page to page for debugging. what tools are available in phpr? thanks
Hi All, I meant to ask about 'debugging console', but don't really know how to start a new thread so just ride on this thread. Question: How can I get a $Smarty debugging console?
- I have: set $dDebug variable in include/dbcommon.php file to true;
- I add the line: $smarty->debugging = TRUE; at the end of a ListOnLoad code_snippet
When I run the generated page, I got a PHP error quote
PHP error happenedTechnical information
Error type 8
Error description Undefined variable: _debug_start_time
URL localhost/DemoN/jobs1/output/jobsjobs_list.php?
Error file C:\DemoN\Jobs1\output\oldlibs\Smarty.class5.php
Error line 1311
SQL query select jobsjobs.ID, jobsjobs.Company, jobsjobs.Title, jobsjobs.TypeID, jobsjobs.Description, jobsjobs.HowToApply, jobsjobs.Zip, jobsjobs.City, jobsjobs.`state`, jobsjobs.Country, jobsjobs.Website, jobsjobs.LogoURL, jobsjobs.DateAdded, jobsjobs.Title AS Job, concat(jobsjobs.City, ', ', jobsjobs.`state`, ' ', jobsjobs.Zip) AS Location, jobsjobtype.`Type` AS Category FROM jobsjobs LEFT OUTER JOIN jobsjobtype ON jobsjobs.TypeID = jobsjobtype.ID
unquote What have I done wrong and/or missing in getting the 'Smarty debugging console'? Thanks in advance,
Kin
|