These are chat archives for collectiveaccess/support

21st
Feb 2016
juanulload
@juanulload
Feb 21 2016 03:00
Hi, i´m trying to install Providence on a local server (using WAMP) for a project here in Valparaíso, Chile. I mannaged to install it, but when i try to run it, the software gives me an error message sayin that "it looks like CA_URL_ROOT variable in your setup.php is not set correctly". Im stuck there, because i dont know what to put in that line taking in count that it's not a web server. Any help would be really apreciated
CollectiveAccess
@collectiveaccess
Feb 21 2016 03:01
Is it in a subdirectory?
juanulload
@juanulload
Feb 21 2016 03:02
it's in C:\wamp\www\collectiveaccess\collectiveaccess
CollectiveAccess
@collectiveaccess
Feb 21 2016 03:03
try setting ca_url_root to "/collectiveaccess/collectiveaccess"
juanulload
@juanulload
Feb 21 2016 03:08
that's the same advice that providence gave me, but my problem it's that i don't know what i need to change in this line:
if (!defined("CA_URL_ROOT")) {
define("CA_URL_ROOT", strreplace(isset($SERVER['DOCUMENT_ROOT'] ? $_SERVER['DOCUMENT_ROOT'] : ' ', ' ', __CA_BASE_DIR));
}
CollectiveAccess
@collectiveaccess
Feb 21 2016 03:09
kill all of that
and replace it with this:
define("CA_URL_ROOT", "/collectiveaccess/collectiveaccess");
just to see if it works
it should auto configure but I guess WAMP is being funny
juanulload
@juanulload
Feb 21 2016 03:14
ok, i will try that now.
juanulload
@juanulload
Feb 21 2016 03:23
it work, muchas gracias! its like a dream come true haha
CollectiveAccess
@collectiveaccess
Feb 21 2016 03:23
happy saturday night