Title: Errors in config.php
Last modified: September 1, 2016

---

# Errors in config.php

 *  Resolved [heinzw](https://wordpress.org/support/users/heinzw/)
 * (@heinzw)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-in-configphp/)
 * Hi,
    I am transferring a site from the server to localhost. This site includes
   a subdomain _gift_. When I open the site after the transfer I get the following
   error messages:
 *     ```
       Notice: Undefined index: cmd in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 67
   
       Notice: Undefined index: a in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 75
   
       Notice: Undefined index: e in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 95
   
       Notice: Undefined index: e in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 119
   
       Notice: Undefined index: r in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 191
   
       Notice: Undefined index: r in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 192
   
       Notice: Undefined variable: affredirect in C:\xampp\htdocs\onestopforinfo.com\gift\config.php on line 196
       ```
   
 * What went wrong?
 * Thanks
    Heinz
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-in-configphp/#post-7579011)
 * Do you know what config.php is used for? That file name doesn’t look like a typical
   WordPress file?
 *  Thread Starter [heinzw](https://wordpress.org/support/users/heinzw/)
 * (@heinzw)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-in-configphp/#post-7579017)
 * I do not quite understand what you mean. At the end of each line you can see “
   config.” which is part of config.php.
    As I wrote it is the config.php for a 
   subdomain “gift” of main domain “onestopforinfo.com” on localhost. The subdomain
   ist called by the main domain.
 * I have the config.php for the main domain in the root directory. The config.php
   for the subdomain is in the subdomain directory.
 * Could you explain what you mean?
 * Thank you
    Heinz
 *  Thread Starter [heinzw](https://wordpress.org/support/users/heinzw/)
 * (@heinzw)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-in-configphp/#post-7579018)
 * BTW: the whole site onestopforinfo.com is still running on the server and you
   can check it. No problem when the subdomain gift is called.
    Heinz
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-in-configphp/#post-7579034)
 * The core WordPress configuration file is called ‘wp-config.php’ so a file named‘
   config.php’ indicates that it could be part of another system, plugin, theme 
   etc.
 * The Duplicator will only edit two files and your database during install time,
   which are ‘.htaccess’ and the ‘wp-config.php’. So if there are errors being thrown
   from a file called ‘config.php’ the plugin isn’t really going to know how to 
   handle it. Is this possibly a file your hosting provider has added?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Errors in config.php’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

## Tags

 * [CONFIG.php](https://wordpress.org/support/topic-tag/config-php/)
 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)
 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/errors-in-configphp/#post-7579034)
 * Status: resolved