Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Dec 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Error on line 44 (functions_general.php)

    I am having a similar issue to these guys. the debug system is giving me:


    PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/share/php/class.smtp.php:1095) in /var/www/clients/client6/web14/web/includes/functions/functions_general.php on line 44


    needless to say thats not a good thing. when i do send a message via the smtp method this appears on the screen.

    SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 p3plsmtpa01-02.prod.phx3.secureserver.net ESMTP " SMTP -> get_lines(): $data is "220 p3plsmtpa01-02.prod.phx3.secureserver.net ESMTP " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-p3plsmtpa01-02.prod.phx3.secureserver.net " SMTP -> get_lines(): $data is "250-p3plsmtpa01-02.prod.phx3.secureserver.net " SMTP -> get_lines(): $data was "250-p3plsmtpa01-02.prod.phx3.secureserver.net " SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN " SMTP -> get_lines(): $data is "250-p3plsmtpa01-02.prod.phx3.secureserver.net 250-AUTH LOGIN PLAIN " SMTP -> get_lines(): $data was "250-p3plsmtpa01-02.prod.phx3.secureserver.net 250-AUTH LOGIN PLAIN " SMTP -> get_lines(): $str is "250-8BITMIME " SMTP -> get_lines(): $data is "250-p3plsmtpa01-02.prod.phx3.secureserver.net 250-AUTH LOGIN PLAIN 250-8BITMIME " SMTP -> get_lines(): $data was "250-p3plsmtpa01-02.prod.phx3.secureserver.net 250-AUTH LOGIN PLAIN 250-8BITMIME " SMTP -> get_lines(): $str is "250 PIPELINING " SMTP -> get_lines(): $data is "250-p3plsmtpa01-02.prod.phx3.secureserver.net 250-AUTH LOGIN PLAIN 250-8BITMIME 250 PIPELINING " SMTP -> FROM SERVER: 250-p3plsmtpa01-02.prod.phx3.secureserver.net 250-AUTH LOGIN PLAIN 250-8BITMIME 250 PIPELINING SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "235 Authentication succeeded. " SMTP -> get_lines(): $data is "235 Authentication succeeded. " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 Sender accepted. " SMTP -> get_lines(): $data is "250 Sender accepted. " SMTP -> FROM SERVER: 250 Sender accepted. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 Recipient accepted. " SMTP -> get_lines(): $data is "250 Recipient accepted. " SMTP -> FROM SERVER: 250 Recipient accepted. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "354 End your message with a period. " SMTP -> get_lines(): $data is "354 End your message with a period. " SMTP -> FROM SERVER: 354 End your message with a period. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 Accepted message qp 31822 bytes 985 " SMTP -> get_lines(): $data is "250 Accepted message qp 31822 bytes 985 " SMTP -> FROM SERVER: 250 Accepted message qp 31822 bytes 985 SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "221 Good bye. " SMTP -> get_lines(): $data is "221 Good bye. " SMTP -> FROM SERVER: 221 Good bye.


    And here is the kicker.... the message actually gets sent. so the system is technically working.

    I am running my own ubuntu server hosting the site but I'm letting godaddy handle email. I've tried the regular godaddy relay server but since I'm not on a godaddy server it gets blocked, and i get a similar message to the one above, except with a big fail at the end. so I'm stuck using the authenticated smtp system.

    I know it wasnt for my issue exactly but earlier it was mentioned in here to replace the languages/index.php which i did anyway but still get the error.

    so.... any ideas? sadly I don't get paid for this site untill its 100% functional, apparently 99.99999999% just wont cut it.

  2. #22
    Join Date
    Jan 2004
    Posts
    58,268
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Error on line 44 (functions_general.php)

    That's all SMTP debug information, which only appears if you've edited .php files to turn it on.
    So, this begs the question ... why did you turn that on in the first place?

    Compare these files on your server against the original Zen Cart files, and resolve the differences:
    /includes/functions/functions_email.php
    /includes/classes/class.smtp.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #23
    Join Date
    Dec 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Error on line 44 (functions_general.php)

    you sir, are my new personal savior. I found in the functions_email:

    define('EMAIL_SYSTEM_DEBUG','0');

    set it to one and whalla. worked fine. Thank you so very much. I now can send out a bill and get enough money to buy chrstmas presents... and food. and maybe pay my heating bill.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. HELP! Big problems
    By wakenine in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 24 May 2007, 05:19 AM
  2. header problem in IE
    By ZuluRose in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 22 Nov 2006, 04:08 PM
  3. payment module freaks out
    By parcelbrat in forum Addon Payment Modules
    Replies: 5
    Last Post: 6 Sep 2006, 09:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •