Hi All,We recently installed Teamsite 6.7.1 and copied iwstore from development(TS 6.1) to test(TS 6.7.1) environment.In development every thing is working fine,but in test environment inline function are not working.Inline function we are using a ipl file which get's a list of elements from an xml file and populate in drop down select.In ipl file we are using clt's for getting extended attribute.CLT:$admin_path =`$EXTERNAL_ATTR_CMD -g $HOME_ASSET_ADMIN_PATH $dcr_path`;Here $admin_path is coming null always,if you run in the command prompt we are getting value.We have not installed DBD modules in test environment,is it creats any problem?Test Environment:Teamsite 6.7.1,win2k3,SQL server2kDevelopment :Teamsite 6.1,win2k3,SQL Server 2kIf anybody knows this problem can suggest me.Thanks and RegardsRajaRamesh
BEGIN { ... };
Without seeing the code in question and the fully evaluated command string - it's difficult to provide a reasonable response - but if the script works from the command line and not from the inline, it is usually a case of missing environment information that needs to be set explicitly within the script in a BEGIN { ... }; block - there are a whole bunch of threads in the forums that end up being resolved in this manner.
Thanks Ghoti for quick response.It's not working in command line also just i am printing command value and executing manually.Here I have more question do we need to instal DBD module for connecting database?I am not able to finding document and dbd modules for SQL server and Widows combination.Can you please tell me where can I get those things. Please find the attached ipl file.Thanks and RegardsRajaRamesh
The code uses lots of custom modules and nowhere, that I can see, explicitly makes any DB calls. If the custom modules are making DB calls then yes, you probably need the proper DBD's built for your system - chances are though, you have the DBD modules on your 6.1 server - so you should be able to copy them from there - otherwise you need to download them from CPAN and build them (search the forums, read the README files with the DBD distributions for more information about this)It's possible that even with the DBD modules your code won't work - since often the DBD modules assume the presence of DB client libraries and such being installed on the TeamSite server. Whoever was responsible for setting up your 6.1 server should have documented all of this - if they didn't - they should never be hired again IMO.