I have a wordpress site http://logisticsworkersnetwork.org/
There is a 'profile' sign-up form on the front page. The sign-up form works fine but there is no CSS or theme html when someone makes a mistake on the form. It goes to this page: http://logisticsworkersnetwork.org/?page=CiviCRM&q=civicrm/profile/create&page_id=2 and just shows the error and the form in pure html. That is, it shows the PRINTER-FRIENDLY version of the page. The console error says:
Uncaught ReferenceError: CRM is not defined (anonymous function) @ ?page=CiviCRM&q=civicrm/profile/create&page_id=2:100
NB: I have removed the civiCRM CSS file with Jquery. I also have a few hidden fields which are shown when a validation error occurs. This problem only arose after I switched from my localhost environment to my server (bluehost). I upgraded to civiCRM 4.6.2 (from 4.5.8) when I uploaded the site too.
UPDATE (12/May/2015): I have tried deleting the 'templates_c' folder but it doesn't work. I have tried clearing the cache.