[SOLVED] Site does not work CONFIG.PHP

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

[SOLVED] Site does not work CONFIG.PHP

Post by chrisbar »

Hello everybody,

I moved my site (which was located in www/test/) to the level of www, but now I get the follwing message when I try to open the site:

There is no config.php file or install/index.php please correct one these errors!

Does anyone have an Idea? The config.php is there ande the install/ has been moved after I upgraded succesfully to version 1.9.2.

Chris
Last edited by chrisbar on Thu Jan 06, 2011 11:06 pm, edited 1 time in total.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Site does not work

Post by M@rtijn »

Did also you change all reference's to 'www/test' in your config.php file?

Code: Select all

$config['root_url']
$config['root_path']
$config['previews_path']
$config['uploads_path']
$config['image_uploads_path']
Also, in .htaccess there is a line

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
There should be nothing behind the slash here
Make your community a better place!
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: Site does not work

Post by chrisbar »

That's it!
I changed the cofig.php

The HTAccess file I can't find??
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: Site does not work

Post by M@rtijn »

Is it working now?

The .htaccess file should be in the root of your installation, but it's not always needed. So, if everything works, don't bother :D
Make your community a better place!
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Site does not work

Post by Wishbone »

If you don't have the .htaccess file, you should be OK.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

[SOLVED] Re: Site does not work

Post by chrisbar »

Thank you all! This was a quick fix! So this item is solved now!
;)
Locked

Return to “[locked] Installation, Setup and Upgrade”