undefined location of "htaccessRewrite" caused fatal errors. Fixed.