Hey all,
can you help me please
Got this error
SQL ERROR
MySQL server has gone awayin /home/admin/web/include/functions.php, line 157
line is in fuctions.php
Code:
function write_log($text)
{
$text = sqlesc($text);
$added = sqlesc(get_date_time());
mysqli_query($GLOBALS["___mysqli_ston"], "INSERT INTO sitelog (added, txt) VALUES($added, $text)") or sqlerr(__FILE__, __LINE__);
}
and ErrorLog say
Code:
PHP Warning: Error while sending QUERY packet. PID=23744 in /home/admin/web/public_html/userdetails.php on line 240
Code:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /home/admin/web/public_html/include/functions.php on line 154