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) »
  • Update Directory Path and URL results in error.
Pages: [1]

Author Topic: Update Directory Path and URL results in error.  (Read 1823 times)

NilsHenrik

  • Guest
Update Directory Path and URL results in error.
June 07, 2010, 07:12:29 pm
Hi.

When resetting the Base Directory Path and Base URL (I moved the joomla site http://artoutlet.org out of its sub directory 'reaction'), I get this error:

Warning: file_put_contents(/homepages/11/d130393756/htdocs/artoutlet/reaction/media/civicrm/templates_c/en_US/ConfigAndLog/Config.IDS.ini) [function.file-put-contents]: failed to open stream: No such file or directory in /homepages/11/d130393756/htdocs/artoutlet/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php on line 118
We could not write /homepages/11/d130393756/htdocs/artoutlet/reaction/media/civicrm/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

Well the link leads back to running the config update.

One thing I noticed is: that the new and old directory are the same...? See screen shot.
I am running Joomla 1.5.8, PHP Version 5.2.13 , and CivicRM 3.1.5. It worked fine in it's sub directory. Double checked both php settings files, too.

Any suggestions.  Henrik
« Last Edit: June 07, 2010, 07:27:52 pm by NilsHenrik »

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: Update Directory Path and URL results in error.
June 07, 2010, 11:11:09 pm
Can you make sure web server has writable permission to below directory

Quote
/homepages/11/d130393756/htdocs/artoutlet/reaction/media/civicrm/

HTh

Kurund
Found this reply helpful? Support CiviCRM

NilsHenrik

  • Guest
Re: Update Directory Path and URL results in error.
June 08, 2010, 10:14:04 am
Hi Kurund, just checked and made the entire folder writable in my C panel, but it did not do the trick....  :(

Henrik

NilsHenrik

  • Guest
Re: Update Directory Path and URL results in error.
June 08, 2010, 12:42:08 pm
The component worked great in the sub directory 'reaction'... I don't understand what I am doing wrong?

Could I move back the site to it's sub directory, de-install the component, then move the site out of it's sub directory, and re-install it again from the main directory?

Would that work? Henrik

cma01

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • Legacy Marketing Services
Re: Update Directory Path and URL results in error.
August 08, 2010, 10:49:37 pm
I'm running into the same issue.  Was this ever resolved?
web design kingwood  | Joomla development

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Update Directory Path and URL results in error.
August 12, 2010, 10:09:14 pm
IDS is used for security. the settings are generated from code and stored in the template cache directory. when moving to a new folder, it can create problems because things you're trying to break into the site.

try going to: media/civicrm/templates_c/ and delete any subdirectories (likely en_US)
that clears the cache. then try reloading.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Update Directory Path and URL results in error.

This forum was archived on 2017-11-26.