• Resolved heinzw

    (@heinzw)


    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://www.ads-software.com/plugins/duplicator/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you know what config.php is used for? That file name doesn’t look like a typical WordPress file?

    Thread Starter heinzw

    (@heinzw)

    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

    (@heinzw)

    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

    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.