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 »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Create a test site with CiviCRM/Drupal install
Pages: [1]

Author Topic: Create a test site with CiviCRM/Drupal install  (Read 906 times)

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Create a test site with CiviCRM/Drupal install
August 15, 2010, 02:57:54 pm
I'm working with my first Drupal install with CiviCRM, and I would like to set up a development site to test out upgrades, imports, etc. But I can't find any documentation, or information in these forums on the best practice for doing this.

Here's what I've done:
mysqldump of both databases
created 2 new databases and imported the dumps
copied my drupal site directory
updated the database and path/url specifications in settings.php and civicrm.settings.php
figured out how to update the settings in administer/configure/global_settings/resource_urls

But the CiviCRM menu items still point to the components in my production/live site.

Can anyone help? Or can you suggest a work flow that will enable you to test Drupal and CiviCRM upgrades, and data imports?

Thanks in advance!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Create a test site with CiviCRM/Drupal install
August 16, 2010, 03:34:15 am
Yes, this is the workflow: http://wiki.civicrm.org/confluence/display/CRMDOC32/Moving+an+Existing+Installation+to+a+New+Server+or+Location

Specifically, to fix your menus:

Quote
8 Rebuild the menus. The menu links in the civicrm_menu table contain full URL links and need to be updated with the new domain.

    * Drupal sites: http://<drupal_site>/index.php?q=civicrm/menu/rebuild&reset=1
    * Joomla sites: http://<joomla_site>/administrator/index2.php?option=com_civicrm&task=civicrm/menu/rebuild&reset=1

HTH
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Create a test site with CiviCRM/Drupal install
August 16, 2010, 08:15:01 am
Thank you for the documentation link and the url for resetting the menus. That worked!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Create a test site with CiviCRM/Drupal install

This forum was archived on 2017-11-26.