Domain expired

Last year I shutdown my dolphin site, but I would like to start the site on a new domain.  I know I have to transfer the license to start. Some of the code changes I had done and the modules I purchased I would like to put on my new domain.  Before shutting the site down, I copied all the dolphin files from that domain and exported the database in SQL. 

I did fresh install for Dolphin and copied all my old files into the new directory, then I imported the old SQL file using phpMyAdmin.  I received a few errors.

Can I move a previous dolphin installation to a new URL using the above process. Am I missing something?

Thanks

Quote · 17 Jan 2015

The procedure should have been to restore your files; all of them including the modules, to the server.  Then import the backup of the database into a new empty database.  You will have to edit the /inc/header.inc.php file to enter the domain name (it has to end in a slash / or you will get errors) and to enter the database credentials, name, user, password.

Once you get the old site up and running again, then you would need to go through the upgrade process.  Note, there are beta upgrades in the list that can be skipped depending on where you start.

Geeks, making the world a better place
Quote · 17 Jan 2015

Thanks for the quick reply

I did a fresh install of Dolphin 7.1.4, I need to delete the database files or the whole database on the fresh install first?

And my old site was already running 7.1.4, I assume I don't need to do an upgrade then right?

Thanks

Quote · 17 Jan 2015

If your old site is 7.1.4 then why a fresh install?  Was there any problems with the old install?  If no problems, then simply restore the site and database.  You will need to make the changes to the header.inc.php file as outlined.  If you use the same database name, user, and password as the old, then you don't need to change that of course.  To restore an old site of the same version, you would not do a fresh install.

Geeks, making the world a better place
Quote · 17 Jan 2015

Thanks for the clarification

I thought I needed to install Dolphin and overwrite the fresh install with my old files and database. So I upload the old files to my directory and change the header.inc.php file.  I'm confused about the database.  I did a fresh install through softaculous because a new database was created. I thought all I needed to do was overwrite the old files and import the old database. 

Once I put my old files onto my server, I don't understand what I need to do about the database.  Softaculous does that for me, do I need to create a new database? Am I supposed to connect it somehow?

Quote · 17 Jan 2015

That might be part of your problem, it's known to cause all sorts of problems.

 

I did a fresh install through softaculous

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 17 Jan 2015

I will not depend on softaculous so much.  So how do I get my old files on my new domain name.

1. Load files in the directory

2. Change header.inc.php to reflect new domain name

3. This is where I'm confused, what I am supposed to do with the database?

Thanks

Quote · 17 Jan 2015

Manually create a new database, you can give it the same name as your old one; some hosts cPanel install may prevent that but it does not matter.  Then using the import tool of your database tool; say phpMyAdmin, you will import the database.  You may have to adjust the size of the php.ini file upload size.  If the database size is too big to import through your database tool you can use bigdump or similar to import the database.  The export of the database contains the commands to create the tables if they don't already exist, then it will import the data.

Geeks, making the world a better place
Quote · 17 Jan 2015

I thought you were going to say manually create database.  I created a database and imported my sql file.  I can see they loaded in phpMyAdmin.  When I go to the new url, I get page not found

I changed database credentials, url and root location in header.inc.php

Any ideas

Thanks for all the help

Quote · 17 Jan 2015

The page keeps trying to find the old url

Quote · 17 Jan 2015

 

The page keeps trying to find the old url

Look near the top of the header.inc file. you will find a location to enter the domain of the site; remember that it must end in a / to avoid errors.  Also, there is a path to your files entry that you must change to match your new hosting.  For example, the path to the files might be /var/www/html/vhosts/user-account/htdocs or what have you.  You need to change that to what is in your new host setup.

Edit: OK, I see where you said you already did that.  If you like, you can PM me the credentials to your hosting and I can take a look.  You can change the password to your account afterwards to secure it.

Geeks, making the world a better place
Quote · 17 Jan 2015

When copying a site, the content of the folders cache, cache_public and tmp are not to be copied. So make sure those 3 folders are empty except for the .htaccess file they should contain.

https://www.deanbassett.com
Quote · 17 Jan 2015

Thanks Deano, I forgot to mention that.  When you archive a site you either skip the caches and /temp (but the directories have to be there with the .htaccess file), or, as I do it, you clean out the old caches after restoring the files to the server; I usually create a tarball of the site with a simple tar command and do the cleaning up bit after untarring.

Do as Deano stated and see if that fixes the issues.

Geeks, making the world a better place
Quote · 17 Jan 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.