This is a collection of all those little and large genius moments you get. You know what I'm talking about, when you've spent hours searching the internet for a solution, but no one quite knows the while answer. Then you crack it and feel like you've accomplished lifting a mountain from your path.
Recently we moved a site to another server and it broke in Internet Explorer (IE). What we and the client saw was in IE the site had no styles. In Chrome and Firefox the page rendered, but it was still broken and this could be seen by a gap at the top of the site where there shouldn't have been a gap. The way to fix it is to make sure both your php (.php) files and template files (.ss) are converted to 'UTF-8 without BOM'. It could also be caused by leading or trailing spaces outside your php tags.
For a more information and the resources I found this information on use the links at the bottom.
Website broken, Silverstripe space at the top of page, Head inside body, Head tag is empty, No styles.
I had the below error when I installed a Wordpress Plugin for a site I am working on.
The plugin generated 228 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
After having done quite a bit of work on the site already, I decided to see what the problem could be.
If you read the link below it'll give you a comprehensive answer, but my short and sweet version is:
The <?php ?> open or closed tags are missing in the main php file for the plugin.
Ever had the problem where special prices are appearing on products, but you haven't set one up.
This problem is usually because you've setup a promotional code and either set it as inactive, active, or even deleted it, but then missed the step of APPLY CODES, this then applies all the new codes and removes the old ones.
To setup promotional codes, have a look at the link below, but the keypoints are:
Conditions set the products that the eligible for the promo
Actions are what are applied
I usually duplicate the conditions in the actions settings as well.
In order to apply promo codes to specific products you need to change the setting to allowed for the 'use in promo codes' in the attribute settings.
click here for the original website relating to Promocodes