Moving Phoenix to a new directory

Open to all! Ask other shopowners for help.
Post Reply
GetSirius
Member
Posts: 50
Joined: Wed Mar 17, 2021 7:15 pm
Phoenix Version:
Has thanked: 14 times
Been thanked: 2 times

Moving Phoenix to a new directory

Post by GetSirius »

After far too long I am wanting to make my Phoenix install public. I will need to change the directory name, but did not find this info by searching here. I will be changing from something like mydomain.com/phoenixDevelopment to mydomain.com/shop.

Am I right to assume that this process is pretty much the same as osC 2.3.4? That is, move the files to my new directory, copy the existing database to a new one for the live shop, update the two config files, update the Auto Return for PayPal.

I will leave the development install for testing any changes.

If I am missing something, please let me know.
Thank you in advance!


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Moving Phoenix to a new directory

Post by Kofod95 »

That should do, yes.
You can also install a fresh Phoenix in the new directory, and then just add your new files from the dev-site (everything from override, new modules, new hooks, new actions, and new pages).

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: Moving Phoenix to a new directory

Post by raiwa »

The auto return URL in your PayPal Account will be overridden by the return URL passed in the PayPal module. No need to adjust it.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
GetSirius
Member
Posts: 50
Joined: Wed Mar 17, 2021 7:15 pm
Phoenix Version:
Has thanked: 14 times
Been thanked: 2 times

Re: Moving Phoenix to a new directory

Post by GetSirius »

Thanks to Kofod95 and raiwa.
I did not know that PayPal will not need the setting changed, I will give it a try that way first.

Edit:
For those who may read this in the future, Everything appears to be working. I did not change the setting in PayPal.

Snags
Braintree Credit Card module by zipurman. I had to remove the module, upload new install files, then re-install. Easy enough.
File /shop/templates/override/static/user.css did not copy properly, not sure why.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply