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) »
  • Moving from localhost to isp
Pages: [1]

Author Topic: Moving from localhost to isp  (Read 5340 times)

jrthor2

  • Guest
Moving from localhost to isp
November 02, 2009, 08:40:17 pm
I just moved my Joomla installation (includig CiviCRM), but I can't seem to get to any CiviCRM page, I get the below

Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /home/vickies/public_html/joomla15/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/joomla15/administrator/components/com_civicrm/civicrm/:/public_html/joomla15/administrator/components/com_civicrm/civicrm//packages:.:/usr/lib/php:/usr/local/lib/php') in /home/vickies/public_html/joomla15/components/com_civicrm/civicrm.php on line 19

I've changed all the paths and db connection strings, but I can't the page to display.  The rest of my Joomla site seems to be working fine.

Thanks

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Moving from localhost to isp
November 03, 2009, 04:33:27 am
Have you followed these instructions: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

Kurund
Found this reply helpful? Support CiviCRM

jrthor2

  • Guest
Re: Moving from localhost to isp
November 03, 2009, 03:52:28 pm
Ok, I followed that documentation, but I am now getting this error when going to the admin url given in the documetation to go to:

Warning: mkdir() [function.mkdir]: Permission denied in /home/vickies/public_html/joomla15/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 115
Error: Could not create directory: /public_html.

If you have moved an existing CiviCRM installation from one location or server to another there are several steps you will need to follow. They are detailed on this CiviCRM wiki page - Moving an Existing Installation to a New Server or Location. A fix for the specific problem that caused this error message to be displayed is to set the value of the config_backend column in the civicrm_domain table to NULL. However we strongly recommend that you review and follow all the steps in that document.

I have run the sql to update the config_backend column to null, but still get this error.

Thanks

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 from localhost to isp
November 03, 2009, 07:33:24 pm

did u follow all the instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

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

jrthor2

  • Guest
Re: Moving from localhost to isp
November 04, 2009, 03:04:21 am
As my post said before, yes, I used those instructions, and I explained the issue I had.

Quote from: jrthor2 on November 03, 2009, 03:52:28 pm
Ok, I followed that documentation, but I am now getting this error when going to the admin url given in the documetation to go to:

Warning: mkdir() [function.mkdir]: Permission denied in /home/vickies/public_html/joomla15/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 115
Error: Could not create directory: /public_html.

If you have moved an existing CiviCRM installation from one location or server to another there are several steps you will need to follow. They are detailed on this CiviCRM wiki page - Moving an Existing Installation to a New Server or Location. A fix for the specific problem that caused this error message to be displayed is to set the value of the config_backend column in the civicrm_domain table to NULL. However we strongly recommend that you review and follow all the steps in that document.

I have run the sql to update the config_backend column to null, but still get this error.

Thanks

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Moving from localhost to isp
November 04, 2009, 05:21:07 am
Can you check if you have specified correct path in for CIVICRM_TEMPLATE_COMPILEDIR in your civicrm.settings.php

Kurund
Found this reply helpful? Support CiviCRM

jrthor2

  • Guest
Re: Moving from localhost to isp
November 04, 2009, 05:37:46 am
I changed that path to be /home/vickies/public_html/joomla15/media/civicrm/templates_c/, which is the full path, and now I get a 500 Internal Server Error.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Moving from localhost to isp
November 04, 2009, 06:20:13 am
Quote
now I get a 500 Internal Server Error.

Can you check your server access / error logs.

Kurund
Found this reply helpful? Support CiviCRM

jrthor2

  • Guest
Re: Moving from localhost to isp
November 05, 2009, 05:51:06 am
I actually uninstalled and re-installed CiviCRM and it seems to be working now.

Thanks!

HP7

  • Guest
Re: Moving from localhost to isp
November 19, 2009, 12:03:58 pm
civiCRM writes a lot of absolute paths and base url in files and the database. So do a search through all your files and database for absolute paths they look something like "/Application/lamp/http/" then change them to match your remote server something like "/var/www/yourdomain.com/public_html/" now do the same for the base URL if it is different then the url on your local machine

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Moving from localhost to isp

This forum was archived on 2017-11-26.