Im having trouble with Magento not displaying our custom package/theme after setting up SSL security. I had just moved everything from our testing site, to the live site, and afterwards the template was loading fine. However, when I enabled secure URLs on frontend and backend, and changed the Secure Base URL, the store will not load the custom theme anymore - even if I disable Secure URLs. If I change theme to "default" or another theme, it seems to load ok. Its just when I use my custom theme. I've flushing the cache and reindexing a few times, but it doesn't seem to have any effect. I've verified that the custom theme folder is still there and checked that the owner/group and permissions were the same as the test site, but still no luck.
When my custom theme is selected, the site looks like CSS is not loading. If I check the source, I can see that it is trying to pull the styles.css from /skin/frontend/base/default/css/styles.css instead of from /skin/frontend/MyPackage/default/dist/css/style.css Other themes load the css ok though.
Any help is much appreciated.
UPDATE: I put the store into Developer Mode and now I can see this error:
Warning: simplexml_load_string(): Entity: line 112: parser error : Opening and ending tag mismatch: remove line 88 and reference in /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
#0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...', '/var/www/scales...', 444, Array)
#1 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Model/Layout/Update.php(444): simplexml_load_string('getFileLayoutUpdatesXml('frontend', 'scalesnet', 'default', '1')
#3 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Model/Layout/Update.php(347): Mage_Core_Model_Layout_Update->fetchFileLayoutUpdates()
#4 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Model/Layout/Update.php(246): Mage_Core_Model_Layout_Update->fetchPackageLayoutUpdates('default')
#5 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Model/Layout/Update.php(224): Mage_Core_Model_Layout_Update->merge('default')
#6 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(306): Mage_Core_Model_Layout_Update->load()
#7 /var/www/scales.net/httpdocs/app/code/core/Mage/Catalog/controllers/CategoryController.php(137): Mage_Core_Controller_Varien_Action->loadLayoutUpdates()
#8 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#9 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#10 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /var/www/scales.net/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#12 /var/www/scales.net/httpdocs/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#13 /var/www/scales.net/httpdocs/index.php(87): Mage::run('', 'store')
#14 {main}