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) »
  • Error after moving base dir
Pages: [1]

Author Topic: Error after moving base dir  (Read 6434 times)

vasacampana

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5.4
  • CMS version: Joomla 3
  • MySQL version: 5.5
  • PHP version: 5.3
Error after moving base dir
March 02, 2010, 02:44:00 am
I had to move the site directory from "C:/apache/apche2.2/htdocs/mysite" to "C:/Intranet/mysite".
CCRM now gives the error:

We could not write C:\IntraNet\htdocs\chc\media\civicrm\templates_c\en_US\ConfigAndLog\ivicrm\templates_c\en_US\ConfigAndLog\Config.IDS.ini. Have you moved your site directory or server?
Please fix the setting by running the update config script

I have tried different values for New Base Directory:
"C:/Intranet/mysite"
"C:\IntraNet\htdocs\mysite\media\civicrm\templates_c\en_US\ConfigAndLog"
... and others.

PHP.log gives:
[02-Mar-2010 11:44:22] PHP Warning:  file_put_contents(C:\IntraNet\htdocs\mysite\media\civicrm\templates_c\en_US\ConfigAndLog\ivicrm\templates_c\en_US\ConfigAndLog\Config.IDS.ini) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: No such file or directory in C:\IntraNet\htdocs\chc\administrator\components\com_civicrm\civicrm\CRM\Core\IDS.php on line 118

Apache error.log gives:
[Tue Mar 02 11:41:17 2010] [error] [client 127.0.0.1] File does not exist: C:/IntraNet/htdocs/mysite/\xc2\xadministrator, referer: http://localhost/mysite/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1
« Last Edit: March 02, 2010, 02:54:24 am by taxidimu »

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: Error after moving base dir
March 02, 2010, 02:51:37 am
Please follow instructions mentioned here: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

HTh
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Error after moving base dir

This forum was archived on 2017-11-26.