What version of WordPress are you using?
check your functions.php file for blank lines above and between php functions. That often throws that error.
at the top of functions.php:
blank line
<?php
or between functions
?>
blank line
<?php
esmi: wordpress 3.0.1
rev. voodoo- there were blank lines between functions. i removed them and am still getting the error. i do not understand why it would matter– since its works on the plesk system.
I’m trying to figure out why a new install is trying to load the old Kubrick theme when it should be loading Twenty Ten. Did you initially manage to login and switch themes?
It’s not a new install. I migrated a site from plesk to cpanel– the entire site is setup on plesk already. The database and theme and content and everything came with it…
WordPress will redirect from http://domain.com to http://www.domain.com if you set the www.* in the settings. The site works like a charm on the front end only… if you use the exact url in the settings (this case, the www. is there). When i try to access /wp-admin with out without www, it gives me same error. (same error for both as pasted above).
I checked both files in question, and the file functions.php has no line 657 (the functions file in the theme directory it is referring to)
When i try to access /wp-admin with out without www, it gives me same error. (same error for both as pasted above).
Ah!
Try adding something like:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
to your root .htaccess file.
When I try to access /wp-admin with the www it doesnt work (before and after the Rewrite code)
Is your server running mod_rewrite?