Page 1 of 1

1.10 path directory location?

Posted: Fri Nov 04, 2011 5:28 pm
by blackhawk
Does anyone know where we set the root path in cmsms 1.10 whenever we move it from our localhos to a live server.

(i.e. /home/location/place......../root folder)

The config.php file doesn't appear to hold that information...

I got my site transfered but the only problem is that the styelsheet is not registering correctly and I can't access my admin folder/page.

thanks

[SOLVED]Re: 1.10 path directory location?

Posted: Fri Nov 04, 2011 5:33 pm
by blackhawk
ok you guys are great for creating 1.10 - its like revolutionary! Less options in config.php to modify when moving from local host to live hosts - who is to praise for this???

Any way the mistake was my fault, I mis-spelled my $config['root_url'] location in the config file. It's all working now, front-end and back-end.


Thanks again for a great cms!
bh

Re: 1.10 path directory location?

Posted: Fri Nov 04, 2011 5:39 pm
by calguy1000
CMSMS 1.10 is capable of calculating the root path. It does not 'have' to be in your config.php if you don't want it to be.

However.
$config['root_path'] = getcwd();

should do the trick if you think that's the problem.

On a side note, did you enable debug mode to actually see what the problem was?

Re: 1.10 path directory location?

Posted: Fri Nov 04, 2011 6:46 pm
by blackhawk
The problem was solved - its my fault - i typed my url wrong in the config.php file, on the live host. But I will take advantage of debuging more with 1.10 on my development site for learning purposes. Thanks guys! I love this auto-detect thing you guys got going on for path locations - awesome!