Forums

error message from wp-mail.php hack (John Blade) (9 posts)

  1. cluelessone
    Member
    Posted 7 years ago #

    I'm a newbie...be gentle and try not to use too many long words....

    I've replaced my wp-mail.php with the one from John Blade, and uploaded the necessary files, but I get an error message when I go to http://www.mydomain.com/wordpress/wp-mail.php. The error message is as follows:

    #!/usr/bin/php -q
    Fatal error: Call to undefined function: checkuserposter() in /home/virtual/site155/fst/var/www/html/wordpress/wp-mail.php on line 248

    I've no idea what I'm supposed to do with this....

  2. cluelessone
    Member
    Posted 7 years ago #

    bump....can anyone help?

  3. Mark (podz)
    Support Maven
    Posted 7 years ago #

    I would ask:
    - who is John Blade ?
    - where is this file of his ?

    And why did you feel the need to replace a core file ?

  4. cluelessone
    Member
    Posted 7 years ago #

    Answers:
    - see http://blade.lansmash.com/index.php?cat=5
    - see http://blade.lansmash.com/index.php?cat=5 :-)

    Because the replacement offers functionality that is useful to me and which is not available in the basic wp-mail.php file. I found it through the Wiki - http://wiki.wordpress.org/How%20To%20Blog%20By%20Email

  5. Mark (podz)
    Support Maven
    Posted 7 years ago #

    What advice did the author give you when contacted him about this error ?

  6. Mark (podz)
    Support Maven
    Posted 7 years ago #

    Have you definitely activated the plugin ?

  7. cluelessone
    Member
    Posted 7 years ago #

    Replies:

    Have left a comment on the author's blog, but haven't had a response.

    It's not really a plugin, strictly speaking - there's nothing to activate (at least I don't think there is!)

  8. Mikofox
    Member
    Posted 7 years ago #

    cluelessone, have you been able to fix your error?
    John Blade's site is down at the moment. Not sure what's happening.
    There was a typo in the code regarding this line:
    //Check poster to see if a valid person
    $poster = checkposter($from);

    podz, it's not a plugin, just replaces the wp-mail.php file.
    If someone needs the modified file let me know and I'll mail it to you.
    It works great here! Another fellow Rick was working on the code regarding image resizing, but I have lost the URL to his updated wp-mail.php.

    kohlermike @ direcway.com

  9. LoganSix
    Member
    Posted 7 years ago #

    Just remove it from the ( ) and comment it out

    if ( $delete_email == TRUE) //&& checkuserposter($emails[$i])

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.