I was wondering... Is it possable to change the database for a dolpin site? As I am looking to clone my dolphin site but use a second database.
I was wondering... Is it possable to change the database for a dolpin site? As I am looking to clone my dolphin site but use a second database. |
Yes, of course. You can have several databases and switch between its. |
Im looking around in the admin menus, am I missing some thing where is the menu to swich database? or do I have to do it by cpannel? are there php or sql files I must change something in? |
The database setting is in the /inc/header.inc.php file... Look for
|
Right ok Ive done it.... Ive got a cloned dolphin Ive fixed header.inc.php $site['url'] $dir['root'] $db['user'] and ive changed cmd.php, notifies.php, tags.php (in the periodic folder) Require_once ('[path/to/inc/header.inc.php]') But, although I have a dolpin clone when I try to login to the cloned admin it instead logs me into the original admin. What have I got to change to login to the cloned dolphin admin? |
Also, I think that I must do something in the file ray/modules/global/js/intergration.js Change the value of the variable sRayUrl according to your current url I am not sure how to do this??????? |
Also, I think that I must do something in the file ray/modules/global/js/intergration.js Change the value of the variable sRayUrl according to your current url I am not sure how to do this??????? in the header_inc.php you neet to change the $dir['root'] that should do it.. i think |
already done it |
I have an idea, there is a php file somewhere that openly shows the admin login and password. where is this? |
Basicly I have 2 dolphin sites (one is a clone) dolphin standard & dolphin dating. dating is the clone! When im on dating and i go to the admin login; it is the correct adress but the login says im logging into dolphin standard. dolphin dating is still connected to the standard admin. How can I swap it to the new one? |
Okay I think the steps should be the same as moving the site to another server. in which case look at this http://www.boonex.com/unity/blog/entry/Moving_Dolphin_to_a_New_Host |
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) * cmd.php, notifies.php, tags.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 * ray/modules/global/inc/header.inc.php edit the line include("[path_to]/inc/header.inc.php"); the same way as described above * ray/modules/global/js/integration.js change the value of the variable sRayUrl according to your current URL. thats from the FAQ's here http://www.boonex.com/trac/dolphin/wiki/GenDolFAQs#Ineedtotransfermysitetoanotherfolderserver.WhatdoIneedtodo This is what I have originaly looked at before cloning...... I am stuck on * ray/modules/global/js/integration.js |