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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • civicrm.settings.php
Pages: [1]

Author Topic: civicrm.settings.php  (Read 1380 times)

ino

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: Linux ct158054.
  • CMS version: joomla 3.3.6
  • MySQL version: 5.5.38
  • PHP version: 5.4.29
civicrm.settings.php
October 21, 2014, 02:23:18 pm
as you have to configure when you move your joomla site with CiviCRM on a server with cpanel?

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: civicrm.settings.php
October 21, 2014, 04:02:16 pm
Could you clarify what your question is? 
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

ino

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: Linux ct158054.
  • CMS version: joomla 3.3.6
  • MySQL version: 5.5.38
  • PHP version: 5.4.29
Re: civicrm.settings.php
October 22, 2014, 01:43:14 am
I am trying to transfer the site joomla - CiviCRM with akeebabackup on a hosting with cpanel and local with MAMP with negative outcomes

This is the error that I see when I log in as administrator on the panel of joomla.

Warning: require_once(CRM/Core/ClassLoader.php) [function.require-once]: failed to open stream: No such file or directory in /home/burcioo/public_html/civic/administrator/components/com_civicrm/civicrm.settings.php on line 350

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/ClassLoader.php' (include_path='.:/var/www/vhosts/civic.burcio.org/public_html/administrator/components/com_civicrm/civicrm:/var/www/vhosts/civic.burcio.org/public_html/administrator/components/com_civicrm/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/burcioo/public_html/civic/administrator/components/com_civicrm/civicrm.settings.php on line 350

This is the path of configuration.php

public $log_path = '/home/account_cpanel/public_html/logs';
public $tmp_path = '/home/account_cpanel/public_html/tmp';

Regards
Ino

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civicrm.settings.php
October 22, 2014, 04:28:43 am
You must edit both copies of civicrm.settings.php when you change servers. See here for the documentation on this:

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Dan C

  • I post frequently
  • ***
  • Posts: 179
  • Karma: 17
  • CiviCRM version: All
  • CMS version: Joomla 2.5 and 3.X, Drupal 7, Wordpress 3.7 and up
  • MySQL version: 5.1.7 and up
  • PHP version: 5.3.5 and up
Re: civicrm.settings.php
October 22, 2014, 05:28:32 am
As Hershel said, you need to update the paths in the civicrm.settings.php file.  In Joomla this is in two places, /administrator/components/com_civicrm/ and /components/com_civicrm/.  You will also need to update the paths in the civicrm.config.php file in /administrator/components/com_civicrm/civicrm/
CrusonWeb - Web Development, Implementation, and Support.  Specializing in CiviCRM and Joomla (although also knowledgable in Wordpress and Drupal as well).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • civicrm.settings.php

This forum was archived on 2017-11-26.