Page 1 of 1

[SOLVED] Moving site from sub directory -I have done this...

Posted: Tue Sep 17, 2013 7:55 pm
by fearmydesign
>:( I have done this soooo many times, I really don't know what is going on here, I have tried many things and nothing is working.

So, I installed 1.11.8 as a brand new installation under a sub directory http://www.ciakitchens.com/cia - All I wanted to do now is move the finished site to the root (again something I have done many times). Here is what I did:

1. cleared cache from admin
2. moved all the files from html/cia to the root html/
3. that's it!! everything should have worked, but it didn't. I was getting several error I did not document, but here is what I did next;

What I tried next:
1. changed the config.php permission to writable 777
2. added the following two lines (because I read in the forum topic to try this):
$config['root_path'] = '/home/content/html/cia';
$config['root_url'] = 'http://www.ciakitchens.com/cia';
3. This didn't work either

Next:
1. I read I should use upgrade.php, so I uploaded the 'install' folder but didn't work, I get this error now:
Warning: require_once(/home/content/html/lib/misc.functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/html/install/index.php on line 33

Fatal error: require_once() [function.require]: Failed opening required '/home/content/html/lib/misc.functions.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/html/install/index.php on line 33

Threads I looked at:
1. http://forum.cmsmadesimple.org/viewtopi ... th#p300657
2. http://forum.cmsmadesimple.org/viewtopi ... te#p300539
3. http://docs.cmsmadesimple.org/moving

I followed all the instructions on moving doc. I made sure I had the correct 777 on all the corresponding folders as well (i.e. modules, tmp, tmp/templates_c, tmp/cache, uploads, uploads/images). I also tried making the config.php 777 and 644, and 444 and still nothing!

I do not have access via shell as this is basic GoDaddy shared hosting (not to mention I don't know shell commands).

Any other suggestions I can try? I haven't changed the database or anything... :-\

Lastly, I have moved the site back to http://www.ciakitchens.com/cia and it works fine... so I really don't understand why it doesn't work when I move to root directory by doing the steps mentioned above :-\
:-[

Thank you for your help

Re: Moving site from sub directory -I have done this many ti

Posted: Tue Sep 17, 2013 8:25 pm
by fearmydesign
hmmn... it looks like I fixed it... really ALL I did was to move all the files again to the root.... and waited about 15 minutes; came back and it worked!!!

Any chance there is a lag on this GoDaddy server?... so everything I was doing was correct, but just had to wait >:(

???

Re: [SOLVED] Moving site from sub directory -I have done thi

Posted: Tue Sep 17, 2013 8:42 pm
by calguy1000
When moving the files you should
a: clear the cache in the site admin
b: move the files
c: adjust the config.php (may not be necessary with new versions of CMSMS).
d: clear the cache in the site admin in the new location
step a: is just a convenience, you don't really want or need all those tmp files in a .zip file when moving to a new host).

You need to clear the cache every time files are moved, or the config.php file is changed... and maybe even if the .htaccess file is changed (depending upon the rules you put in there).

Also, when testing, clear the cache in your browser.

Re: [SOLVED] Moving site from sub directory -I have done thi

Posted: Tue Sep 17, 2013 9:05 pm
by fearmydesign
calguy1000 wrote:When moving the files you should
a: clear the cache in the site admin
b: move the files
c: adjust the config.php (may not be necessary with new versions of CMSMS).
d: clear the cache in the site admin in the new location
step a: is just a convenience, you don't really want or need all those tmp files in a .zip file when moving to a new host).

You need to clear the cache every time files are moved, or the config.php file is changed... and maybe even if the .htaccess file is changed (depending upon the rules you put in there).

Also, when testing, clear the cache in your browser.
Thank you Calguy... the only step I didn't do was the clearing cache under the 'new' location, but only because it wouldn't even let me access the admin!!... glad I have it working now. Thanks again.

By the way, I read the entire thread listed on the CMSMS Newsletter, about the CMSMS vs. WordPress conflict. Some valid points on both ends, but I stick with CMSMS... I really love what you guys (entire dev team) have done.

Cheers!

Re: [SOLVED] Moving site from sub directory -I have done thi

Posted: Wed Sep 18, 2013 8:20 am
by Rolf
fearmydesign wrote:the only step I didn't do was the clearing cache under the 'new' location, but only because it wouldn't even let me access the admin!!... glad I have it working now.
You can always delete the files in the folder tmp/templates_c and tmp/cache manualy

grtz. Rolf

Re: [SOLVED] Moving site from sub directory -I have done thi

Posted: Fri Sep 20, 2013 1:29 pm
by fearmydesign
Rolf wrote:
fearmydesign wrote:the only step I didn't do was the clearing cache under the 'new' location, but only because it wouldn't even let me access the admin!!... glad I have it working now.
You can always delete the files in the folder tmp/templates_c and tmp/cache manualy

grtz. Rolf
Ahh!! Thank you Rolf, I didn't think about that. Excellent.