#1

Can anyone help me solving this pls
<html><head><title>MySQL Plugin log</title><style>table {border: 1px solid black; border-collapse: collapse; line-height: 23px; table-layout: fixed; width: 863px;}th, td {border: 1px solid black; word-wrap: break-word;}thead {background-color: #C0C0C0;} tbody {text-align: center;} table.left1 {position: relative; left: 36px;} table.left2 {position: relative; left: 72px;} .time {width: 80px;} .func {width: 200px;} .stat {width: 75px;} .msg {width: 400px;} </style> <script> var LOG_ERROR = 1, LOG_WARNING = 2, LOG_DEBUG = 4; var FirstRun = true, IsCallbackActive = false, IsTableOpen = false, IsThreadActive = false; function StartCB(cbname) { StartTable(1, 0, cbname); } function EndCB() { EndTable(); IsCallbackActive = false; } function StartTable(iscallback, isthreaded, cbname) { if(IsTableOpen == true || isthreaded != IsThreadActive) EndTable(); if(iscallback == true) { document.write( "<table class=left2>" + "<th bgcolor=#C0C0C0 >In callback \""+cbname+"\"</th>" + "</table>" ); } document.write("<table"); if(iscallback == true || (isthreaded != IsThreadActive && isthreaded == false && IsCallbackActive == true) ) { document.write(" class=left2"); IsCallbackActive = true; } else if(isthreaded == true) document.write(" class=left1"); IsThreadActive = isthreaded; document.write(">"); if(FirstRun == true) { FirstRun = false; document.write("<thead><th class=time>Time</th><th class=func>Function</th><th class=stat>Status</th><th class=msg>Message</th></thead>"); } document.write("<tbody>"); IsTableOpen = true; } function EndTable() { document.write("</tbody></table>"); IsTableOpen = false; } function Log(time, func, status, msg, isthreaded) { isthreaded = typeof isthreaded !== 'undefined' ? isthreaded : 0; if(IsTableOpen == false || isthreaded != IsThreadActive) StartTable(false, isthreaded, ""); var StatColor, StatText; switch(status) { case LOG_ERROR: StatColor = "RED"; StatText = "ERROR"; break; case LOG_WARNING: StatColor = "#FF9900"; StatText = "WARNING"; break; case LOG_DEBUG: StatColor = "#00DD00"; StatText = "OK"; break; } document.write( "<tr bgcolor="+StatColor+">" + "<td class=time>"+time+"</td>" + "<td class=func>"+func+"</td>" + "<td class=stat>"+StatText+"</td>" + "<td class=msg>"+msg+"</td>" + "</tr>" ); } </script></head><body bgcolor=grey> <h2>Logging started at 04:02, 18.11.2016</h2><script>
Log("04:02:57","mysql_connect",1,"empty connection data specified",0);
Log("04:02:57",""mysql_stat"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01",""mysql_format"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01",""mysql_query"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01","cache_get_row_count",2,"no active cache",0);
Log("04:03:01",""mysql_format"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01",""mysql_query"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01","cache_get_row_count",2,"no active cache",0);
Log("04:03:01",""mysql_format"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01",""mysql_query"",1,"invalid connection handle (id: 0)",0);
Log("04:03:01","cache_get_row_count",2,"no active cache",0);
</script>
thats what i actually see when i try connect from mysql..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)