02-24-2016, 03:21 PM
okay, so then what did you enter for your path during setup? You should set it according to the webserver root. Since it is installed in /userspice4/ then you should enter that when it asks for the path. You can either drop the tables and start again, or you can try editing the core/init.php file and make the changes to the path settings as follows. As mudmin pointed out, those places need to reflect the path relative to the web root.
function env($type=’server’){
if($type == ‘server’){
if($_SERVER[‘HTTP_HOST’] == ‘localhost’){
return $_SERVER[‘DOCUMENT_ROOT’].
‘/userspice4/’;
}else{
return $_SERVER[‘DOCUMENT_ROOT’].
‘/userspice4/’;
}
}else{
if($_SERVER[‘HTTP_HOST’] == ‘localhost’){
return
‘/userspice4/’;
}else{
return
‘/userspice4/’;
}
}
}
function env($type=’server’){
if($type == ‘server’){
if($_SERVER[‘HTTP_HOST’] == ‘localhost’){
return $_SERVER[‘DOCUMENT_ROOT’].
‘/userspice4/’;
}else{
return $_SERVER[‘DOCUMENT_ROOT’].
‘/userspice4/’;
}
}else{
if($_SERVER[‘HTTP_HOST’] == ‘localhost’){
return
‘/userspice4/’;
}else{
return
‘/userspice4/’;
}
}
}