Upgrade to 7.2.1 got SubPanelDefinitions error at end.

Good afternoon,

I tried a 7.1.5 to 7.2.1 upgrade today. Everything went fine until the very last step where I pressed next and I got the following message.

Warning: include_once(/home/crmlocally/public_html) [function.include-once]: failed to open stream: No such file or directory in /home/crmlocally/public_html/include/SubPanel/SubPanelDefinitions.php on line 499

Warning: include_once() [function.include]: Failed opening ‘’ for inclusion (include_path=’/home/crmlocally/public_html:/home/crmlocally/public_html/include/HTMLPurifier/standalone:/home/crmlocally/public_html/include/…:.:/usr/lib/php:/usr/local/lib/php:modules/AOD_Index/Lib’) in /home/crmlocally/public_html/include/SubPanel/SubPanelDefinitions.php on line 499

Fatal error: Class name must be a valid object or a string in /home/crmlocally/public_html/include/SubPanel/SubPanelDefinitions.php on line 500

Then, when I logged in, all the menu’s background color went away, the calendar went blank, and it appeared that nothing took (the 7.2 look was not there). So, I went back to see if I could upgrade again, and the upgrade wizard showed that the package had already been installed and would not allow me to re-upload. So I had to revert back to my backup.

Any ideas?

As a note, I took an install of 7.1.1 that I had done in May of 2014, with zero changes to the out of the box install, and got the following error.

Warning: include_once(/home/olcrm/public_html/toppriority) [function.include-once]: failed to open stream: No such file or directory in /home/olcrm/public_html/toppriority/include/SubPanel/SubPanelDefinitions.php on line 499

Warning: include_once() [function.include]: Failed opening ‘’ for inclusion (include_path=’/home/olcrm/public_html/toppriority:/home/olcrm/public_html/toppriority/include/HTMLPurifier/standalone:/home/olcrm/public_html/toppriority/include/…:.:/usr/lib/php:/usr/local/lib/php:modules/AOD_Index/Lib’) in /home/olcrm/public_html/toppriority/include/SubPanel/SubPanelDefinitions.php on line 499

Fatal error: Class name must be a valid object or a string in /home/olcrm/public_html/toppriority/include/SubPanel/SubPanelDefinitions.php on line 500

We see exactly the same here, upgrade from 7.1.4 to 7.2.1.

PHP Warning: include_once(/var/www/html/suitecrm): failed to open stream: No such file or directory in /var/www/html/suitecrm/include/SubPanel/SubPanelDefinitions.php on line 502, referer: http://suitecrm.blahblah.com/suitecrm/index.php?module=UpgradeWizard&action=index

PHP Warning: include_once(): Failed opening ‘’ for inclusion (include_path=’/var/www/html/suitecrm:/var/www/html/suitecrm/include/HTMLPurifier/standalone:/var/www/html/suitecrm/include/…:.:/usr/share/pear:/usr/share/php:modules/AOD_Index/Lib’) in /var/www/html/suitecrm/include/SubPanel/SubPanelDefinitions.php on line 502, referer: http://suitecrm.blahblah.com/suitecrm/index.php?module=UpgradeWizard&action=index

PHP Fatal error: Class name must be a valid object or a string in /var/www/html/suitecrm/include/SubPanel/SubPanelDefinitions.php on line 503, referer: http://suitecrm.blahblah.com/suitecrm/index.php?module=UpgradeWizard&action=index

File does not exist: /var/www/html/suitecrm/cache/jsLanguage/en_us.js, referer: http://suitecrm.blahblah.com/suitecrm/index.php
File does not exist: /var/www/html/suitecrm/cache/jsLanguage/UpgradeWizard/en_us.js, referer: http://suitecrm.blahblah.com/suitecrm/index.php

In order to fix this we had to continually run the following as it seemed like every file was having it’s owner set to root:root

chown -R apache:apache /var/www/html/suitecrm/*

After each file error we then went back in to the upgrade wizard and the next step was run, then chown’d again.

We then had to do this again when running the repairs as we got variations this error.

PHP Fatal error: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/tempXMmZHV’ -> ‘cache/modules/UserPreferences/UserPreferencevardefs.php’ in /var/www/html/suitecrm/include/utils/sugar_file_utils.php on line 190

and this

PHP Fatal error: sugar_file_put_contents_atomic() : fatal rename failure ‘/tmp/temp8lJt8U’ -> ‘cache/modules/Trackers/Trackervardefs.php’ in /var/www/html/suitecrm/include/utils/sugar_file_utils.php on line 190, referer: http://suitecrm.blahblah.com/suitecrm/index.php?module=UpgradeWizard&action=index

Mark.