And removing unnecessary closing-opening PHP tags is pretty much always a good idea. They're completely unnecessary, and are bound to create problems.<div><br></div><div>Chip<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 7:57 AM, Jay <span dir="ltr"><<a href="mailto:furcifer@furcifer.me">furcifer@furcifer.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Blank lines be the devil, if you use an editor like Php Designer it has an option to automaticly remove all blank lines.<br>
<div><div></div><div class="h5"><br>
"Otto" <<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>> wrote:<br>
<br>
>On Mon, Jan 3, 2011 at 5:29 AM, Pritam P Hans <<a href="mailto:pritam.hans@gmail.com">pritam.hans@gmail.com</a>><br>
>wrote:<br>
>> Hi friends,<br>
>><br>
>> A very happy new year to all. One of my WP themes (Shaan --<br>
>> <a href="http://wordpress.org/extend/themes/shaan" target="_blank">http://wordpress.org/extend/themes/shaan</a>) has been recently included<br>
>in the<br>
>> theme repository. I have received a two complaints regarding not<br>
>being able<br>
>> to log in to WP after installing the theme. Is it an error with the<br>
>theme?<br>
>> Can you please help me solve the issue?<br>
><br>
><br>
>Your main problem is this:<br>
><br>
><?php //Retrieve Theme Options Data<br>
>global $options;<br>
>$options = get_option('p2h_theme_options');<br>
>?><br>
><br>
><?php<br>
>$functions_path = TEMPLATEPATH . '/functions/';<br>
>//Theme Options<br>
>require_once ($functions_path . 'theme-options.php');<br>
>...<br>
><br>
>See how it has the ?> then the empty line, then the <?php again? That<br>
>will cause it to output a single blank line, which will break the<br>
>login process because of the cookies being unable to be sent.<br>
><br>
>The functions.php file should never, ever, ever, ever produce output<br>
>on inclusion.<br>
><br>
>-Otto<br>
>_______________________________________________<br>
>theme-reviewers mailing list<br>
><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br>
</div></div><font color="#888888">--<br>
Mobile, wolf is mobile.<br>
<a href="Http://furcifer.net" target="_blank">Http://furcifer.net</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br></div>