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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla install on Plesk error - can't find civicrm.settings.php
Pages: [1]

Author Topic: Joomla install on Plesk error - can't find civicrm.settings.php  (Read 4781 times)

netstepinc

  • Guest
Joomla install on Plesk error - can't find civicrm.settings.php
February 25, 2009, 12:54:13 pm
When I run the Joomla install for 2.1.4 as per:
http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Joomla+Installation+Guide

I get
"Cannot open /var/www/vhosts/EXAMPLE.com/httpdocs/administrator/components/com_civicrm/civicrm.settings.php"

The settings file isn't in the dir.
I can add it manually, but I don't have an example of what it should be so I'm stuck.

I tried adding it to the installation directory before the install and still no effect.
com_installer/com_civicrm/admin/civicrm.settings.php

Civi doesn't load because it doesn't know where to find things...missing the settings.

Help?
Is there a sample of this file somewhere I can copy and edit?


administrator/com_civicrm

/civicrm
/admin.civicrm.php
/configure.php
/install.civicrm.php
/toolbar.civicrm.html.php
/toolbar.civicrm.php
/uninstall.civicrm.php

Joomla > Components > CiviCRM = Error:


Warning: include_once(civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/EXAMPLE.com/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 13

Warning: include_once() [function.include]: Failed opening 'civicrm.settings.php' for inclusion (include_path='.:') in /var/www/vhosts/EXAMPLE.com/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 13

Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/EXAMPLE.com/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:') in /var/www/vhosts/EXAMPLE.com/httpdocs/administrator/components/com_civicrm/admin.civicrm.php on line 15


« Last Edit: February 25, 2009, 01:03:29 pm by netstepinc »

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Joomla install on Plesk error - can't find civicrm.settings.php
February 26, 2009, 06:30:50 am
Hi netstepinc,

Did the install finish sucessfully?

Can you see tables starting from civicrm_ in your joomla database?

CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

sobocc

  • Guest
Re: Joomla install on Plesk error - can't find civicrm.settings.php
February 27, 2009, 10:42:18 am
I have the same problem.  During installation the message 'Cannot open /var/www/vhosts/sobocc.org/httpdocs/administrator/components/com_civicrm/civicrm.settings.php' appears alone on a page.  The database tables are created and the component is partially created.  If one goes to the admin interface, and clicks Extensions -> Install/Uninstall -> Components the CivicCRM is Listed, Enabled, with NO Version     Date     Author and Compatibility is Checked.  The file 'civicrm.settings.php' is nowhere to be found, even in the original install files.  My guess is that this file is created on the fly and there are permission problems in creating it.

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: Joomla install on Plesk error - can't find civicrm.settings.php
March 02, 2009, 03:16:41 am
You are right sobocc, if you got the error at the installation time then it is a permission problem. civicrm.settings.php is created during installation. Make sure you have write permissions to the folder /administrator/components and /components.


CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla install on Plesk error - can't find civicrm.settings.php

This forum was archived on 2017-11-26.