Questions tagged [civix]

The tag has no usage guidance.

3
votes
2answers
608 views

Does class autoloading not work in standalone phpunit testing?

I'm following civix's upgrade instructions to enable unit tests to be executed with standalone phpunit. I've got my code in a work-in-progress git branch. The first commit captures the civix-...
4
votes
2answers
217 views

How can I locate my extension directory?

This question surprised me a bit - but I have no clue about where to locate my extension directory!! Is there a simple way to reliably locate it (either programatically or via the UI)?
3
votes
1answer
209 views

How to add a new entity in CiviCRM extension

As I am new to CiviCRM. I am trying to create a new entity for my extension to add some new data in database schema. The documentation I am following to create a new entity is: https://docs.civicrm....
1
vote
3answers
189 views

Civicrm:ping INI file not found

I have installed civicrm and want to develop an extension. I installed civix for creating this extension but when i run civix civicrm:ping command in my civicrm folder, I get the following error: C:\...
3
votes
2answers
573 views

Civix: Install error: API error: DB Error: already exists

According documentation I created a skeleton module with civix and answered yes to install it. It then gives an error response as in the Title. Afterwards is listed active in the extensions page. ...
2
votes
1answer
49 views

Unable to locate folder xml under the civicrm root directory

I am new to civicrm and trying to build extension. The extension is build and activated. The stage where I got stocked is when I trying to add entity for my civicrm extension. I am following the ...