Missing CSS when installed on subdomain

Topics: Business Logic Layer, Controls, Themes
Jul 21, 2014 at 11:22 PM
Hi

I'm working with 2.8 which runs perfectly locally but when I publish to a subdomain the css and images wont load. When I look at the console in google chrome there's a long list of resources that failed to load with a 500 internal server error topped off with some js errors as follows:

Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/Content/Auto/Global.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/themes/Standard/include/core.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/themes/Standard/include/styles.min.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/editors/tiny_mce_3_5_8/plugins/syntaxhighlighter/styles/shCore.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/editors/tiny_mce_3_5_8/plugins/syntaxhighlighter/styles/shThemeDefault.css
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/en-us.res.axd
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/Scripts/Auto/01-jquery-1.9.1.min.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/Scripts/Auto/02-jquery.cookie.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/Scripts/Auto/04-jquery-jtemplates.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/Scripts/Auto/05-json2.min.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/Scripts/Auto/blog.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/editors/tiny_mce_3_5_8/plugins/syntaxhighlighter/scripts/XRegExp.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/editors/tiny_mce_3_5_8/plugins/syntaxhighlighter/scripts/shCore.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/editors/tiny_mce_3_5_8/plugins/syntaxhighlighter/scripts/shAutoloader.js
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://blog.maloneaccountants.ie/editors/tiny_mce_3_5_8/plugins/syntaxhighlighter/shActivator.js
Uncaught ReferenceError: $ is not defined (index):86
Uncaught ReferenceError: BlogEngine is not defined (index):372

also when I try to go to admin I get "The page cannot be displayed because an internal server error has occurred."

Everything works fine locally and when not using a subdomain on the same host.

Any help greatly appreciated this has been driving me nuckin futs for days.
Coordinator
Jul 22, 2014 at 5:09 AM
BlogEngine uses URL rewrite (to hide ".aspx", to have virtual paths like "category" etc), your host probably also uses URL rewrite to subdomain. They can conflict with each other. If possible, use subdirectory - site/blog instead of blog.site.