vtiger_search.php
Posted: Wed Mar 10, 2010 4:29 pm
Hey guys,
I have done several installs of this wonderful program over the last few months and they have been perfect.
I have always used the default ip address but I have an install that has a different IP address. I downloaded the latest and greatest 1.3 and the install is perfect except the vtiger_search.php is having issues.
In the webform field I put "http://192.168.47.107/vicidial/vtiger_search.php" and when the form is clicked from the agent screen I get..."http://192.168.47.107/agc2/vicidial/vtiger_search.php" with all the code behind it.
If I back out the agc2 from the url and hit enter I get..."http://192.168.47.107/vicidial/192.168.47.107/vtigercrm/index.php"
I have run the server IP update and have also looked in the vtiger_search.php but am not sure where to make the changes in the file. Am I supposed to change something in the area below?
###############################################################
##### START SYSTEM_SETTINGS VTIGER CONNECTION INFO LOOKUP #####
$stmt = "SELECT enable_vtiger_integration,vtiger_server_ip,vtiger_dbname,vtiger_login,vtiger_pass,vtiger_url FROM system_settings;";
$rslt=mysql_query($stmt, $link);
if ($DB) {echo "$stmt\n";}
$ss_conf_ct = mysql_num_rows($rslt);
if ($ss_conf_ct > 0)
{
$row=mysql_fetch_row($rslt);
$enable_vtiger_integration = $row[0];
$vtiger_server_ip = $row[1];
$vtiger_dbname = $row[2];
$vtiger_login = $row[3];
$vtiger_pass = $row[4];
$vtiger_url = $row[5];
}
##### END SYSTEM_SETTINGS VTIGER CONNECTION INFO LOOKUP #####
#############################################################
Sorry for all the info. I am just at a loss on this one.
I have done several installs of this wonderful program over the last few months and they have been perfect.
I have always used the default ip address but I have an install that has a different IP address. I downloaded the latest and greatest 1.3 and the install is perfect except the vtiger_search.php is having issues.
In the webform field I put "http://192.168.47.107/vicidial/vtiger_search.php" and when the form is clicked from the agent screen I get..."http://192.168.47.107/agc2/vicidial/vtiger_search.php" with all the code behind it.
If I back out the agc2 from the url and hit enter I get..."http://192.168.47.107/vicidial/192.168.47.107/vtigercrm/index.php"
I have run the server IP update and have also looked in the vtiger_search.php but am not sure where to make the changes in the file. Am I supposed to change something in the area below?
###############################################################
##### START SYSTEM_SETTINGS VTIGER CONNECTION INFO LOOKUP #####
$stmt = "SELECT enable_vtiger_integration,vtiger_server_ip,vtiger_dbname,vtiger_login,vtiger_pass,vtiger_url FROM system_settings;";
$rslt=mysql_query($stmt, $link);
if ($DB) {echo "$stmt\n";}
$ss_conf_ct = mysql_num_rows($rslt);
if ($ss_conf_ct > 0)
{
$row=mysql_fetch_row($rslt);
$enable_vtiger_integration = $row[0];
$vtiger_server_ip = $row[1];
$vtiger_dbname = $row[2];
$vtiger_login = $row[3];
$vtiger_pass = $row[4];
$vtiger_url = $row[5];
}
##### END SYSTEM_SETTINGS VTIGER CONNECTION INFO LOOKUP #####
#############################################################
Sorry for all the info. I am just at a loss on this one.