install Global Variables error - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Modules/Extension Support (https://discussions.corebos.org/forumdisplay.php?fid=9) +--- Thread: install Global Variables error (/showthread.php?tid=102) |
install Global Variables error - saidmsl - 03-10-2015 Hi, i'm testing the global Variables module i'm using the cbupdater module to install it : i got the error : FAILED TO SETUP SearchGlobalVar WEBSERVICE Rgds Re: install Global Variables error - joebordes - 03-10-2015 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: Code: <?php 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 Re: install Global Variables error - saidmsl - 03-11-2015 Hi, oups, my error, i did not include thr file in utils.php require_once 'modules/GlobalVariable/GlobalVariable.php'; if think the sync with github did not work it's ok now rgds Re: install Global Variables error - saidmsl - 03-11-2015 by the way, what does this module suppose to do? Rgds Re: install Global Variables error - joebordes - 03-11-2015 This module isn't finished yet. It is totally operative but now we need to implement system changes to make it useful. I will document it as soon as we get to adapting the system to it, but the ides is that many of the variables in the system will now be extracted from this module instead of from configuration file (config.inc.php). So for example, you will be able to change the number of list view records in this module instead of manually editing the config.inc.php $list_max_entries_per_page variable or changing it through Settings > Configuration editor. The power and real reason for doing this is that now, not only will you be able to change this variable (which you already could) but that the global variable module is smart enough to permit us to define that variable by user and module, so you can have accounts showing 100 records per page for one user and contacts showing 20 records per page for another user,... Another example that you can try right now as that has been the first implementation of the module: products/services on inventory modules: you can now define if you want to see product or service first in a quote or invoice, but you can do that per module and per user. I will keep informing... |