This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Daemon Run SQL datetime error
#1
Daemon Run SQL datetime error
Hello Community,

the Sentora daemon creates an SQL Error on execution. It starts and ends the apache admin Config Hook and ends then with SQL Error: Incorrect datetime value: '1470140401' for column 'lg_when_ts' at row 1. Where is the datetime-value created? I know where it gets inserted but I didn't found the path where it gets parsed.


Any Ideas how to fix this? Server uses MySQL 5.7
Reply
Thanks given by:
#2
RE: Daemon Run SQL datetime error
Okay, found the problem. The insert actually is time() in panel/dryden/debug/logger.class.php:72 (https://github.com/sentora/sentora-core/...ss.php#L72) which returns the unix timestamp and is not accepted (or it is but always returns false) by mysql. Changed it to use prefered Format: date("Y-m-d H:i:s")
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,829 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,356 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,595 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 3 Guest(s)