Answers.Body: <p>Your error doesn't indicate a problem with your database - and it does sound like you've copied them correctly.  This error indicates that you have a missing file in your file system.  Is the webform module missing on your test site?  Or perhaps the test site's webform module isn't the same version?</p>
  
  <p>You should also clear your Drupal cache on the test site.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-18T21:04:59.503Z
Answers.Text: You are right Jon : now that I have also copied all the Modules to test sites/all/modules, the error has disappeared.
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-18T16:45:54.267Z
Answers.LastActivityDate: 2017-05-18T16:45:54.267Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I have installed a Drupal+Civi test site, with same software level as my production site (Drupal 7.54 / Civi 4.7.16).</p>
  
  <p>To be able to make real size tests, I want to have identical DBs on each site.</p>
  
  <p>So, I have copied both prod DBs (Drupal and Civi) into my test DBs (using phpmyadmin / Copy structure and data + DROP TABLE).</p>
  
  <p>Tables now seem identical (statistically : I have no real comparison tool)</p>
  
  <p>I have updated settings.php with the same table "prefix"</p>
  
  <p>But when I open the test site, I get an error : "Fatal error: Call to undefined function webform_menu_to_arg() in /home/bapaparoisse/www/dev/includes/menu.inc on line 824".</p>
  
  <p>I must have missed something, but what ?</p>
  
  <p>Any suggestion is welcome</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-18T17:15:41.113Z
Comments.Text: Could one possible cause be the fact that I have not installed most of the Modules of my Prod configuration, on my test one (e.g. my test config does not have Webform Module installed) ?
Comments.UserDisplayName: Jacques-Marie Moranne
Tags: <installation><testing>
Title: How to build a Real Size Drupal+Civi Test Configuration?
ThreadText: # How to build a Real Size Drupal+Civi Test Configuration?
  
  (Asked by: username_0 on 2017-05-18)
  
  I have installed a Drupal+Civi test site, with same software level as my production site (Drupal 7.54 / Civi 4.7.16).
  
  To be able to make real size tests, I want to have identical DBs on each site.
  
  So, I have copied both prod DBs (Drupal and Civi) into my test DBs (using phpmyadmin / Copy structure and data + DROP TABLE).
  
  Tables now seem identical (statistically : I have no real comparison tool)
  
  I have updated settings.php with the same table "prefix"
  
  But when I open the test site, I get an error : "Fatal error: Call to undefined function webform\_menu\_to\_arg() in /home/bapaparoisse/www/dev/includes/menu.inc on line 824".
  
  I must have missed something, but what ?
  
  Any suggestion is welcome
  
  **Tags:** installation, testing
  
  > **Comments:**
  > **username_0**: Could one possible cause be the fact that I have not installed most of the Modules of my Prod configuration, on my test one (e.g. my test config does not have Webform Module installed) ?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-05-18. Score: 1 | Accepted answer
  
  Your error doesn't indicate a problem with your database - and it does sound like you've copied them correctly. This error indicates that you have a missing file in your file system. Is the webform module missing on your test site? Or perhaps the test site's webform module isn't the same version?
  
  You should also clear your Drupal cache on the test site.
  
  > **Comments:**
  > **username_0**: You are right Jon : now that I have also copied all the Modules to test sites/all/modules, the error has disappeared.  
  
  ---
  
  