DotDragnet
May 24, 2012, 09:19:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: WP Login Problems [RESOLVED]  (Read 473 times)
Haze
Hero Member
*****
Posts: 1485



View Profile Awards
« on: January 06, 2012, 12:30:47 AM »

HI All,

I wondered whether anyone had any problems with login for WP sites recently? I have a couple of sites using WP themes but can't get into them. On the login pages they have  typically
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-login.php on line 353

Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-login.php on line 365

And then after submission of username and password this sort of thing
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-login.php on line 353

Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-login.php on line 365

Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-includes/pluggable.php on line 737

Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-includes/pluggable.php on line 738

Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-includes/pluggable.php on line 739

Warning: Cannot modify header information - headers already sent by (output started at /home/lams08/public_html/wp-includes/load.php:655) in /home/lams08/public_html/wp-includes/pluggable.php on line 934

I've tried Googling but none the wiser, what I've read is that this represents an inclusion of white space
Quote
The fix is, obviously, to remove that whitespace from the file. Read the error message carefully. It says "output started at ..." followed by a file name and a line number. That is the file (and line) that you need to edit. Ignore the second file name - that is only a file that included the file that has the whitespace. The first file is the one you have to edit, not the second one.
But I haven't used an external editor, I've contacted the hosting company to enquire also.
« Last Edit: January 07, 2012, 12:50:21 AM by Haze » Logged
Whatever
Hero Member
*****
Posts: 750



View Profile WWW Awards
« Reply #1 on: January 06, 2012, 07:43:25 AM »

Andy,

I remember years ago when you got this, think it was on osCommerce, you needed to remove any space from the end of the php files, and the error message points you in the direction of those files responsible.

Go to the last character and hold delete down after it to make sure everything is gone.
Logged

Office Stationery : Paper : Inks & Toners
10% off first 3 orders for registered users. Use the code DDN10
suedenem
Sr. Member
****
Posts: 410



View Profile Awards
« Reply #2 on: January 06, 2012, 10:12:50 AM »


http://www.netmagazine.com/features/net-strip-4-give-man-fish

 wink1
Logged

So this SEO copywriter walks into a bar, grill, pub, public house, Irish bar, bartender, drinks, beer, wine, liquor...

Beware my weird, cross-dressing comment's; they are pretty standard examples of trolling.
Steve Lampkins
Hero Member
*****
Posts: 1327


OOH! *TITTER*


View Profile Awards
« Reply #3 on: January 06, 2012, 10:13:36 AM »

Wow, netmag is still going?
Logged
suedenem
Sr. Member
****
Posts: 410



View Profile Awards
« Reply #4 on: January 06, 2012, 10:16:25 AM »

Just about.  Agencies need something to put on their coffee tables in reception areas.

I don't think anyone actually reads it, though.
Logged

So this SEO copywriter walks into a bar, grill, pub, public house, Irish bar, bartender, drinks, beer, wine, liquor...

Beware my weird, cross-dressing comment's; they are pretty standard examples of trolling.
Dom
Hero Member
*****
Posts: 1681


Taster of pasities. Clanger of both pots AND pans.


DominicNeagle
View Profile Awards
« Reply #5 on: January 06, 2012, 10:20:56 AM »

I wonder if they still steal forum questions and print them as if they were postal letters sent in... oh wait, never mind.



On-topic though, the last time I saw that error it was because the PHP page had already sent some output to the screen, but was then trying to redirect the user to another page (I think). Or perhaps it was the other way round (i.e. there was some code to redirect the user, but afterwards there was some code to output some content to the browser.) Either way it wasn't happy.
Logged

sarahA
DDN Contribs
Hero Member
*****
Posts: 2184



View Profile WWW Awards
« Reply #6 on: January 06, 2012, 12:34:49 PM »

On-topic though, the last time I saw that error it was because the PHP page had already sent some output to the screen, but was then trying to redirect the user to another page (I think). Or perhaps it was the other way round (i.e. there was some code to redirect the user, but afterwards there was some code to output some content to the browser.) Either way it wasn't happy.

It'd be the first one. you can't have output to a page and then a redirect (well not without some other unlikely stuff, but for good practice let's just say you can't).

Files can get corrupted and cause output but as Paul (Whatever) said, most likely white space.
Logged

JasonD
Global Moderator
Hero Member
*****
Posts: 551



View Profile Awards
« Reply #7 on: January 06, 2012, 12:58:36 PM »

Which is why you shouldn't put ?> after any PHP at the end of the file.
Logged
Haze
Hero Member
*****
Posts: 1485



View Profile Awards
« Reply #8 on: January 07, 2012, 12:42:37 AM »

Turns out the account had been hacked, the same injection as mentioned in another post I am told and host made the appropriate changes to the affected pages.... it has been a busy day. Hosts have blocked access from the offending IP address.
« Last Edit: January 07, 2012, 01:09:50 AM by Haze » Logged
Dom
Hero Member
*****
Posts: 1681


Taster of pasities. Clanger of both pots AND pans.


DominicNeagle
View Profile Awards
« Reply #9 on: January 08, 2012, 02:21:28 PM »

Lets hope they don't change their IP address and try again.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!