lxdware / lxd-dashboard

This LXD dashboard is a web-based user interface (GUI) for managing containers and virtual machines through LXD
https://lxdware.com
GNU Affero General Public License v3.0
310 stars 37 forks source link

external_port is an integer #33

Closed kay0u closed 2 years ago

kay0u commented 2 years ago

Adding or updating an host do nothing. When I print the error $stmt->errorInfo() with error_log(print_r($stmt->errorInfo(), true)); I have the message:

FastCGI sent in stderr: "PHP message: Array ( [0] => 22007 [1] => 1366 [2] => Incorrect integer value: '' for column lxd_dashboard.lxd_hosts.external_port at row 1 )"

matthewalanpenning commented 2 years ago

Thanks for bug fix kay0u! I will roll this into the next release this weekend. Interestingly it was still working on my setup despite the variable type difference.

matthewalanpenning commented 2 years ago

Thanks kay0u! Changes have been added to v3.2.0