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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Need help transfering site
Pages: [1]

Author Topic: Need help transfering site  (Read 2349 times)

happyHacker

  • Guest
Need help transfering site
August 24, 2009, 05:53:17 am
I'm going round in circles. I have followed the instr. to transfer to another host but am getting:

# warning: file_put_contents(Config.IDS.ini) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/acdclient/sites/all/modules/civicrm/CRM/Core/IDS.php on line 115.

when I go to: http://192.168.0.2/acdclient/index.php?q=admin/setting/updateConfigBackend?reset=1.

(I tried using http://192.168.0.2/acdclient/admin/setting/updateConfigBackend?reset=1 but I get PAGE NOT FOUND because I think the Clean URLs is still stuck (I have managed to switch this over so in the DB it is not set to this)).

I also get:

Fatal error: Uncaught exception 'Exception' with message 'Configuration file could not be found' in /var/www/acdclient/sites/all/modules/civicrm/packages/IDS/Init.php:134 Stack trace: #0 /var/www/acdclient/sites/all/modules/civicrm/packages/IDS/Init.php(87): IDS_Init->setConfigPath('Config.IDS.ini') #1 /var/www/acdclient/sites/all/modules/civicrm/packages/IDS/Init.php(115): IDS_Init->__construct('Config.IDS.ini') #2 /var/www/acdclient/sites/all/modules/civicrm/CRM/Core/IDS.php(131): IDS_Init::init('Config.IDS.ini') #3 /var/www/acdclient/sites/all/modules/civicrm/CRM/Core/Invoke.php(78): CRM_Core_IDS->check(Array) #4 /var/www/acdclient/sites/all/modules/civicrm/drupal/civicrm.module(326): CRM_Core_Invoke::invoke(Array) #5 [internal function]: civicrm_invoke('dashboard') #6 /var/www/acdclient/includes/menu.inc(348): call_user_func_array('civicrm_invoke', Array) #7 /var/www/acdclient/index.php(18): menu_execute_active_handler() #8 {main} thrown in /var/www/acdclient/sites/all/modules/civicrm/packages/IDS/Init.php on line 134

I have renamed Config.IDS.ini but that does not help.

My Config_backend URLs are of the form ":"/var/www/acdclient/sites/default/files/civicrm/upload/";s:14". There are 4 of them.

I am hosting on Ubuntu server. I have copied the DB accross and the file set. The first civiCRM module is enabled.

Advice appreciated.
« Last Edit: August 24, 2009, 05:56:49 am by happyHacker »

happyHacker

  • Guest
Re: Need help transfering site
August 24, 2009, 06:06:08 am
I have just NULLed the config_backend field again and now I get the civiCRM menus and not the failure mentioned above.

So, now my problem is I can use the left menu dropdown to "Create new individual" to get a page URL of: http://192.168.0.2/acdclient/index.php?q=civicrm/contact/add&ct=Individual&reset=1"

I cannot however use any of the top menu (black) URLs which are of the form: "http://192.168.0.2/acdclient/civicrm/contact/add&reset=1&ct=Individual" which give me an error page: The requested URL /acdclient/civicrm/contact/add&reset=1&ct=Individual was not found on this server."

But if I change the URL to: "http://192.168.0.2/acdclient/index.php?q=civicrm/contact/add&reset=1&ct=Individual"it works.

This is the same for every link in the civiCRM top menu.

Can anyone advise what I need to do to correct these URLs?

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: Need help transfering site
August 24, 2009, 11:10:10 pm
This might help:

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

Kurund
Found this reply helpful? Support CiviCRM

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Need help transfering site
August 25, 2009, 02:32:28 am
Quote from: happyHacker on August 24, 2009, 06:06:08 am
So, now my problem is I can use the left menu dropdown to "Create new individual" to get a page URL of: http://192.168.0.2/acdclient/index.php?q=civicrm/contact/add&ct=Individual&reset=1"

I cannot however use any of the top menu (black) URLs which are of the form: "http://192.168.0.2/acdclient/civicrm/contact/add&reset=1&ct=Individual" which give me an error page: The requested URL /acdclient/civicrm/contact/add&reset=1&ct=Individual was not found on this server."

But if I change the URL to: "http://192.168.0.2/acdclient/index.php?q=civicrm/contact/add&reset=1&ct=Individual"it works.

This is because menu URLs were cached with the ‘clean URLs’ option on. As Kurund pointed out, try visiting http://192.168.0.2/acdclient/index.php?q=civicrm/menu/rebuild&reset=1
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

happyHacker

  • Guest
Re: Need help transfering site
August 25, 2009, 02:50:04 am
Thanks to both replies. I have used the Karund URL page Moving+an+Existing+Installation+to+a+New+Server+or+Location but it did not go cleanly and I've ended up with some "broken" URLs and goign round in circles. I think I'm getting there.

For Piotr's suggestion I will try that tomorrow when I'm back at the office and then report back.

ThePayIsLousy

  • Guest
Re: Need help transfering site
September 06, 2009, 02:20:40 pm
happyHacker,

Are you using Drupal?  I made some additions to the 3.0 "Moving" doc -- these steps worked for me:
http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Moving+an+Existing+Installation+to+a+New+Server+or+Location

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Need help transfering site

This forum was archived on 2017-11-26.