AOLserver 3.x to 4.x Upgrade Notes

From AOLserver Wiki
Revision as of 01:52, 16 April 2005 by WikiSysop (talk | contribs) (imported from WiKit id 1413)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Let this page serve as a collection of pitfalls and gotchas and other relevant information to anyone who is upgrading from AOLserver 3.x to AOLserver 4.x.


nsdb - In AOLserver 3.x, nsdb was integrated into the nsd. In AOLserver 4.0, it was extracted into its own loadable module which the nsd now loads. So, if you want to use database drivers, you will now need to explicitly load nsdb in your server's ns/server/${servername}/modules section using "ns_param nsdb nsdb.so".

ns_adp_eval - In AOLserver 3.x, this command took an optional -parser parser arg before the page arg, which was removed in AOLserver 4.x. This will cause scripts which use [ns_adp_eval -parser fancy {... ADP ...}] to simply return the string "-parser" as it's interpreting that argument as the page argument, evaluating it and then returning it. When migrating from AOLserver 3.x to 4.x, all uses of ns_adp_eval must be checked, and if -parser is specified, it must be removed.

custom C modules - If you have your own custom C modules that you use with AOLserver, you should read the AOLserver 4.0 Module Porting Guide.


Category Documentation