Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nicky_uk

    (@nicky_uk)

    Silly me.. I used the description name rather than the number.. so orginal topic resolved.

    Im not sure if we are getting any support for this.. but the other problem I have come across now is when importing posts from WordPress (Orginally imported from Blogger to WordPress)… Im having trouble importing any posts which may have text smiley or quotes?

    Error message is a problem with the syntax on line 1535:

    SUBSTRING('$posterOptions[ip]', 1, 255), " . ($msgOptions['smileys_enabled'] ? '1' : '0') . ", '', SUBSTRING('$msgOptions[icon]', 1,

    I think it doesnt like the quotes either. Any solutions to this?

    Thread Starter nicky_uk

    (@nicky_uk)

    I don’t need to… everything was working fine until I upgraded.

    I was hoping someone had had a similar problem and found a solution.

    Thread Starter nicky_uk

    (@nicky_uk)

    Thats not the problem anyway.

    Thread Starter nicky_uk

    (@nicky_uk)

    to your httpd.conf file.

    Thanks for reply.. where is this file?

    I had the same problem. The blog resides with my host, and this is how I resolved the issue.

    In wp-includes/pluggable-functions.php on line 115 (in my editor) the code says:

    if ( !function_exists('wp_mail') ) :
    function wp_mail($to, $subject, $message, $headers = '') {
    if( $headers == '' ) {
    $headers = "MIME-Version: 1.0n" .
    "From: wordpress@" . preg_replace('#^www.#', '', strtolower($_SERVER['SERVER_NAME'])) . "n" .
    "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"n";

    Note the “From: wordpress@” . preg_replace

    All I did was add a new standard email addy, for example:

    [email protected]

    >”From: myemailprefix@”

    And amended the code to read:

    if ( !function_exists('wp_mail') ) :
    function wp_mail($to, $subject, $message, $headers = '') {
    if( $headers == '' ) {
    $headers = "MIME-Version: 1.0n" .
    "From: myemailprefix@" . preg_replace('#^www.#', '', strtolower($_SERVER['SERVER_NAME'])) . "n" .
    "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"n";

    Note the “From: myemailprefix@”

    I’m guessing you need to use an email address provided by your host i.e. your usual address for your website.

    Anyway, it worked for me, so hope it helps someone.

Viewing 5 replies - 1 through 5 (of 5 total)