Moving from a subdirectory?

Hi all,

Since I have Dolphin 6 on the main directory so I had to install Dolphin 7 on a sub-directory and did the migration. Now I am ready to delete my Delphin 6 and move my Dolphin 7 to the main directory. Of course I'll do the back up for my Delphin 6 first before I delete it in case something is not working. I moved Dophin 6 before but not sure if it is done the same way with Dophin 7. Has anyone moved Dolphin 7 so far and would like to share how? What did you have to change and where? I appreciate it.

Quote · 30 Dec 2009

/inc/header.inc.php change the path

Quote · 30 Dec 2009

It's pretty much the same as D6.

I just used cpanal and zipped up the site. Cleaned up the root folder and unpacked the zip file there

Then i modified the paths in inc/header.inc.php.

All done. It's quite simple.

https://www.deanbassett.com
Quote · 30 Dec 2009

Thank so much!

Quote · 30 Dec 2009

i have been waiting to see something on this for awhile. everytime i delete 616 and move 7.0 over and change the header.inc file all my pictures show up with a red x on top of them. luckily i did a second install of 6.1.6 to play around with and didnt mess up my live site yet but i really want to get my site going. some help please

Quote · 31 Dec 2009

i have been waiting to see something on this for awhile. everytime i delete 616 and move 7.0 over and change the header.inc file all my pictures show up with a red x on top of them. luckily i did a second install of 6.1.6 to play around with and didnt mess up my live site yet but i really want to get my site going. some help please

if your pictures are showing up with a redX on them, that would indicate a bad path to the image.

i move these sites around all the time. and that is really the only file that i change is the /inc/header.inc.php to set the correct home path for the site.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 31 Dec 2009

do i need to transfer any files or just do the migration then delete the 616 and move the 7.0 over? and there are just the 2 paths to change in the header file?

Quote · 31 Dec 2009

do i need to transfer any files or just do the migration then delete the 616 and move the 7.0 over? and there are just the 2 paths to change in the header file?

yup that should do it  just make sure everything works before you delete d6 :)

Quote · 31 Dec 2009

I have noticed with d7 if you change things sometimes you have to clear the cache in admin panel then refresh the page to update the changes. I changed a few pictures, css, and links, but nothing happened when I refresh the page. I had to clear the cache then refresh the page and all was well.

 

I don't know about your pictures in particular, but if you are moving around d7 after updating the header.inc.php file with the new paths you might clear the cache. If you login to admin with the new location where you moved it to and nothing happens when you click on the clean/clear cache, you will have to manually do it by going into the cache folders/directories and removing them.

 

Otherwise you might try to clean/clear cache in your admin panel first, then move your d7 to the new location.

Either way this new d7 seems to do a lot more caching. I think people will make changes and think it didn't work because they forgot the cache. Whether it be moving the location or a simple css, link, or other change. Just a thought anyway.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 31 Dec 2009

everything looks perfect after doing the migration. its just when i move it to a new directory it gives me the red x

Quote · 31 Dec 2009

everything looks perfect after doing the migration. its just when i move it to a new directory it gives me the red x

in admin section

advanced setting un/check the following items and then clear cache

Enable Users to Change Templates:
Enable cache for HTML files:
Enable cache for images:
Max image size to be cached(in kb):
Quote · 31 Dec 2009

 

 

everything looks perfect after doing the migration. its just when i move it to a new directory it gives me the red x

in admin section

advanced setting un/check the following items and then clear cache

Enable Users to Change Templates:  
Enable cache for HTML files:  
Enable cache for images:  
Max image size to be cached(in kb):  
   

 excellent! that fixed it from what i can see so far. im gonna go look around in some of the profiles i made and see if everything else is ok. thank you soooo much for your help!

Quote · 31 Dec 2009

n.p you're welcome ill send you the bill  hahah

Quote · 31 Dec 2009

Does also Cron job has to be changed as well?

Quote · 31 Dec 2009

Does also Cron job has to be changed as well?

/public_html/d7/periodic; /usr/local/bin/php -q cron.php

as you can see the site is in subdir.

yes you would need to change it

/public_html/periodic; /usr/local/bin/php -q cron.php

NOTE: that's only example not real cron job code line

Quote · 31 Dec 2009

Prolaznik, you are always quick and very helpful. Thanks again.

Quote · 31 Dec 2009
 
 
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.