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) »
  • setup.sh failure on the latest master?
Pages: [1]

Author Topic: setup.sh failure on the latest master?  (Read 590 times)

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
setup.sh failure on the latest master?
January 23, 2014, 05:58:26 am
On the latest master I have a problem. Running ./setup.sh has been giving me this error since yesterday. I have the core, packages and drupal folders all on the master branch.

Code: [Select]
PHP Fatal error:  Uncaught exception 'Exception' with message 'Failed to locate template for civicrm.config.php' in /var/www/xyz/sites/all/modules/civicrm/CRM/Core/CodeGen/Config.php:29

Any suggestions?
Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: setup.sh failure on the latest master?
January 23, 2014, 10:50:36 am
Well, I'm not currently replicating the problem, and I don't know that anything has changed there in the past week, but a few thoughts:

1. The code which locates that file is https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/CodeGen/Config.php#L44

2. It might be helpful to check the values of $cms and getcwd() when that function executes (eg with a break-point or an print statement -- var_dump(array('cms'=>$cms,'cwd'=>getcwd(),'candidates'=>$candidates)); ) Then see if/why those file paths don't work.

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
Re: setup.sh failure on the latest master?
January 24, 2014, 03:21:39 pm
Tim,
Thank you for checking. I must have messed something up. I will troubleshoot then so thanks for the tips.
Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • setup.sh failure on the latest master?

This forum was archived on 2017-11-26.