-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in enabling database #54
Comments
Hi badguyp, I have noticed and fixed this bug in version 1.5. But I will try to release a fix for you today. |
Update: Inserts for private chat and public chat have manually been tested. |
A new release is out. Could you reimport the database table (I updated the import file) and verify it works now for you? |
Hello badguyp, I think in newer php versions (7 and up) this style of code could also be fixed with the following line. $statement->execute(
[
'to_id' => $to_id ?? null,
'from_id' => $from_id,
'message' => $message,
'ip_address' => $ip_address
]
); PS: Your English is good enough for me. I hope you enjoy your update, I am still working on a 1.5 update that will bring SSL and docker support for the project. |
Hello johnnymast, |
That is true but i also have 97 repos to take care of :) |
Expected behavior
Actual behavior
Steps to reproduce the behavior
1.Download the project code
2.Create database
3.Turn on ENABLE_DATABASE(define('ENABLE_DATABASE', TRUE);)
My php version 7.3
My mysql version 5.7
If you can hope for a reply, thank you
The text was updated successfully, but these errors were encountered: