it looks like there is a blank line before the first line of theme_options.php <? just remove the blank line
i saw the file theme_option but it doesn’t have space before but after like
<?php
// Admin styles & scripts
I don’t think it will do anything. but i tried removing it. but it wouldn’t work
Edit: the line 19 on functions is
if (!isset($_COOKIE['mode'])) setcookie('mode', ( get_option('unspoken_view_type') == '0' ) ? 'list' : 'grid', time() + 60 * 60 * 24 * 30, COOKIEPATH, COOKIE_DOMAIN, false);
Also i have noticed that everytime i do /wp-login , it ask me for my password.instead shouldn’t it be remembering my login until the cookie times expire?
These forums are for either WordPress core or free themes; for premium themes, go to the developer’s website for support and/or a new download.
“headers already sent” errors seldom refer to relevant lines of code; the issue can be most anywhere.
songdogtech i know premium themes have dedicated forums but i don’t have a registration plus they aren’t as fast as WP. i was hoping to get answers from here.which might help
I tried installing theme on my local site and it worked but not on server site.
it says: headers already sent by (output started at /home2/theartsr/public_html/wp-content/themes/unspoken/core/theme_options.php:1)
which tells me that line 1 of that file has something on it, since that’s where it’s saying that the headers were started.
so meaning there is a space before <?php and which files should i watching out for?
it tells you:
/home2/theartsr/public_html/wp-content/themes/unspoken/core/theme_options.php
yes saw that one the line starts with <?php without any blank spaces.
besides, if there was a problem of theme. it wouldn’t work on my local machine but on server its not.
[ Please do not bump, it’s not permitted here. ]
Well i tried there forums but no success. so i m guessing its not theme fault. something to do with WP because on my localhost its working but on live site. it doesn’t when activated.
Can be the version number be a issue? i checked on the server its running php 5.2.17 and on local i m running 5.3.8.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Wouldn’t it overwrite my database even if i give the same DB name? and everything in it.