Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
The white screen means that your PHP is tossing 500 Server errors. Check your web servers access and error log files to see where the problem is.
Recent Error_Log entry:
[09-Sep-2012 14:28:39] PHP Warning: Cannot modify header information – headers already sent by (output started at …/public_html/wp-content/themes/ChapDaddy.me/functions.php:5) in …/public_html/wp-includes/pluggable.php on line 881
Here’s the snippet of code the error refers too (the top, first line is actually line 5)
<?php if (function_exists('register_sidebar'))
register_sidebar(array(
'name'=>'Right Sidebar',
'before_widget' => '<div class="rightwidgets">',
'after_widget' => '</div>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
)); ?>
new to php coding and very new to WP php coding…so what is the problem with line 5(1)?
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Cannot modify header information – headers already sent by
Those are tricky, if that’s it. Give this a good read and check your wp-config.php
file.
http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F
fixed it for now… it’s weird though. I never touched wp-config.php and yet it somehow forgot to end the php code… amazing how just two symbols break the whole site…