Jump to content
Gary C

White Screen of Death

Recommended Posts

Gary C

I asked James in live chat how to change the font styles for my site (i.e. H1,H2,H3 etc) he send over a link to http://www.freebits.co.uk/css-heading-tag.html as a suggestion on how to do this. I copied and pasted the following into the "Custom Code" box and got the white screen of death

<style type="text/css">

h1 {

font-size: 16px;

color: #006633;

font-weight: bold;

margin-top: 0px;

margin-bottom: 3px;

}

h2 {

font-size: 12px;

color: #3333FF;

font-weight: bold;

margin-top: 0px;

margin-bottom: 3px;

}

</style>

Help?

Share this post


Link to post
Share on other sites
Simon

You dont need style tags, they are added automatically.

CSS would not cause a white screen. The white screen is a PHP error, and if it happens on save it normally means a plugin or something is outputting before the page headers are sent, causing a 'headers already sent' error.

Anyhoo, enable WP_DEBUG inwp-config.php and you will be able to see the error.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • jorgevas78
      By jorgevas78
      I got the WSOD ( White Screen Of Death ) . I narrowed it down to the plugin Better iBoxes. There was no problem with the plugin until I saved the home page and didn't complete (internet disconnection). The home page broke along with other pages. I followed the trouble shoot at the bottom of the WSOD. Reinstalled the plugin and wordpress. Made no difference. Seems to be a php issue and I can't figure it out. Don't know php either. Please help.  
       
       
      WordPress Version
      3.7.1
      WordPress Debug
      Disabled
      Multisite Enabled
      No
      Current Role
      Administrator
      Framework Path
      /home/jorgevas78/stallion-entertainment.com/wp-content/themes/dms
      Framework URI
      http://www.stallion-entertainment.com/wp-content/themes/dms
      Framework Version
      1.1.4
      PHP Version
      5.3
      Child theme
      Yes
      /home/jorgevas78/stallion-entertainment.com/wp-content/themes/viewer
      http://www.stallion-entertainment.com/wp-content/themes/viewer
      PHP memory
      256
      Mysql version
      5.1.56-log
      PHP type
      Cgi-fcgi
      PHP User
      Jorgevas78
      OS
      Linux
      Licence OK
      Jorge.vas78@gmail.com
      Installed Plugins
      author-profiler/author-profiler.php
      ba-authors/ba-authors.php
      black-studio-tinymce-widget/black-studio-tinymce-widget.php
      breadcrumb-nav-for-wordpress-seo-by-yoast/breadcrumb-nav-for-wordpress-seo-by-yoast.php
      breadcrumb-navxt/breadcrumb-navxt.php
      bwp-recaptcha/bwp-recaptcha.php
      check-email/check-email.php
      contact-form-7-bwp-recaptcha-extension/contact-form-7-bwp-recaptcha-extension.php
      contact-form-7/wp-contact-form-7.php
      custom-sidebars/customsidebars.php
      dms-breadcrumb-navxt/dms-breadcrumb-navxt.php
      easy-pie-chart/easy-pie-chart.php
      flamingo/flamingo.php
      footer-extras-dms/footer-extras-dms.php
      fullbox/fullbox.php
      google-analytics-for-wordpress/googleanalytics.php
      grid-shortcodes/grid-shortcodes.php
      groundwork/groundwork.php
      jetpack/jetpack.php
      mailchimp/mailchimp.php
      ninja-page-categories-and-tags/ninja_page_cats_tags.php
      pagelines-customize/pagelines-customize.php
      pagelines-googlefonts/pagelines-googlefonts.php
      pagelines-poppy/pagelines-poppy.php
      post-types-order/post-types-order.php
      postpins/postpins.php
      regenerate-thumbnails/regenerate-thumbnails.php
      salebar/salebar.php
      slabtext/slabtext.php
      slide-in/loader.php
      socialmarketing/socialmarketing.php
      splash-box/splash-box.php
      unattach/unattach.php
      wordpress-chat/wordpress-chat.php
      wordpress-seo/wp-seo.php
      wp-gallery-custom-links/wp-gallery-custom-links.php
      wp-mail-smtp/wp_mail_smtp.php
    • jorgevas78
      By jorgevas78
      I ran into some trouble with Better iBoxes. It wouldn't display some text in the header section under the nav bar and the boxes themselves wouldn't work. When logged in I got the white screen of death. I unplugged your plugin and everything returned back to normal. There was no issue with you plugin before my last save on that page that didn't complete. Attempted to debug but couldn't find or correct the problem. I uninstalled the plugin, unloaded it again, updated it to the current version and resulted in the same error.  I'd really have enjoyed using your product and need you assistance in getting this back on track. 
       
       
      Here is what the Chrome Developer tool listed in the console. The webpage is www.stallion-entertainment.com/home2/
       
      Uncaught TypeError: Cannot set property 'w' of undefined script.resize.js?ver=1.1.4:9 event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 2Uncaught TypeError: Cannot set property 'w' of undefined
×