WordPress.org

Ready to get started?Download WordPress

Forums

Posting Via E-Mail I get this error in a returned email (6 posts)

  1. Firemaker
    Member
    Posted 6 years ago #

    I am trying to get post via email going. Set up new email on my server and setup a cron job for it in Cpanel. I get a returned email with this error message in the body.
    Can anybody help. Thanks

    PHP Notice: Undefined index: SCRIPT_NAME in
    /home/mcgisca/public_html/blog/wp-settings.php on line 30
    PHP Notice: Undefined index: SCRIPT_NAME in
    /home/mcgisca/public_html/blog/wp-settings.php on line 43
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
    <head>
    <title>WordPress › Error</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="wp-admin/install.css" type="text/css" />
    </head>
    <body>
    <h1 id="logo"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></h1>
    <p>POP3 connect: Error [0] [Success]</p>
    </body>
    </html>

  2. Firemaker
    Member
    Posted 6 years ago #

    Here is the settings php

    [Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as http://wordpress.pastebin.ca. Thanks!]

  3. Firemaker
    Member
    Posted 6 years ago #

    Ok then. Here are the lines of code

    Line 30 $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; // Does this work under CGI?

    Line 43 if (strpos($_SERVER['SCRIPT_NAME'], 'php.cgi') !== false)

  4. Firemaker
    Member
    Posted 6 years ago #


  5. Firemaker
    Member
    Posted 6 years ago #


  6. Firemaker
    Member
    Posted 6 years ago #

    And this will work

    mcgillveraystudios.ca

Topic Closed

This topic has been closed to new replies.

About this Topic