Gallery controls preventing exception.tpl from loading

Hello,



I'm trying to modify exception.tpl to show a friendlier error page. I am trying to run the galleryview jQuery carousel. No problem loading the js files however when I put the gallery controls on the page, the page fails to load (white screen). This is all I am try to do:







I've confirmed the css is loading properly. Works as a standalone and on other sites. Is there something with CS Cart or the exception page which prevents me from using a gallery?

Ok, I figured out the problem. The controls needed {literal} and cdata: