Page 1 of 1

[SOLVED] Site does not work CONFIG.PHP

Posted: Thu Jan 06, 2011 10:16 pm
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

Re: Site does not work

Posted: Thu Jan 06, 2011 10:24 pm
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

Re: Site does not work

Posted: Thu Jan 06, 2011 10:41 pm
by chrisbar
That's it!
I changed the cofig.php

The HTAccess file I can't find??

Re: Site does not work

Posted: Thu Jan 06, 2011 10:45 pm
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

Re: Site does not work

Posted: Thu Jan 06, 2011 10:56 pm
by Wishbone
If you don't have the .htaccess file, you should be OK.

[SOLVED] Re: Site does not work

Posted: Thu Jan 06, 2011 11:05 pm
by chrisbar
Thank you all! This was a quick fix! So this item is solved now!
;)