Moving to the root directory

Permalink
Hi,

I developed a website underwww.www.jkgroupllc.com/concrete5/...
Can it be moved to the roothttp://www.jkgroupllc.com?
If so, how?

Thanks,
John

johnribar
 
JohntheFish replied on at Permalink Reply
JohntheFish
johnribar replied on at Permalink Reply
johnribar
Great, many thanks for the quick rely.
johnribar replied on at Permalink Reply
johnribar
I followed the instructions however, when I gotohttp://www.jkgroupllc.com a blank page appears.
johnribar replied on at Permalink Reply
johnribar
Correction, I get the logon screen then after logging in the blank screen appears.
johnribar replied on at Permalink Reply
johnribar
this morining I get this error message:

Warning: require(concrete/dispatcher.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb/web228/b2280/ipg.jkgroupllccom/index.php on line 2

Fatal error: require() [function.require]: Failed opening required 'concrete/dispatcher.php' (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosweb/web228/b2280/ipg.jkgroupllccom/index.php on line 2
JohntheFish replied on at Permalink Reply
JohntheFish
Have a look at the paths in config/site.php and in .htaccess, check that they correspond to the location you have moved to.
johnribar replied on at Permalink Reply
johnribar
My .htaccess is empty, This is my first time doing this and I not sure what to do.
JohntheFish replied on at Permalink Reply
JohntheFish
The error message is saying that when running index.php, the php interpreter could not find the file concrete/dispatcher.php

What this means is that:
index.php should be in your web root
dispatcher.php should be in the directory 'concrete/' beneath your web root.
site.php should be in the directory 'config/' beneath your web root.

There may also be a file .htaccess in your web route (though this doesn't have to exist). Also, because it begins with a '.', you may not be able to see it.

Within site.php there are some constants that configure database access and the path that C5 will work out all the paths relative to. There could be a similar constant for the C5 path in .htaccess

You need to check the files exist in the right places, and check the constants match the path to the web root, most likely '' or '/'.
garyjhills replied on at Permalink Reply
garyjhills
I am getting similar problems. I installed c5 on a subfolder of my domain - let's say it's publci_html/xxxx

I can see my site fine when I look at mydomain.com/xxxx

when I move the entire c5 installation (which I have done of numerous occasions before with many websites) to the root I get the error about the php but it says it is still trying to look in the xxxx directory for it.

This is very confusing, it's not done this to me before and I see no reason why it would still be trying to look in the old subfolder for the files when they have all been moved and are all 100% in the right folders.

Any other thoughts?