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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Directory paths gone wrong
Pages: [1]

Author Topic: Directory paths gone wrong  (Read 1827 times)

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Directory paths gone wrong
August 06, 2010, 05:32:12 pm
Hi,

I have moved a civicrm installation from one server to another, it's sitting on a joomla 1.5.20 site.
I deleted any trace of civic from the file directories /administrator/components/, /components/, /media/civicrm/templates_c/
and I cleared out all the cache.

for some reason when I tell the installer to install, everything seems to go fine, but when I hit the DB upgrade script it gives me this error:

Code: [Select]
Warning: file_put_contents(http://www.organization.org/homehttp://www.organization.org/wtshttp://www.organization.org/public_htmlhttp://www.organization.org/mediahttp://www.organization.org/civicrmhttp://www.organization.org/templates_chttp://www.organization.org/en_UShttp://www.organization.org/ConfigAndLoghttp://www.organization.org/Config.IDS.ini) [function.file-put-contents]: failed to open stream: HTTP wrapper does not support writeable connections in /home/wts/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php on line 118
We could not write http://www.organization.org/homehttp://www.organization.org/wtshttp://www.organization.org/public_htmlhttp://www.organization.org/mediahttp://www.organization.org/civicrmhttp://www.organization.org/templates_chttp://www.organization.org/en_UShttp://www.organization.org/ConfigAndLoghttp://www.organization.org/Config.IDS.ini. Have you moved your site directory or server?

Please fix the setting by running the update config script

it looks like it's putting the full domain in front of every directory /

Has anyone seen this before?

thanks in advance.

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: Directory paths gone wrong
August 06, 2010, 05:47:06 pm

did you follow the directions 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

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: Directory paths gone wrong
August 06, 2010, 05:50:36 pm
I followed them exactly, and I am getting that error

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: Directory paths gone wrong
August 06, 2010, 05:51:30 pm

sorry, no idea then :(

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

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: Directory paths gone wrong
August 06, 2010, 06:23:46 pm
Lobo, there actually is one major difference, the DB is staying put, the only thing that's actually moving is the file system..

B.

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: Directory paths gone wrong
August 06, 2010, 07:56:39 pm

i dont think that makes a difference

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

danpurpose

  • Guest
Re: Directory paths gone wrong
September 11, 2010, 06:10:48 am
I'm getting these errors too -- any solution?

It's extremely frustrating.

My domain ends up something like: http://slowfoodarchive.aegir.purpose.com/varhttp://slowfoodarchive.aegir.purpose.com/wwwhttp://slowfoodarchive.aegir.purpose.com/mainp982http://slowfoodarchive.aegir.purpose.com/siteshttp://slowfoodarchive.aegir.purpose.com/defaulthttp://slowfoodarchive.aegir.purpose.com/fileshttp://slowfoodarchive.aegir.purpose.com/civicrmhttp://slowfoodarchive.aegir.purpose.com/uploadhttp://slowfoodarchive.aegir.purpose.com/

It's as if, instead of replacing the URL, it's replacing each slash within the _previous_ URL with the _new_ URL.

Hope that helps somebody track this one down. It's nasty.

Hans.S

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
Re: Directory paths gone wrong
November 04, 2010, 09:39:08 am
I'm having this problem too. Is there an idea for a solution. :-\

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: Directory paths gone wrong
November 04, 2010, 11:21:46 am
Yes I solved it:

I just made sure to check everything again...
1. both config files with new path settings
2. delete everything in the templates c file
3. setting config_backend to "null" in the database...

make sure you follow all the steps in this
http://wiki.civicrm.org/confluence/display/CRMDOC32/Moving+an+Existing+Installation+to+a+New+Server+or+Location

and I would put the troubleshooting step at the bottom of the page above step #6.

B.

Hans.S

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
Re: Directory paths gone wrong
November 05, 2010, 06:05:12 am
Actually my problem is identical to that of danpurpose. I wonder if it's the same issue.

Anyway thanks for your reply, I'll try that.

« Last Edit: November 05, 2010, 06:11:11 am by Hans.S »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Directory paths gone wrong

This forum was archived on 2017-11-26.