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) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Gitify Error when Running GenCode.php
Pages: [1]

Author Topic: Gitify Error when Running GenCode.php  (Read 404 times)

Richard Bramley

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7
  • MySQL version: 5.6.13
  • PHP version: 5.4.16
Gitify Error when Running GenCode.php
January 19, 2015, 04:18:03 am
I get the following error when trying to gitify a clean install of CiviCRM:
Code: [Select]
PHP Fatal error:  require_once(): Failed opening required '/var/www/head/sites/all/modules/civicrm/vendor/autoload.php' (include_path='.:../packages:..') in /var/www/head/sites/all/modules/civicrm/CRM/Core/ClassLoader.php on line 82

The problem is that the 'vendor' directory should be within the 'packages' directory.

I tracked the change down to this commit that removed the packages directory for the path in several places.

It looks wrong to me as there is no vendor directory in the CiviCRM base directory, but perhaps these things have moved.   Does anyone have any ideas?

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: Gitify Error when Running GenCode.php
January 19, 2015, 04:46:24 am
https://civicrm.org/blogs/totten/new-46-dev-composer-and-nodejs

We moved it earlier this month. As the blog mentions, we updated "setup.sh" to call composer automatically, but... that doesn't help with gitify.  :-\ I'll try to work on a patch tomorrow. (It's 4am here right now.)

Richard Bramley

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7
  • MySQL version: 5.6.13
  • PHP version: 5.4.16
Re: Gitify Error when Running GenCode.php
January 19, 2015, 06:46:58 am
I've created the issue: CRM-15840.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Gitify Error when Running GenCode.php

This forum was archived on 2017-11-26.