Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.5
-
Fix Version/s: 4.2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
I downloaded civix on Aug 8 at 17:00. Might be nice to put a version into it somewhere so I could report that.
Using the instructions I created an extension. But it left <?= $mainFile ?> in both the myextension.php and myextension.civix.php files that caused errors. $mainFile was not defined and the < was a problematic character for the PHP parser when the file was executed. I've substituted myextension in for this string. Also, I needed to replace <?= $_namespace ?> in _myextension_civix_upgrader function in myextension.civix.php in two places, as well as in CRM/Myextension/Upgrader/Base.php in a few places, and in CRM/Myextension/Upgrader.php in two places in order to get the extension to install.