So, I was told that the "4 hours ago" problem was due to the fact that the server's time was not synced with the MySQL database. To fix this problem, the following line is added to the file includes/config.php
date_default_timezone_set("Etc/GMT+4");
Now everything looks right. If you just post something, the post message will be "seconds ago". Btw, if you are also using phpDolphin and happen to encounter some sort of SMTP mail server error, need to put additional fields in your profile page, or want to edit footer links, please check out my other blog post here.
No comments:
Post a Comment