Hi all,
Iām attempting to setup SuiteCRM 7.13.4 for the very first time on an Ubuntu 22.04 LTS VM. The System Environment page (Step 1 of 2 - Pre-installation requirements) comes up with all checks as OK
However step 2 fails after correcly entering the database information and clicking next.
The error message at the browser is:
The page isnāt working ā¦ currently unable to handle this request.
If I look at /var/log/apache2/suitecrm_error.log
, I get:
[Wed Aug 30 12:27:06.310021 2023] [php:warn] [pid 1722] [client 192.168.100.163:64847] PHP Warning: Trying to access array offset on value of type null in /var/www/html/SuiteCRM-7.13.4/include/utils.php on line 1873
[Wed Aug 30 12:29:46.847868 2023] [php:error] [pid 1724] [client 192.168.100.163:65098] PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in /var/www/html/SuiteCRM-7.13.4/install/performSetup.php on line 715, referer: http://suitecrm.aosgrp.net/install.php
Here are more details:
- The version of Apache is 2.4.52
- The version of PHP is 8.1.2-1ubuntu 2.14
- Checked the version of the database (MariaDB)
mysql --version
mysql Ver 15.1 Distrib 10.6.12-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
Iāve also checked the compatibility matrix at Compatibility Matrix :: SuiteCRM Documentation and I satisfy the requirements.
Interestingly I found the following link:
After I made the suggested change to the file performSetup.php
, i.e.
//$GLOBALS = $varStack['GLOBALS'];
// foreach ($varStack['defined_vars'] as $__key => $__value) {
// $$__key = $__value;
// }
foreach($varStack[āGLOBALSā] as $key => $value) {
$GLOBALS[$key] = $value;
}
ā¦ I was able to run the installation wizard to completion.
It seems I can log, access all menus and create a contact with no issues.
However there are numerous warnings being reported in the file /var/log/apache2/suitecrm_error.log
:
[Wed Aug 30 14:37:50.679874 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "customCode" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%14^148^14804A90%%DashletGenericDisplay.tpl.php on line 184, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.679887 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "tabindex" in /var/www/html/SuiteCRM-7.13.4/include/Smarty/plugins/function.sugar_field.php on line 104, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.680073 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "url" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%74^74F^74FBB9DE%%DashletGenericAutoRefresh.tpl.php on line 29, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.680779 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "done" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%AE^AE9^AE9373ED%%SugarFeedScript.tpl.php on line 32, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.680952 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "script" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%36^364^364F619D%%MySugar2.tpl.php on line 58, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.680985 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "script" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%36^364^364F619D%%MySugar2.tpl.php on line 58, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.680994 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "script" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%36^364^364F619D%%MySugar2.tpl.php on line 58, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.681075 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "script" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%36^364^364F619D%%MySugar2.tpl.php on line 58, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
[Wed Aug 30 14:37:50.681150 2023] [php:warn] [pid 1385] [client 192.168.100.163:57403] PHP Warning: Undefined array key "lock_homepage" in /var/www/html/SuiteCRM-7.13.4/cache/smarty/templates_c/%%36^364^364F619D%%MySugar2.tpl.php on line 124, referer: http://suitecrm.aosgrp.net/index.php?action=ajaxui
Is it possible this is a known bug ? I donāt know if I should push ahead with the current setup taking into account it seems to work fine (so far)