Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.7.25
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
When installing CiviCRM, after the green 'installation successful' message appears, the post -installation process stalls or throws an error (if it stalls, clicking on CiviCRM in the admin panel will throw the following error:
Uncaught CRM_Core_Exception: [0: Found installation canary. This suggests that something went wrong with tracking installation process. Please post to forum or JIRA
There is a postabout this on civicrm/stackechange.com ( https://civicrm.stackexchange.com/questions/19200/fatal-error-uncaught-crm-core-exception-civi-core-installationcanary-php-on-li ) where the installation sometimes succeeds if the civicrm_installation_canary table is dropped, uploads/civicrm is deleted and the installation re-attempted.
I was installing CiviCRM on a testing server which is configured to show error messages that might not appear on a live sever, so I also saw the following timeout error:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Users\Don\Documents\webs\Spectrumz\blog\wp-content\plugins\civicrm\civicrm\packages\DB\common.php on line 2202
After I increased the max_execution_time parameter in php.ini CiviCRM installed correctly, finished the post-installation and proceeded to open the CiviCRM admin window.
I suspect that the post installation process may be long enough that it can time out on slower servers if max_execution_time is set to the php default of 30 seconds. Perhaps a line of code should be added in the post installation process to give it more time.