How to Install Dolphin 7 From Your cPanel Using Softaculous
Note: The following steps are very different for newest versions of Dolphin, most of the steps are irrelevant with the release of Softaculous in our control panel and the latest versions of Dolphin. It may always change slightly as new versions come out. The concept is always the same however, certain files hold the old path and old URL in them, those need to be updated. If a new installation, it is recommended to use the Dolphin Autoinstaller in the Related Documents above as it will allow you to install into public_html. Please first read the tutorial at the related documents above. If you still choose to try to extract information from this tutorial, also read the comments by customers and staff.
The clients that have installed Dolphin into a folder besides public_html for Dolphin installation and want to move the already installed Dolphin into public_html need to proceed as follows:
(NOTE: In this tutorial, dolphin.arvixe.com is my main domain and I installed Dolphin using cPanel installer inside a directory “dolphin” so my dolphin URL would be http://dolphin.arvixe.com/dolphin. All the steps mentioned below were performed to move the Dolphin from a subdirectory “dolphin” to public_html so that my Dolphin installation would be accessible at http://dolphin.arvixe.com/ instead of http://dolphin.arvixe.com/dolphin.)
1- Login to cPanel at http://cpanel.YOURDOMAIN.COM or http://YOURDOMAIN.COM/cpanel
2- Once you are login to cPanel, click on Site Software.
3- Click on Dolphin link and input the required information and click Install.
This will install the Dolphin inside the specified directory and setup the admin user and password. On successful installation, the installer will show the Dolphin URL along with the admin login credentials that should be noted down.
4- Next step would be moving all Dolphin files from installation directory “dolphin” to public_html. This can be done using any FTP Client. I use FileZilla FTP Client which is Free and can be downloaded from http://filezilla-project.org. The site IP or site name should be used as Host along with the cPanel username/password can be used to connect to FileZilla.
5- Once you connect to FTP, the right hand side will show the Remote view i.e your account at Arvixe server. Double Click on public_html.
6- Dolphin installation folder “dolphin” should be visible inside public_html now.
7- Double Click on folder “dolphin”, press Ctrl + A key to select all files/folders, and drag the selected files folders to public_html to move all Dolphin source files from folder “dolphin” to public_html.
FTP operation ends here so disconnect the FTP session and quit FileZilla.
8- Login to cPanel again and click on File Manager.
9- As we have to navigate to public_html, so select “Web Root” and click Go.
10- Locate “inc” folder in the folder list and double click on “inc” folder to move inside it.
11- Select the file “header.inc.php” and click Edit link at top menu.
12- Inside header.inc.php, alter the variables: $site['url'] (to include just your URL and not the directory) as well as $dir['root'] (to include everything but the directory name that you installed to) so these two parameters need to be changed from:
Press “Save Changes” button at top right to save the file and quit File Manager.
13- Go back to cPanel “Home” page and click “Cron”
14- Dolphin sets up some cron jobs for notifications. Inside your control panel under the icon “Cron Jobs”. You should see cron jobs listed for Dolphin installation. All of these cron job entries have the directory you installed dolphin into in them. Please remove the directory name from the all Dolphin crons. One of Dolphin cron for my installation was:
so I removed directory name “dolphin” from all crons and saved the cron jobs.
15- Each file (periodic/cmd.php, periodic/cupid.php, periodic/notify.php) has a line at the top that includes the directory in it as well. You need to navigate to “periodic” folder using FileManager and then edit these files. I removed the directory name “dolphin” leaving the line as:
You are done. Now visit your main URL and you should see Dolphin displaying without any errors.