1.10 path directory location?

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
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

1.10 path directory location?

Post 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
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

[SOLVED]Re: 1.10 path directory location?

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: 1.10 path directory location?

Post 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?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

Re: 1.10 path directory location?

Post 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!
Locked

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