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) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM SVN build and Fatal Error
Pages: [1]

Author Topic: CiviCRM SVN build and Fatal Error  (Read 1583 times)

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
CiviCRM SVN build and Fatal Error
October 08, 2009, 06:16:38 pm
I tried to install CiviCRM via SVN but I got this error after I activated CiviCRM module:
Code: [Select]
Fatal error: require_once() [function.require]: Failed opening required 'CRM/Utils/System/%%cms%%.php' (include_path='.:/home/mrl586/public_html/drupal/sites/all/modules/civicrm:/home/mrl586/public_html/drupal/sites/all/modules/civicrm/packages:.:/opt/lampp/lib/php') in /home/mrl586/svn/civicrm/CRM/Utils/System.php on line 960Line 960 seems like this:
require_once(str_replace('_', DIRECTORY_SEPARATOR, $config->userFrameworkClass) . '.php');

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM SVN build and Fatal Error
October 08, 2009, 06:24:26 pm

did u follow the instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+from+subversion+%28SVN%29+repository

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: CiviCRM SVN build and Fatal Error
October 08, 2009, 06:34:24 pm
Quote from: Donald Lobo on October 08, 2009, 06:24:26 pm
did u follow the instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+from+subversion+%28SVN%29+repository
Yes.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM SVN build and Fatal Error
October 08, 2009, 06:40:09 pm

u need to fix your civicrm.settings.php file and ensure that it has the right values.

Specifically:

define( 'CIVICRM_UF'               , 'Drupal'        );


seems like the above setting is set to '%%cms%%' in your settings file

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: CiviCRM SVN build and Fatal Error
October 08, 2009, 07:09:23 pm
Thx. This fixed that issue. But where I can find CiviCRM menu on Drupal? I tried URL http://localhost/~mrl586/drupal/?q=civicrm/dashboard&reset=1 but Drupal says that page doesn't found

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM SVN build and Fatal Error
October 09, 2009, 08:00:35 am

if i had to guess you have not enabled the civicrm module or u missed a few steps from the svn install page

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM SVN build and Fatal Error

This forum was archived on 2017-11-26.