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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Moving Joomla!/CiviCRM to production site causes problems
Pages: [1]

Author Topic: Moving Joomla!/CiviCRM to production site causes problems  (Read 1451 times)

Franklin

  • Guest
Moving Joomla!/CiviCRM to production site causes problems
September 15, 2009, 01:22:26 pm
Hey there,

I recently built a Joomla! powered CiviCRM site and everything went well. Now that teh website is finished, I moved it to the live domain and I get the following errors:

Code: [Select]
Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /home/balanszw/public_html/components/com_civicrm/civicrm.php on line 19

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/public_html/administrator/components/com_civicrm/civicrm:/public_html/administrator/components/com_civicrm/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/balanszw/public_html/components/com_civicrm/civicrm.php on line 19

As far as I know I made all the steps that are described in this forum thread but nothing seems to help. Can anyone help me out with this?

Your answers and help are much appreciated!

Franklin (The Netherlands)
Joomla! 1.5.14
CiviCRM 2.2.7

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Moving Joomla!/CiviCRM to production site causes problems
September 15, 2009, 06:23:19 pm
Franklin - I would double check both copies of your settings files (civicrm.settings.php) - in <joomla_root>/components/com_civicrm and <joomla_root>/administrator/components/com_civicrm - and particularly the civicrm_root value.

Also double check this step:
Joomla: Update the following file to use the correct path:
    * /administrator/components/com_civicrm/civicrm/civicrm.config.php

Based on the error, one of your config settings is still pointing to the directory structure from your development install (which I assume was in /home/balanszw/public_html/components/com_civicrm)
Protect your investment in CiviCRM by  becoming a Member!

thoni56

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
  • CiviCRM version: 4.7.3
  • CMS version: Joomla 3.4.8
Re: Moving Joomla!/CiviCRM to production site causes problems
January 25, 2011, 10:36:51 am
Quote
Also double check this step:
Joomla: Update the following file to use the correct path:
    * /administrator/components/com_civicrm/civicrm/civicrm.config.php

This seems to be essential information which is not to be found on the "Moving an Existing Install" wiki page...

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: Moving Joomla!/CiviCRM to production site causes problems
January 25, 2011, 11:04:35 am

The wiki page is editable by the community. Can you please fix it and add the below information based on your experiences

thanx

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

thoni56

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
  • CiviCRM version: 4.7.3
  • CMS version: Joomla 3.4.8
Re: Moving Joomla!/CiviCRM to production site causes problems
January 25, 2011, 11:38:15 am
Sure. Unfortunately this important tip did not help me out. I had high hopes that this was the important piece that I was missing, but it was not.

Maybe I should start a new topic, but I used Akeeba (Joomla is my CMS) to backup the complete site, excluded the tables, content and files as suggested in the "Moving" wiki article, but still I get a 500 message which is kind of more serious. BTW, I get that also when trying the "rebuild menu" and the "updateConfigBackend" URL:s.

I suppose I'll have to look at the server logs (somehow...)

thoni56

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 1
  • CiviCRM version: 4.7.3
  • CMS version: Joomla 3.4.8
Re: Moving Joomla!/CiviCRM to production site causes problems
January 25, 2011, 12:56:49 pm
Ok. Works now. I just missed a few file paths. I've updated the documentation with a tip based on my experiences.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Moving Joomla!/CiviCRM to production site causes problems

This forum was archived on 2017-11-26.