• Resolved AlanDowley

    (@alandowley)


    I have a WordPress site set up and running in a sub directory. I am trying to move it from the sub to the root but even though I have followed the instructions from WordPress I have been unable to get it to work and now the sub domain has stopped working.
    I have set up a new site in the root but need it to connect to the existing database but when I edit the wp-config the site fails to load.

    Does anyone know if it is possible to sync the two databases from phpmyadmin?

    Can anyone please help, this is a new business and I need this site working urgently

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter AlanDowley

    (@alandowley)

    Web address is. https://www.drive-off.uk
    Sub address is. driv-off.uk/drive

    Have you changed the SITE URL in your wp-config or database? Enable wp-debug in your wp-config and post the error.

    Thread Starter AlanDowley

    (@alandowley)

    I have tried changing the database name to the original one and set the IP but then the site fails to load. when I change it back again I get the new site set up but need to old site on the root. And this has failed moving from the sub directory and the site in the sub directory fails to load anything.

    This is what I get when setting debug to true

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    instead. in /home/linweb39/d/drive-off.uk/user/htdocs/wp-includes/functions.php on line 3457

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    instead. in /home/linweb39/d/drive-off.uk/user/htdocs/wp-includes/functions.php on line 3457

    Thread Starter AlanDowley

    (@alandowley)

    This is what I get from the original site in the sub directory.

    Warning: include_once(CF7DBPlugin_init.php): failed to open stream: No such file or directory in /home/linweb39/d/drive-off.uk/user/htdocs/drive/wp-content/plugins/contact-form-7-to-database-extension/contact-form-7-db.php on line 66

    Warning: include_once(): Failed opening ‘CF7DBPlugin_init.php’ for inclusion (include_path=’.:/usr/share/pear’) in /home/linweb39/d/drive-off.uk/user/htdocs/drive/wp-content/plugins/contact-form-7-to-database-extension/contact-form-7-db.php on line 66

    Fatal error: Call to undefined function CF7DBPlugin_init() in /home/linweb39/d/drive-off.uk/user/htdocs/drive/wp-content/plugins/contact-form-7-to-database-extension/contact-form-7-db.php on line 67

    Thread Starter AlanDowley

    (@alandowley)

    I have moved all files from /drive to root. Changed the URL in the database which is held on a different server. Edited the config file to new user name and password (old one was web designer) but still get a blank page.

    I need this fix as soon as possible and prepared to pay someone to sort it for me. Is there anyone sufficiently qualified who can and will do this for me urgently.

    Thread Starter AlanDowley

    (@alandowley)

    Warning: include_once(CF7DBPlugin_init.php): failed to open stream: No such file or directory in /home/linweb39/d/drive-off.uk/user/htdocs/drive/wp-content/plugins/contact-form-7-to-database-extension/contact-form-7-db.php on line 66

    Warning: include_once(): Failed opening ‘CF7DBPlugin_init.php’ for inclusion (include_path=’.:/usr/share/pear’) in /home/linweb39/d/drive-off.uk/user/htdocs/drive/wp-content/plugins/contact-form-7-to-database-extension/contact-form-7-db.php on line 66

    Fatal error: Call to undefined function CF7DBPlugin_init() in /home/linweb39/d/drive-off.uk/user/htdocs/drive/wp-content/plugins/contact-form-7-to-database-extension/contact-form-7-db.php on line 67

    Lines 66/67

    include_once(‘CF7DBPlugin_init.php’);
    CF7DBPlugin_init(__FILE__);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Moving WordPress site’ is closed to new replies.