Move installation

Hi,

I'm trying to move my dolphin install from a test to live environment. I came across this page which explains how to do it for the 6.0 install. However, I'm using the 7.0.6 install. Something goes terribly wrong.

I'm moving the install from /beta2 to /

I did this: 

  • inc/header.inc.php change the values of the following variables according to your current settings: $site['url'] and $dir['root']  
cp -fr /beta2 /
As a result, everything works. BUT if I remove the beta2 dir I get this:

Server error

The website encountered an error while retrieving http://website.net/. It may be down for maintenance or configured incorrectly.
What else do I need to do to completely move the site?
Thanks
Quote · 22 Jul 2011

You need to check your .htaccess file for some "special" rules. Usually it calls errors like this.

http://boonexpert.com
Quote · 22 Jul 2011

see ... It's so very strange.

I copied everything and tried to locate the .htaccess file. I couldn't find it, and things were getting fucked up. So I uploaded the original to the / folder. Now I want to check it for abnormalities, and it's gone. Though, the site still 'works' (in a way).

Does dolphin move the .htaccess to somewhere else?

Quote · 23 Jul 2011

For some reason now, changes I make to the flash module settings don't get saved.

Quote · 23 Jul 2011

Ok, I found back the correct .htaccess in my backups. I placed it and checked if for anything linking to the /beta2 dir, but nothing does. Still it remains the same that the site breaks if I remove the /beta2 dir.

Secondly since the flash plugin doesn't work at the moment (can't disable the RAY), and all the chat modules are bust, I'm trying to remove the link from the menu. But it stays there. can't remove the links either.

Need advice.

Quote · 23 Jul 2011

when you moved from /beta to  /, it would be my thought, that you didnt get the .htacess to move with it. also if you had any redirects set in cpanel, those would need to be removed.

 

htaccess belongs in root of the account.

 

when i move subdirectories to root

mv * ../

that moves everything, except for the . {dot iterations}

then i do mv *. ../

that will move the dot iterations

so i think what happened when you moved the files, actually you copied them, with cp, then you removed the /beta dir,  you removed the second instance. the 500 error is indicative of an issue with htaccess.

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 24 Jul 2011

Correction. .* will move dot files. You can also combine the two, like so:

 

mv * .* /new/directory

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Jul 2011
 
 
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.