CiviCRM/tech notes: Difference between revisions
< CiviCRM
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==XML data could not be loaded== | ==Common Errors== | ||
===XML data could not be loaded=== | |||
After moving CiviCRM from another host and updating some paths, I got this error: | After moving CiviCRM from another host and updating some paths, I got this error: | ||
Line 8: | Line 10: | ||
[http://forum.civicrm.org/index.php?topic=4712.0 The solution] is to delete or update the contents of the file ''{DRUPAL_HOME}/sites/default/files/civicrm/templates_c/en_US/ConfigAndLog/'''Config.IDS.ini''' to reflect the new paths.'' | [http://forum.civicrm.org/index.php?topic=4712.0 The solution] is to delete or update the contents of the file ''{DRUPAL_HOME}/sites/default/files/civicrm/templates_c/en_US/ConfigAndLog/'''Config.IDS.ini''' to reflect the new paths.'' | ||
<ref name="Forum">[http://openfarmtech.org/forum/discussion/93/solved-xml-data-could-not-be-loaded-delete-config.ids.ini OSE forum post]</ref> | <ref name="Forum">[http://openfarmtech.org/forum/discussion/93/solved-xml-data-could-not-be-loaded-delete-config.ids.ini OSE forum post]</ref> | ||
===Menus retaining old URLs=== | |||
In order to rebuild menu URLs after changing the base URL, visit: | |||
civicrm/menu/rebuild?reset=1 | |||
<ref>http://wiki.civicrm.org/confluence/display/CRMDOC33/Base+URL+Change</ref> | |||
===Out of memory errors=== | |||
You might need to update the '''civicrm_domain''' table like this: | |||
update civicrm_domain set config_backend = null WHERE id = 1 | |||
==References== | ==References== |
Revision as of 05:12, 6 April 2011
Common Errors
XML data could not be loaded
After moving CiviCRM from another host and updating some paths, I got this error:
Fatal error: Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in [...] civicrm_invoke() #6 /home/a_user/site in /home/a_user/site/community/sites/all/modules/civicrm/packages/IDS/Filter/Storage.php on line 220
The solution is to delete or update the contents of the file {DRUPAL_HOME}/sites/default/files/civicrm/templates_c/en_US/ConfigAndLog/Config.IDS.ini to reflect the new paths. [1]
Menus retaining old URLs
In order to rebuild menu URLs after changing the base URL, visit:
civicrm/menu/rebuild?reset=1
Out of memory errors
You might need to update the civicrm_domain table like this:
update civicrm_domain set config_backend = null WHERE id = 1