Skip to content
Snippets Groups Projects
Commit ee99b23a authored by ufundo's avatar ufundo
Browse files

Update instructions for clearing caches

parent 154f1da1
No related branches found
No related tags found
1 merge request!385Update instructions for clearing caches
......@@ -93,16 +93,15 @@ If you get this error when installing or upgrading CiviCRM for Joomla, download
## Solutions
### Cleanup Caches and Update Paths {:#clear-cache}
### Clearing caches {:#rebuild-civicrm-menus}
On this settings page you can:
Clearing caches is often a helpful first step for troubleshooting many issues.
* Clear the cache
* View and update the value that CiviCRM has determined for your Base Url and site name.
This can be done by:
- going to Administer > System Settings > Clear Caches in the menu (6.1+)
- going to Administer > System Settings > Cleanup Caches and Reset Paths in the menu, then hit Clear Caches button (prior to 6.1)
- if pages or the nav menu aren't loading, you can use the direct URL `http://example.org/civicrm/menu/rebuild?reset=1`
![Screenshot demonstrating the "Cleanup Caches" screen](img/clean-up-caches.png)
Although you enter your Base URL in `civicrm.settings.php` the value shown here reflects additional attempts by CiviCRM to automatically detect the correct base url in various environments - for example in multilingual sites.
### Create a config file pointing to your Drupal sites directory {:#conf-drupal-sites}
......@@ -121,11 +120,7 @@ define( 'CIVICRM_CONFDIR', '/home/lobo/public_html/drupal/sites' );
If CiviCRM is installed on a server behind a firewall with NAT, you'll need to add your **internal** IP address and host name to /etc/hosts (on Linux). Otherwise, the dashboard will time out and the Force Secure URLs option will have issues. The reasoning behind this is, the dashboard tries to connect to http(s)://www.SITE.com to load the dashboard, but times out since SITE.com is being resolved via the public IP address. Your server can't access this public IP address if it's behind a firewall with NAT.
### Rebuild CiviCRM menus {:#rebuild-civicrm-menus}
Sometimes it helps to rebuild the menu/admin dashboard by visiting the following URL:
`http://example.org/civicrm/menu/rebuild?reset=1`
### Rebuild database triggers {:#trigger-rebuild}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment