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
I developed a website underwww.www.jkgroupllc.com/concrete5/...
Can it be moved to the roothttp://www.jkgroupllc.com?
If so, how?
Thanks,
John
Seehttp://www.concrete5.org/documentation/how-tos/developers/how-to-mo... and http://www.concrete5.org/documentation/installation/moving_a_site...
Great, many thanks for the quick rely.
I followed the instructions however, when I gotohttp://www.jkgroupllc.com a blank page appears.
Correction, I get the logon screen then after logging in the blank screen appears.
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
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
Have a look at the paths in config/site.php and in .htaccess, check that they correspond to the location you have moved to.
My .htaccess is empty, This is my first time doing this and I not sure what to do.
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 '/'.
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 '/'.
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?
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?