• About 6 years ago I designed a site in Drupal 6 for my wife. I then proceeded to have major health problems and left the site to fend for itself. She used it, but eventually (and recently) my hosting service upgraded PHP to version 7. Their servers will no long run PHP 5, and Drupal 6 will not run on PHP 7. So her site needs to be either upgraded to Drupal 8 or be migrated to something else.

    My health has improved and I am now able to try to tackle this issue. I investigated upgrading to Drupal 8, even went through the process, but had all sorts of issues and eventually decided to try migrating to WordPress. I have done this and I now have a working WordPress version of her site running on my local machine. Running on XAMPP in Windows 10.

    Yesterday I backed up the local site using the Duplicator plugin. I uploaded the archive via FTP to the root of the public_html directory on my host. I attempted to run the installer script by navigating in the browser to the installer.php file in that directory.

    When I do that I see the text of the installer.php script displayed in the browser. It is not running the way it should. Why? I would guess it has to do with the config files, but I do not know how.

    A bit of background…

    A) I don’t remember squat about what I did to get Drupal running on my host 6 years ago. I know that I need php.ini and .htaccess files at the root of public_html, but I don’t recall any of the details of what they do or need to have in them. And they were not set up for WordPress, they were set up for Drupal. If there are specfic differences between the two vis a vis those files, I don’t know what the differences are.

    B) I used to be a programmer back before I lost my health. But I am not a PHP developer. I was also not a web developer in general. My knowledge of web development is quite limited. So… I understand code and scripting, but not specific to this situation. PHP is Greek to me.

    So… If anyone has any suggestions I would very much appreciate it. I thought it would be faster to get help her than it would be for me to research all this on my own. I am very grateful for any help/pointers you might provide.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi!

    Did you create the database? Did you upload the zip file to your site?

    Here is a step by step guide on how to perform a migration with that plugin:
    https://optimwise.com/copy-migrate-wordpress-sites-with-the-duplicator-plugin/

    Thread Starter John Longtrail

    (@eldaveer)

    Thanks! Yes, I created the database and uploaded the zip file to the site, along with the installer.php file. But the installer script won’t execute.

    Hello, try installing the WordPress site manually. All the files and folders you have on your local host are uploaded to the public_html of your paid host. (if you have cpanel in it .zip and later you unzip it). After you have uploaded the arhivos.zip, create the database in PHPMYADMIN and assign the user and their permissions. After this, upload your database.sql and import it into the database you just created. Segudio changes the user data, database, host (it is almost always localhost), and the password for the ones you just created in PHPMYADMIN. And finally replace the links in the table of wp-option the one of the row site_url and site _home for those of your domain and where you have uploaded the files.

    If you still have problems, you can write to [email removed – support is not offered via email on these forums]

    Hola, intenta hacer la instalación manual del sitio WordPress. Todos los archivos y carpetas que tengas en tu host local súbelos al public_html de tu host de pago. (si tiene cpanel súbelo en .zip y posteriormente lo descomprimes). Después que hayas subido el arhivos.zip, crea la base de datos en PHPMYADMIN y asígnale el usuario y sus respectivos permisos. Posterior a esto sube tu basededatos.sql y la importas a la base de datos que acabas de crear. Segudio cambia los datos de usuario, base de datos, host (casi siempre es localhost), y la contrase?a por los que acabas de crear en PHPMYADMIN. Y por último sustituye los link en la tabla de wp-option el de la fila site_url y site _home por los de tu dominio y donde hayas subido los archivos.

    @erickrayo: Thanks for helping out, but please do not ask users to contact you off the forums.

    You’re right, sorry for doing that.

    Thread Starter John Longtrail

    (@eldaveer)

    Thank you, @erickrayo! I’ll give that a shot.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems migrating site from local machine to host’ is closed to new replies.