03-10-2015, 10:03 PM
That is odd. I have done various installs of this module already, in fact I did one this morning with no issues.
I had a look at the code to see where the message you indicate is and it seems that you had a problem inserting a record in the vtiger_ws_operation table, which is strange.
I don't quite know what to say nor why you got that error.
To get Global Variable module correctly installed on your system you have to execute this code:
that wil finish the installation where it broke, but it won't install the webservice. You can create a changeset to get that installed. Look at the files in build/wsChanges/ and create yourself one based on the specification in line 458 of modules/GlobalVariable/GlobalVariable.php
I had a look at the code to see where the message you indicate is and it seems that you had a problem inserting a record in the vtiger_ws_operation table, which is strange.
I don't quite know what to say nor why you got that error.
To get Global Variable module correctly installed on your system you have to execute this code:
Code:
<?php
// Turn on debugging level
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Module.php');
$modname = 'GlobalVariable';
$module = Vtiger_Module::getInstance($modname);
if($module) {
$module->initWebservice();
}
?>
that wil finish the installation where it broke, but it won't install the webservice. You can create a changeset to get that installed. Look at the files in build/wsChanges/ and create yourself one based on the specification in line 458 of modules/GlobalVariable/GlobalVariable.php
Joe
TSolucio
TSolucio