What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP / Wordpress Error Help (Php Code)

Pages: (2): « First [ 1 ] 2 » Last »
PHP / Wordpress Error Help (Php Code)
Author: Message:
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. PHP / Wordpress Error Help (Php Code)
when i try and login using wordpess i get these errors show up: (even more errors show up wen i click login..)


Warning: Cannot modify header information - headers already sent by (output started at /home/gmincw/public_html/wp-config.php:26) in /home/gmincw/public_html/wp-login.php on line 7

Warning: Cannot modify header information - headers already sent by (output started at /home/gmincw/public_html/wp-config.php:26) in /home/gmincw/public_html/wp-login.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/gmincw/public_html/wp-config.php:26) in /home/gmincw/public_html/wp-login.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /home/gmincw/public_html/wp-config.php:26) in /home/gmincw/public_html/wp-login.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/gmincw/public_html/wp-config.php:26) in /home/gmincw/public_html/wp-login.php on line 11
WordPress


theres an error on line 26.... that affects llines 7,8,9,10,11 i gather.. but i don't see what the error is... it looks fine, i've posted on the wordpress forum... got some help but i still have this problem.. line 26 s:

code:
    do_action('wp_logout');

i was given This Site

it helped a little but the solutions givne didn't work...

what else could i do?

Thanks

This post was edited on 08-02-2005 at 09:42 PM by M73A.

[Image: lost7ru.gif]
08-02-2005 09:40 PM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: PHP / Wordpress Error Help (Php Code)
Can you view the source of the page with the error and tell us what appeared above the error?
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
08-02-2005 09:48 PM
Profile PM Web Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: PHP / Wordpress Error Help (Php Code)
code:
        update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
}

switch($action) {

case 'logout':

    wp_clearcookie();
    do_action('wp_logout');
    header('Expires: Wed, 11 Jan 1984 05:00:00 GMT');
    header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    header('Cache-Control: no-cache, must-revalidate, max-age=0');
    header('Pragma: no-cache');
    wp_redirect('wp-login.php');
    exit();

break;

case 'lostpassword':
do_action('lost_password');
?>

the hole fing is: http://www.gminc.webspace4free.co.uk/wp-login.php

[Image: lost7ru.gif]
08-02-2005 09:53 PM
Profile E-Mail PM Find Quote Report
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
RE: PHP / Wordpress Error Help (Php Code)
did you make a database for it? :P
08-02-2005 10:01 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: PHP / Wordpress Error Help (Php Code)
quote:
Originally posted by Absorbation
did you make a database for it? :P
>.< YESS!:P

lol... its all configured properly... i managed to get past that error :$

[Image: lost7ru.gif]
08-02-2005 10:07 PM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: PHP / Wordpress Error Help (Php Code)
There are a bunch of newlines at the top of your wp-config file. Delete them and the problem will fix itself.

Remember, make SURE that <? is the FIRST part of the file. NOTHING can be before it.

This post was edited on 08-02-2005 at 10:15 PM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
08-02-2005 10:14 PM
Profile PM Web Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: PHP / Wordpress Error Help (Php Code)
new lines:S  i delted them:s

just checked... there isnt anything before <?php

This post was edited on 08-02-2005 at 10:18 PM by M73A.

[Image: lost7ru.gif]
08-02-2005 10:17 PM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: PHP / Wordpress Error Help (Php Code)
you know, newlines? the thing that the enter key makes?

well there is about 4 above the <? in wp-config.php
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
08-02-2005 10:21 PM
Profile PM Web Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: PHP / Wordpress Error Help (Php Code)
there isn't:P have a look at the php:P

.php File Attachment: wp-login.php (9.88 KB)
This file has been downloaded 111 time(s).

[Image: lost7ru.gif]
08-02-2005 10:24 PM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: PHP / Wordpress Error Help (Php Code)
not in wp-login, i said in wp-config

btw, they could be either at the beginning or the end.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
08-02-2005 10:25 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On