Question: I have a Drupal multisite website, with Apache Solr Search Integration, which is up and running very well in the live server. I am trying to replicate the same website, on another server to use it as a development environment. I have copied all the code and replicated the DB and changed the settings.php file accordingly, but I am getting the following errors.

* Memeber profile is not completed.
* Apache solr is not integrated on to the server.

Can anyone help me with the steps which I have to follow during the process?

Answer: 
I think this is possible without having to do any modules. There is a built-in theme suggestion for the user registration page and it is page--user--register.tpl.php
Here is the exact function:

@see [hook\_form\_FORM\_ID\_alter](http://api.drupal.org/api/drupal/modules--system--system.api.php/function/hook_form_FORM_ID_alter/7)

```
function hook_form_user_login_alter(&$form, &$form_state, $form_id) {
  // Modification for the form with the given BASE_FORM_ID goes here. For
  // example, if BASE_FORM_ID is "node_form", this code would run on every
  // node form, regardless of node type.

  // Add a checkbox to the node form about agreeing to terms of use.
  $form['terms_of_use'] = array(
    '#type' => 'checkbox', 
    '#title' => t("I agree with the website's terms and conditions."), 
    '#required' => TRUE,
  );
}

```