I have recently changed my host provider due to some conflicts with software they decided to install on all their servers. The problem is, when the site was on the other server, it's main "root" was located in a directory (ex. home/user/public_html/"DirectoryName"). Since I moved to this new host, the site is now located in home/user/public_html folder.
I changed the "root" directory path in the header.inc.php file, which enabled the site to load, but now getting some errors on my menu links and admin panel.
Can someone please provide me any additional information on where else I need to be making changes to?
Thanks,
Zarcon
Nothing to see here |
Sorry if you already read this, it seemed to work for me as I copied my site to a differnt domain and got it working. I need to transfer my site to another folder/server. What do I need to do? ¶
1) First of all, you need to back up your folders and files and your database tables. It usually results in creation of two archives (.tgz or .zip) which you will have to unpack on your new server/folder; besides, the database tables will have to be imported in your new database.
2) Dolphin 6 has several files which must be changed after transferring to another folder or server:
* inc/header.inc.php change the values of the following variables according to your current settings:
$site['url'] and $dir['root']
and all the elements of $db array (it's not usually needed if you just move your site to another folder on the same server)
* cupid.php, notifies.php, cmd.php files in periodic folder. All of them have lines as follows:
require_once( '[path_to]/inc/header.inc.php' );
where [path_to] must be changed according to the current path to Dolphin folder
Note: You also need to change the paths for each cron running for the above mentioned files.
* ray/modules/global/inc/header.inc.php
edit the line
include("[path_to]/inc/header.inc.php");
the same way as described above
If you have changed your site URL, you need to contact BoonEx and provide your license number and desired domain name.
|
I have made the changes as you stated below and ALMOST all is working. I have some top menu items that do not seem to be working:
Blogs Photos Music
Videos
They seem to be heading to a http://mydomain.com/photo/all/10/1 type address, which is displaying a "The requested URL /photo/all/10/1 was not found on this server."
The Blog is trying to go to http://mydomain.com/blog and getting a error also.
Any ideas ?
Nothing to see here |
Did you move your .htaccess file as well? Because it sounds like it is either missing, or the host you moved the site to does not have mod_rewrite enabled.
Check for the presence of the file .htaccess in the root folder of your site. If it's there, find out from your host if mod_rewrite is enabled.
https://www.deanbassett.com |
I see that my .htaccess was not copied during the move. When I tried to upload my, I get a permission denied. I have contacted the host to see if they would change the permissions or edit it for me. Will keep you updated. Nothing to see here |
Your permissions as needed by dolphin may also not be right. When a site is moved from one server to a different one, quite often the permissions will not be proper any more.
That can be corrected by setting the permissions again as was done when it was origionally installed. The proper permissions are here.
http://www.boonex.com/trac/dolphin/wiki/DetailedInstall
You would do the permission settings as if you were going to install. Once those are set, then do the permission reversal for the listed files. Then all the files should be back to correct permissions.
https://www.deanbassett.com |
Oh, just in case you need them. I have scripts that will set those permissions on my website if you have a linux host with ssh shell access.
Those are located here on my website. http://www.deanbassett.com/lscripts.php
If you don't have ssh access, i also have a online version that uses FTP to set the permissions which will work for most all sites.
That is located here. http://www.deanbassett.com/oltools.php
Both are designed for dolphin 6.x I don't have a D7 version available yet.
https://www.deanbassett.com |