Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom module upgrsde in CS10.5

Status
Not open for further replies.

atanusil29

Programmer
Sep 24, 2014
1
SG
Hi Everyone,

We are upgrading from CS10 to 10.5. In CS10 we have 3 custom modules which we need to install in CS10.5, inorder to complete the DB upgrade process. Now when I simply try to install those modules by putting in staging folder,its failing and gives back a blank page.
We can not proceed further.
Please suggest on this .

Thanks
Atanu
 
Your assumption of the 3 custom modules needed to complete the upgrade is wrong unless the modules have logic that says they have to be there.The simplest upgrade option would be for you to bring the 10 module to 10.5 staging open its ini and set the KERNEL and other dependencies correctly to 1.5 guessing at the numbers if you are not a oscripter.If it does not work that way perhaps it can be installed but if functionality breaks or livelink does not load/start you have to get a oscripter to look at the module in 10 to suggest remedies of how to make it work in 10.5.As a matter of fact I was able to repair about 40 or 50 modules written in 971 fotr two systems one a 10 system and one a 10.5 system.Some modules took repairs at source system like 971 or 10.Majority of the modules were ok with just kernel and dependencies correction.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
atanusil29,

Was your issue resolved? If you need assistance in updating fields to 10.5, its not difficult at all (I'm not a developer) as even I myself have done this.

Regards
 
HI Appu,

I have tried changing the module names in ini file to CS 10 compliance but my custom module built in 9.7.1 does not get installed correctly. I get message 'Error dispatching request Invalid function <name>.configure. I am using Windows environment.

can you please assist. what do i need to check in 9.7.1 to make it compliant with CS10.

Kind regards,
Sachin
 
Assuming your 971 module has simple code lines like Request Handlers,Webnodeactions,eventscripts etc and nothing very complicated try this.There is no guarantee this will work because when you start a livelink server the code is compiled by the internal compiler so if it has lines of code it cannot compile it is not going to work.

OK assume for a second your module is called appucustom_9_7_0 put this into the staging folder of a playing CS10 server.Take a backup of the folders for your good cs10 install.Keep it safe somewhere.

Call this appucustom_10_0_0.Open its ini and observe existing lines.I have shown you a module that depended on three
OT modules that I fixed for 10 .in your 971 it may say classification 4,0 etc whatver was that OT produced for 971.
if it says webnode something look at the numbers of webnode for your 10 and so on.

[dependencies]
requires_1={'kernel',10,0}
requires_2={'oi',10,0}
requires_3={'classification',10,0}

If in doubt look at a good OT module like webnode what its kernel is and so on.

Now try to install it.If you have errors then look at the last two lines in the [modules] section of your ini
a good install will put 3 lines look at the ones above something like this

module_132=appucustom
ospaces_appucustom={'appucustom'}
appucustom=_10_0_0

If it is only two lines then the module has problems which can only be fixed by looking at its internals using builder.
The way I do is I will look at dependencies of 971 and see what 10 code is complaining and removing it in 971 to keep it happy in 10.

Good luck.

If it is something simple I will take a look at it for you so send me your module in the weekend or so finding me in linked in or so.
Do not post your email here you will be banned by tek tips







Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top