Taken from github
Heres a tool for logging errors, in testing i used to use this to assist
This can make it look bad TT has loads of errors caused by undefined vars, indexs etc and the above code should never be used on a live site anyway.
So here is a way to log these to a file on live site, if members use this please can you share any fixed errors
in backend/functions find
add below
Add error folder to root & make unknown error txt to cmod 777
Add error helper to backend folder
Heres a tool for logging errors, in testing i used to use this to assist
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);This can make it look bad TT has loads of errors caused by undefined vars, indexs etc and the above code should never be used on a live site anyway.
So here is a way to log these to a file on live site, if members use this please can you share any fixed errors
in backend/functions find
require_once(BACKEND."/languages.php");add below
// DEBUG Error Report
const TT_ERRORS_FILE = 'errors/unknown-errors.txt';
require_once(BACKEND."/errors-helper.php");
set_error_handler('tt_error_handler');Add error folder to root & make unknown error txt to cmod 777
Add error helper to backend folder
