The upgrade freezes at 46%. I set Debug Verbosity to 11 within the DatabaseSchema.php file, and looked at the output within the frame of the progress indicator. The install is failing at the following:
I looked at the permission table after the error, and it doesn't have a company_id or a user_id field. However, when I look at the pre-upgrade version of that table, those fields exist. After looking at the log file, I see that during the install, my original permission table was renamed permission_old, and the installer created a new table without those fields.(mysqli): select company_id,user_id,section,name,value from permission where deleted = 0 order by company_id, user_id, section, name Query: select company_id,user_id,section,name,value from permission where deleted = 0 order by company_id, user_id, section, name failed. Unknown column 'company_id' in 'field list'
1054: Unknown column 'company_id' in 'field list'
ADOConnection._Execute(select company_id,user_id,section,name,value from permission where deleted = 0 order by company_id, user_id, section, name, false) % line 1012, file: adodb.inc.php
ADOConnection.Execute(select company_id,user_id,section,name,value from permission where deleted = 0 order by company_id, user_id, section, name) % line 58, file: InstallSchema_1014A.class.php
InstallSchema_1014A.preInstall() % line 168, file: InstallSchema_Base.class.php
InstallSchema_Base.InstallSchema() % line 0, file:
call_user_func_array(Array[2], Array[0]) % line 111, file: InstallSchema.class.php
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysqli error: [1054: Unknown column 'company_id' in 'field list'] in adodb_throw(select company_id,user_id,section,name,value from permission where deleted = 0 order by company_id, user_id, section, name, ) ' in /var/www/html/time_new/classes/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /var/www/html/time_new/classes/adodb/adodb.inc.php(227): adodb_throw('mysqli', 'adodb_throw', 1054, 'Unknown column ...', 'select company_...', false, Object(ADODB_mysqli)) #1 /var/www/html/time_new/classes/adodb/adodb.inc.php(1037): ADODB_TransMonitor('mysqli', 'EXECUTE', 1054, 'Unknown column ...', 'select company_...', false, Object(ADODB_mysqli)) #2 /var/www/html/time_new/classes/adodb/adodb.inc.php(1012): ADOConnection->_Execute('select company_...', false) #3 /var/www/html/time_new/classes/modules/install/InstallSchema_1014A.class.php(58): ADOConnection->Execute('select company_...') #4 /var/www/html/time_new/classes/modules/install/InstallSchema_Base.class.php(168) in /var/www/html/time_new/classes/adodb/adodb-exceptions.inc.php on line 78
I also see in the log file the following error:
Any suggestions? Should I upgrade to an earlier version first, and then to 3.3.2. I also don't mind editing the source code.[3] => Unknown column 'level' in 'field list',[4] => select company_id,name,description,level,created_date,updated_date,id from permission_control where id = -1
I have installed a copy of my log file, as well as a file containing the copy/paste of the text within the frame of the install progress indicator.
Thanks,
-Ben