wafflepunk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: "Cannot modify header information – headers already sent" …SOLUTION: After many, many hours of frustration I discovered that although there didn’t appear to be any whitespace when viewing/editing the functions.php file within my FTP program (FileZilla), viewing/editing the same file in a web browser via my service provider’s cPanel tools showed a hidden character at the very beginning of the file, preceding the opening <?php tag.
This character was completely unrecognized by and invisible to FileZilla’s editor for some reason and did not register at all. Deleting the character and saving the file fixed all of my problems.
Moral of the story: when an error handler tells you that the problem is occurring on line XX, that’s where the problem is, even if it doesn’t appear to be. It took me quite a while and a lot of headache to discover that in fact, yes, line 1 had an issue.
Forum: Fixing WordPress
In reply to: "Cannot modify header information – headers already sent" …I’ve gone through that with no luck, yes. I have already verified that both files mentioned in the error message (functions.php and class-wc-session-handler.php) have absolutely no leading or trailing whitespace and are both opened and closed properly.
Also, although my site currently works (with the header warning at the top) by navigating to http://www.MySite.com, I can NOT access the admin via http://www.MySite.com/wp-admin, I get a blank page with the headers warning message again.
Forum: Fixing WordPress
In reply to: "Cannot modify header information – headers already sent" …Anyone got any ideas on this one?
Forum: Fixing WordPress
In reply to: "Cannot modify header information – headers already sent" …Also, deactivating the plugin mentioned in the error (WooCommerce) does get rid of the error message, but that doesn’t really help me…
Plus, I had made absolutely zero changes other than the ones mentioned above, so not sure how the plugin install would have been affected?