Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @yaniiliev, I’ve been trying to migrate my website from one domain on one contract with my host (1&1) to another domain on a different contract. I’ve made sure that the PHP versions of both are the same.

    So I’m able to export .wpress files from the source website but when I try to import a file to my new domain, the process times out at

    “Restoring X files…
    Y% complete”

    I have to stop the process and when I go my new domain’s WP admin page, it reads

    Fatal error: Cannot declare class Product_Subdomains, because the name is already in use in …/wp-content/mu-plugins/product-domain.php on line 12

    The problem occurs at a hosting plugin?

    <?php
    /*
    Plugin Name: Product Subdomain
    Plugin URI: https://1and1.com
    Description: Handles our product subdomains
    */
    if ( ! defined( ‘ABSPATH’ ) ) {
    die();
    }
    class Product_Subdomains { <– Something happens here

    }
    new Product_Subdomains;

    I’m a newbie and would love to take care of this soon, so any feedback would be appreciated. Thank you.

    Hey, I’ve been trying to migrate my website from one domain on one contract with my host (1&1) to another domain on a different contract. I’ve made sure that the PHP versions of both are the same.

    So I’m able to export .wpress files from the source website but when I try to import a file to my new domain, the process times out at

    “Restoring X files…
    Y% complete”

    I have to stop the process and when I go my new domain’s WP admin page, it reads

    Fatal error: Cannot declare class Product_Subdomains, because the name is already in use in …/wp-content/mu-plugins/product-domain.php on line 12

    The problem occurs at a hosting plugin?

    <?php
    /*
    Plugin Name: Product Subdomain
    Plugin URI: https://1and1.com
    Description: Handles our product subdomains
    */
    if ( ! defined( ‘ABSPATH’ ) ) {
    die();
    }
    class Product_Subdomains { <– Something happens here

    }
    new Product_Subdomains;

    I’m a newbie and would love to take care of this soon, so any feedback would be appreciated. Thank you.

    Thread Starter arakanic

    (@arakanic)

    Hey Joseph, you were right! My hosting service informed me the php.ini file in my root directory had set the maximum upload size as well as the max post size both to 2 MB (which, it turns out, is a common issue).

    Thanks for the tip!

    Thread Starter arakanic

    (@arakanic)

    Hey Joseph, I’m using the basic VFB. Since the website I’m working on is hosted on 1and1, is this something I have to take care of with those guys? If so, where do you suggest I should start?

    I set up a PHP error log widget on the dashboard and after adding the log file to my directory and adding a few lines of code to wp-config, I can’t seem to notice any connection between my using VFB and the logs.

    Any other tips pointing me in a general direction would be awesome because this is all gibberish to me!

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