Hi,
we are currently working on an upgrade and we are facing an strange issue when upgrading van 7.8.2.2 to 7.9.5.0. After we solved all the red and yellow flags we continued with the install (using silent installer). We eventually hit the following error:
*************** Step "unpack" OK - 5 seconds Health check passed (green flags). Please refer to the log file /opt/upgrade/upgrade.log * Are you sure you want to continue? (Yes/No) yes *************** Step "healthcheck" OK - 29 seconds *************** Step "pre" OK - 16 seconds *************** Step "commit" OK - 18 seconds PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /data/www/htdocs/include/database/DBManagerFactory.php on line 144 PHP Fatal error: Class 'DBManagerFactory' not found in /data/www/htdocs/data/SugarBean.php on line 494 *************** Step "post" FAILED! - 2 seconds
I've looked into the DBManagerFactory and on that specific line wrapper classes are initialized. When I look into the classes that are in there I don't see any issues with these files? The only thing that worries me is. That file is missing methods. Can I savely assume that this is the file that gives the error (which I find odd cause it doesnt match with the error). Or where should we start to look?
include_once('include/database/MssqlManager.php');
/**
* SQL Server driver for FreeTDS
*
* @deprecated Use SqlsrvManager instead
*/
class FreeTDSManager extends MssqlManager
{
We did a similar upgrade on a test environment a while ago (wich was a backup of the production) and never faced these kind of issues.