3

I have created a new extension on civicrm using civix on the CLI. It installs successfully and then asks if I would like to enable it. When I say yes I get the Install error: unknown extension. Please assist error message

1 Answers1

2

Actually it turns out that I just had to point the CLI to "C:\xampp\htdocs\civicrm\sites\default\files\civicrm\ext" which is where all extensions should be installed

  • I got same error, and found your answer helpful. but my extension is not yet listed in the extension list. what should be the very next step? Socondly, don't know how you find your solution, but this path is not mentioned in the online documentation. where did you go then? – Amit Shah Jul 24 '18 at 11:09
  • @Alvaro Masitsa: When you say "I just had to point the CLI to C:\xampp\htdocs\civicrm\sites\default\files\civicrm\ext", you mean that the `civix` command must be executed in the directory "C:\xampp\htdocs\civicrm\sites\default\files\civicrm\ext", for the record. – Pierre François Feb 05 '23 at 21:45