Questions tagged [civix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
642 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
256 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
212 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
198 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
605 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
50 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 ...
1
vote
1answer
69 views

Runtime Exception Booted CiviCRM, but failed to find 'api/class.api.php'

I created an extension module with civix then cd'd to the module directory and tried to create a custom report based on a copy of an existing report. I used the following command: $ civix generate:...