Coming from 7.10.7 to 7.10.9 I’m getting “Database failure. Please refer to suitecrm.log for details.”
This is what I see in the LOG
Wed Oct 3 14:56:21 2018 [5812][1][FATAL] log call at: modules/Administration/index.tpl:53 - MY_FRAME is not set
Wed Oct 3 14:56:31 2018 [5812][1][FATAL] log call at: modules/Administration/index.tpl:53 - MY_FRAME is not set
Wed Oct 3 14:56:34 2018 [5812][1][ERROR] Pop error level. Try to remove the error_reporting() function from your code.
Wed Oct 3 14:56:50 2018 [5812][1][FATAL] Mysqli_query failed.
Wed Oct 3 14:56:50 2018 [5812][1][FATAL] Query Failed: ALTER TABLE cases modify COLUMN type dynamicenum NULL : MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘dynamicenum NULL’ at line 1
Wed Oct 3 14:56:50 2018 [5812][1][FATAL] Exception handling in C:\Bitnami\suitecrm-7.9.8-0\apps\suitecrm\htdocs\include\MVC\Controller\SugarController.php:400
Wed Oct 3 14:56:50 2018 [5812][1][FATAL] Exception in Controller: Database failure. Please refer to suitecrm.log for details.
before the upgrade, if you run a Quick Repair and Rebuild, and scroll down to the bottom of the screen, if you get a button to “sync vardefs”, please press it, then retry the upgrade.
It seems your vardef has the “type” column in “cases” table set as having type “dynamicenum”, which isn’t a MySQL data type. So I’d say the error is in your vardef.
That is not the “type” column, that is the “status” column. It’s a bit confusing because we are looking for the “type” attribute of a column that happens to be named “type” :huh:
Also, I said to look in the “custom” directory. My hypothesis is that you have some file in the custom directory, and it’s taking precedence over the main file, and creating this incoherence.
However the entire file might need to be reviewed/removed, not just that line. I am not sure what your requirements are, which custom fields you’re using in Cases, but check them if you can.
It seems you have a custom field called “type”, maybe that was possible at one time, but now I see a default field with that same name in my install, so I don’t think you can add a custom field with the same name.
You will probably need to also change the column name in MySQL, to keep existing data in that field.
Be careful with these changes, if you can get help from someone more technical, please do. And make sure you have backups to go back in case you mess things up.