Updated to 7.11.2 yesterday. System worked fine but this morning when I went to the site:
Blank page. Inspect->Console
Resource interpreted as Document but transferred with MIME type image/gif: âhttps://www.ctobvalue.com/crm77/index.php?entryPoint=getImage&imageName=blank.pngâ. index.php?action=Login&module=Users:59
Same thing with Chrome, FF, and Edge, + Incognito Mode.
Nothing in the error logs.
Contents of php.ini:
display_errors = On
max_execution_time = 90
max_input_time = 60
max_input_vars = 1000
memory_limit = 512M
post_max_size = 64M
session.gc_maxlifetime = 1440
session.save_path = â/var/cpanel/php/sessions/ea-php70â
upload_max_filesize = 64M
zlib.output_compression = Off
date.timezone=âUTCâ
Display Errors on:
Warning: include(/home/MySuiteCRMcrm/public_html/crm77/vendor/composer/âŚ/âŚ/lib/SuiteCRM/Utility/SuiteLogger.php): failed to open stream: No such file or directory in /home/MySuiteCRMcrm/public_html/crm77/vendor/composer/ClassLoader.php on line 444
Warning: include(/home/MySuiteCRMcrm/public_html/crm77/vendor/composer/âŚ/âŚ/lib/SuiteCRM/Utility/SuiteLogger.php): failed to open stream: No such file or directory in /home/MySuiteCRMcrm/public_html/crm77/vendor/composer/ClassLoader.php on line 444
Warning: include(): Failed opening â/home/MySuiteCRMcrm/public_html/crm77/vendor/composer/âŚ/âŚ/lib/SuiteCRM/Utility/SuiteLogger.phpâ for inclusion (include_path=â/home/MySuiteCRMcrm/public_html/crm77:/home/MySuiteCRMcrm/public_html/crm77/include/âŚ:.:/opt/cpanel/ea-php72/root/usr/share/pearâ) in /home/MySuiteCRMcrm/public_html/crm77/vendor/composer/ClassLoader.php on line 444
Fatal error: Uncaught Error: Class âSuiteCRM\Utility\SuiteLoggerâ not found in /home/MySuiteCRMcrm/public_html/crm77/include/utils/recaptcha_utils.php:206 Stack trace: #0 /home/MySuiteCRMcrm/public_html/crm77/modules/Users/Login.php(163): displayRecaptcha() #1 /home/MySuiteCRMcrm/public_html/crm77/include/MVC/View/SugarView.php(834): include_once(â/home/MySuiteCRMâŚâ) #2 /home/MySuiteCRMcrm/public_html/crm77/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile(âmodules/Users/LâŚâ) #3 /home/MySuiteCRMcrm/public_html/crm77/include/MVC/View/SugarView.php(226): ViewClassic->display() #4 /home/MySuiteCRMcrm/public_html/crm77/include/MVC/Controller/SugarController.php(435): SugarView->process() #5 /home/MySuiteCRMcrm/public_html/crm77/include/MVC/Controller/SugarController.php(375): SugarController->processView() #6 /home/MySuiteCRMcrm/public_html/crm77/include/MVC/SugarApplication.php(113): SugarController->execute() #7 /home/MySuiteCRMcrm/public_html/crm77/index.php(52): SugarApplication->execute() #8 {main} t in /home/MySuiteCRMcrm/public_html/crm77/include/utils/recaptcha_utils.php on line 206
Was your upgrade successful?
Do you have anything in upgradeWizard.log related to fail entry or something? It seems your vendor directory wonât have few directories. Maybe missed during upgradration.
- Make sure you have a correct version of PHP and SuiteCRM https://docs.suitecrm.com/admin/compatibility-matrix/
- You can get an updated vendor directory by installing a composer or upgrading it. NOTE: I am not 100% sure about this, there were few discussion was going on here in a forum.
I donât know what âInstalling a composer and updating itâ means.
I was able to use the crm after the upgrade. The blank screen was the next day.
vendor/composer folder has the same file names in it as the 7.10 version.
Upgrade wizard appears to work⌠there were several entries like this:
Thu, 21 Mar 2019 14:43:12 +0000 [UpgradeWizard] - upgrade custom cleanup: debug: update logic hook and entry point registry in custom/themes/default/images/jjwg_Maps/0-216/marker_180.png for module: [module is not set]
bit Iâm not sure if thatâs an error.
also
Thu, 21 Mar 2019 14:43:12 +0000 [UpgradeWizard] - upgrade custom cleanup: debug: file not found: /home/MySuiteCRMcrm/public_html/crm77/custom/include/MVC/Controller/entry_point_registry.php - current working dir: /home/MySuiteCRMcrm/public_html/crm77
Thu, 21 Mar 2019 14:43:12 +0000 [UpgradeWizard] - upgrade custom cleanup: debug: custom/include/MVC/Controller/entry_point_registry.php file not found or doesnât have contents. Current working dir: /home/MySuiteCRMcrm/public_html/crm77
On looking at the php debug log, I noticed that the error seemed to want to call SuiteLogger.php in the /lib/SuiteCRM/utilities folder. This folder was empty.
I copied the contents of this folder from the backup 7.10.14 and it appears to work.
Why this folder was not created properly and what else could be missing is something Iâd like to investigate further.