we are trying to
- install latest civicrm 5.23
- using latest wordpress 5.3.2
- Using latest version of previous Local by Flywheel (version 3.3.0)
- I want to install in french language.
- I'm following the wordpress install recommandation here: https://docs.civicrm.org/sysadmin/en/latest/install/wordpress/
- All requirements on https://lib.test/wp-admin/options-general.php?page=civicrm-install are fine.
If I change language to french from the install page (I installed correctly the language files) I get immediatly this error.
Fatal error: Uncaught RuntimeException: Undefined constant: CIVICRM_TEMPLATE_COMPILEDIR in /Users/f/local/lib/app/public/wp-content/plugins/civicrm/civicrm/CRM/Utils/File.php on line 583 ( ! ) RuntimeException: Undefined constant: CIVICRM_TEMPLATE_COMPILEDIR in /Users/f/local/lib/app/public/wp-content/plugins/civicrm/civicrm/CRM/Utils/File.php on line 583
So this makes it impossible to install in another language than english which is annoying. Any idea about this ?
If language is set to english, it almost works except for an error in some urls:
On a civicrm submenu, like for example administer -> administration console -> configuration checklist
if I click for example on the "Pages" wordpress menu, the url I end on is https://domaine.test/wp-admin/admin.php/edit.php?post_type=page with a blank screen. This url should be https://domaine.test/wp-admin/edit.php?post_type=page There is systematically this unnecessary "admin.php" in the url. We've tried on another computer with this same local version and we got the same incorrect behaviour. With another instance of civicrm (version 5.17) on this same particul local setup we don't have this error so we think that this is related to one of the following civicrm releases. Any idea about this ?
We also tried on the new local by flywheel (5.2.5 with php 7.3.5 and MySQL 5.7.28) Warning: this news version is a different application and connects differently than older Local to the database, using socket. With that setup we have the same error as above when we change the language on the install page. Then, if we install in english, it installs and generate the tables and the settings file in uploads/civivrm Nonetheless I systematically gets several "network error" alerts... and civicrm is not working. Any idea how to set civicrm with this new version of flywheel ?