Check if DONOTCACHEPAGE is defined before defining in user log template.  Other misc. typos.