CiviCRM first-time user here, trying to install on a system with the following specs:
- Host: Hostgator shared hosting
- CMS: WordPress 5.7.2
- Database client version: libmysql - 5.6.43
- PHP version: 7.3.28
I downloaded civicrm-5.39.0-wordpress.zip from the CiviCRM website and uploaded using the WordPress plugin-install.php tool. Success.
It loads right into the CiviCRM Installer. There was one warning which appeared to have an optional fix - it suggested something about switching over to utf8mb4. I ignored that because it said the installation should still work. I selected the base option I wanted - no sample data, membership module only.
After the installer ran, I was taken to a screen within WordPress that said there was a critical error and I should check the site admin email inbox. I'm not the site admin, so I checked the error log via File Manager and pulled this out:
PHP Warning: Invalid argument supplied for foreach() in /home3/jmaurer/public_html/wp-content/plugins/civicrm/civicrm/Civi/Core/SettingsBag.php on line 354
I refreshed the page with the "critical error" message and this is what was displayed:
Initialization Error
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => simpleHandler
)
[code] => -18
[message] => DB Error: no such table
[mode] => 16
[debug_info] => SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id
FROM civicrm_setting
WHERE (domain_id = 1) AND (is_domain = 1)
[nativecode=1146 ** Table 'jmaurer_mcoanew.civicrm_setting' doesn't exist]
[type] => DB_Error
[user_info] => SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id
FROM civicrm_setting
WHERE (domain_id = 1) AND (is_domain = 1)
[nativecode=1146 ** Table 'jmaurer_mcoanew.civicrm_setting' doesn't exist]
[to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info="SELECT id, name, value, domain_id, contact_id, is_domain, component_id, created_date, created_id
FROM civicrm_setting
WHERE (domain_id = 1) AND (is_domain = 1)
[nativecode=1146 ** Table 'jmaurer_mcoanew.civicrm_setting' doesn't exist]"]
I deactivated the plug-in via File Manager so at least the site is back up and running, but I'm at a loss as to what's causing this installation issue. Help!?!?