The problem is apparently with AOLserver 4.0.10. The name of the command was changed from "ns_register_adptag" to "ns_adp_registerscript" between AOLserver 4.0.10 and AOLserver 4.5.0 because the former was misleading and the "adp" was at the wrong place. Newer versions of OpenACS use the more recent command name.
AOLserver 4.5.0 was released in 2006 (more than 8 years ago). I would recommend to upgrade to AOLserver 4.5 or better, to a recent version of NaviServer, this will improve stability, performance and security.
One could certainly change the few occurrences of the commands to their former names, but the likelyhood that something else pops up with the old server is larger than 0.