http://www.icyphoenix.com/viewtopic.php?f=35&t=8216
-----------------------------------
Renato71
Fri 11 Nov, 2011 23:00

Q: Changing Directory After Install
-----------------------------------
Hi,
I've decide to try and (re)build my site using IP, but I have lot of things to transfer.
Before install I would like to ask if it is possible to install IP using path like:
http://myweb.com/icy_phoenix/index.php

... and later on, after setting it up properly, to move everything from that dir into website root, like:
http://myweb.com/index.php

Thanks in advance!


-----------------------------------
spydie
Fri 11 Nov, 2011 23:41

Re: Q: Changing Directory After Install
-----------------------------------
the only thing to change is in the DB.

Table ip_config

entry : script_path

should be /icy_phoenix/ if you install in a subfolder. Just change it to / and it should work


-----------------------------------
Renato71
Sat 12 Nov, 2011 00:18

Re: Q: Changing Directory After Install
-----------------------------------
[quote user="spydie" post="54552"]the only thing to change is in the DB.

Table ip_config

entry : script_path

should be /icy_phoenix/ if you install in a subfolder. Just change it to / and it should work[/quote]

That sounds simple enough. I'll give it a go and let you know for sure.
Thanks for reply.


-----------------------------------
Informpro
Sat 12 Nov, 2011 00:27

Re: Q: Changing Directory After Install
-----------------------------------
Hi.

Do not forget to empty the cache !


-----------------------------------
Hans
Sat 12 Nov, 2011 02:38

Re: Q: Changing Directory After Install
-----------------------------------
[quote user="spydie" post="54552"]the only thing to change is in the DB.

Table ip_config

entry : script_path

should be /icy_phoenix/ if you install in a subfolder. Just change it to / and it should work[/quote]

Thank you! 

I was going to ask about that myself, I have moved my forum from one domain to another but the way I did that was, "find/replace" everything in the DB.

I plan on moving another just wanted to know a little more about the correct way to do it.


EDIT: Not only do you want to empty the cache, but dont forget to change anything in your .htaccess file you may need to.


-----------------------------------
spydie
Sat 12 Nov, 2011 06:18

Re: Q: Changing Directory After Install
-----------------------------------
find and replace is OK, when you change Domain, becaus of BBcodes of images posted

since the BBcode includes the domain name


-----------------------------------
Hans
Sat 12 Nov, 2011 06:20

Re: Q: Changing Directory After Install
-----------------------------------
Takes forever sometimes though.  :( 

For a quick fix what you mentioned is best.  :drink_02:


-----------------------------------
TheSteffen
Sat 12 Nov, 2011 20:49

Re: Q: Changing Directory After Install
-----------------------------------
[quote user="Hans" post="54556"]I was going to ask about that myself, I have moved my forum from one domain to another...[/quote]
If you move to another domain you also should check config.php if your DB name and pass is still right.

I would use mysqldumper to save the database and find and replace with a texteditor maybe UltraEdit.
After that you can reupload you db using mysqldumper again.

Like spydie wrote, that is importaint to check in DB
Table ip_config
entry : script_path

Maybe also cookie_name cookie_path and cookie_domain ;-)


