CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Extension doesn't show up in list
Pages: [1]

Author Topic: Extension doesn't show up in list  (Read 506 times)

i2c2k

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.8.1
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Extension doesn't show up in list
October 05, 2013, 09:06:16 am
Hey there, I've managed to get civix installed and successfully created a new extension. At least I guess it worked because of the positive output:

civix generate:module XXX
Initalize module XXX
Write ...
Write ...
Write ...
NOTE: This might be a good time to refresh the extension list and install "XXX".

Unfortunately the extension list doesn't show my extension. Instead of that it shows me this error message:

Failed Fetching List
Could not retrieve a list of extensions from the CiviCRM public directory at XXX - please contact CiviCRM team on CiviCRM forum.

By the way: If i try "print file_get_contents('XXX');" it works out fine. Maybe you can give me some hints on that...?
But my main problem is that my local just created extension doesn't show up. Am I doing something wrong here?

Thanks very much in advance!

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: Extension doesn't show up in list
October 09, 2013, 02:26:57 pm
Can you add a "print_r" or equivalent in the ./CRM/Extension/Browser.php file to see what is the value of $extdir before this line:     $lines = explode("\n", $extdir); ? (aprox line 225)

Not sure what may be the cause. From your test, it seems that your hosting is not blocking outgoing http requests. And in any case, if fetching remote extensions fail, it should still list the local ones. (more probably a file permission issue on the extension directory.)
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Extension doesn't show up in list

This forum was archived on 2017-11-26.