ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

problems with Email module

July 27, 2010 9:50am

Subscribe [5]
  • #1 / Jul 27, 2010 9:50am

    rchampagne

    212 posts

    Hi there,

    I had some problems with one of my installs on an IIS server a while back. Since then, we moved the site to a dedicated box that has IIS7 on it and have php mail working fine on the server. I created a test email page yesterday in a template and the operation successfully completed with no errors.

    Upon trying to get php mail wired up in the system preferences area and get a notification to send when a weblog entry is created, I get a 500 server error. I know that a 500 error is related to the web server, but it looks like there is something going on with EE that is causing IIS to freak out and not complete the email. Also note, that although i get the 500 error (which looks like is because of the email), the entry still posts fine.

    Does anyone have any suggestions? This is a crucial part of the system we are building and my client is very anxious to get the piece operational.

    As a final note, I have full access to the server as it is a dedicated server for this site.

    Thank you,

    Ryan

  • #2 / Jul 27, 2010 3:53pm

    rchampagne

    212 posts

    has anyone had any experiences like this?

  • #3 / Jul 27, 2010 4:43pm

    Ingmar

    29245 posts

    Yes, a 500 error is an “internal server error”. Do you have access to the server’s error logs? They might be able to tell us more.

    What version and build of EE are you using?

  • #4 / Jul 27, 2010 5:39pm

    rchampagne

    212 posts

    I am on 1.6.7 build: 20090320

    I do have access to the servers error logs.

  • #5 / Jul 27, 2010 5:46pm

    Ingmar

    29245 posts

    My first recommendation would be to upgrade to the latest version and build. Then, if you’re still seeing the issues, check server logs. They are usually much more verbose than the “500 Error” message.

  • #6 / Jul 27, 2010 6:04pm

    rchampagne

    212 posts

    Here is the compact view of a comment trying to be entered. Note. the comment still gets entered, when I return to te page later, but looks like it is locking up when EE trys to send the email

    EventName Details Time 
    1. i GENERAL_REQUEST_START SiteId="2", AppPoolId="silmarit", ConnId="1610612945", RawConnId="0", RequestURL="http://silmarit.com:80/index.php/help_desk/view.ticket/test/", RequestVerb="POST" 20:39:35.145 
    2. i FILTER_START FilterName="C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\aspnet_filter.dll" 20:39:35.145 
    3. i FILTER_PREPROC_HEADERS_START  20:39:35.145 
    4. — GENERAL_SET_REQUEST_HEADER HeaderName="AspFilterSessionId", HeaderValue="", Replace="true" 20:39:35.145 
    5. i FILTER_SET_REQ_HEADER HeaderName="AspFilterSessionId:", HeaderValue="" 20:39:35.145 
    6. i FILTER_PREPROC_HEADERS_END  20:39:35.145 
    7. i FILTER_END  20:39:35.145 
    8. i GENERAL_REQUEST_HEADERS Headers="Connection: keep-alive
    Keep-Alive: 115
    Content-Length: 255
    Content-Type: application/x-www-form-urlencoded
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Accept-Encoding: gzip,deflate
    Accept-Language: en-us,en;q=0.5
    Cookie: exp_last_visit=1280247850; exp_last_activity=1280261352; __utma=184440356.36244652.1257955485.1280248016.1280252318.319; __utmz=184440356.1275596277.243.4.utmcsr=silmarit.com|utmccn=(referral)|utmcmd=referral|utmcct=/support/admin/index.php; exp_mode=normal; exp_notify_me=no; exp_save_info=no; exp_perpage=50; exp_tracker=a:0:{}; __utmc=184440356; exp_expiration=1280246952; exp_uniqueid=a177e3bb502ebc8d56b2b428640c5f255b791a5f; exp_userhash=87a1db956185317a15ce4340875f2f0b8e42ddd0; exp_anon=1; __utmb=184440356.75.10.1280252318; exp_sessionid=156a8ecde360b5cfdfd6ede09f086dff1353e57b
    Host: silmarit.com
    Referer: <a href="http://silmarit.com/index.php/help_desk/view.ticket/test/">http://silmarit.com/index.php/help_desk/view.ticket/test/</a>
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C)
    " 20:39:35.145 
    9. — GENERAL_REQUEST_ENTITY Buffer="ACT=25&RET=http://silmarit.com/index.php/help_desk/view.ticket/test/&URI;=/help_desk/view.ticket/test/&PRV=help_desk/comment_preview&XID=1192ded2f59a519914eb844fcd3b2c207e6cd23c&entry_id=1038&site_id=1&comment=test+4&submit=Submit" 20:39:35.145 
    10. i GENERAL_GET_URL_METADATA PhysicalPath="", AccessPerms="513" 20:39:35.145 
    11. i USER_SET AuthType="", UserName="", SupportsIsInRole="true" 20:39:35.145 
    12. i GENERAL_READ_ENTITY_START  20:39:35.145 
    13. i GENERAL_READ_ENTITY_END BytesReceived="0", ErrorCode="Reached the end of the file.
     (0x80070026)" 20:39:35.145 
    14. — FASTCGI_WAITING_FOR_RESPONSE  20:39:35.145 
    15. i MODULE_INFORMATION ModuleName="FastCgiModule", Data1="FASTCGI_SETSTATUS", Data2="500 Internal Server Error", ErrorCode="The operation completed successfully.
     (0x0)" 20:39:35.239 
    16. i FASTCGI_RESPONSE_WRITTEN  20:39:35.239 
    17. i GENERAL_SEND_CUSTOM_ERROR HttpStatus="500", HttpSubStatus="0", FileNameOrURL="500.htm" 20:39:35.239 
    18. i GENERAL_FLUSH_RESPONSE_START  20:39:35.239 
    19. i GENERAL_RESPONSE_HEADERS Headers="Content-Type: text/html
    Server: Microsoft-IIS/7.0
    X-Powered-By: PHP/5.2.11
    X-Powered-By: ASP.NET
    " 20:39:35.239 
    20. — GENERAL_RESPONSE_ENTITY_BUFFER Buffer="<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>500 - Internal server error.</title>
    <style type="text/css">
    <!--
    body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
    fieldset{padding:0 15px 10px 15px;} 
    h1{font-size:2.4em;margin:0;color:#FFF;}
    h2{font-size:1.7em;margin:0;color:#CC0000;} 
    h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 
    #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
    background-color:#555555;}
    #content{margin:0 0 0 2%;position:relative;}
    .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
    -->
    </style>
    </head>
    <body>
    <div id="header"><h1>Server Error</h1></div>
    <div id="content">
     <div class="content-container"><fieldset>
      <h2>500 - Internal server error.</h2>
    <p>  </p><h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3>
    <p> </fieldset></div><br />
    </div><br />
    </body><br />
    </html><br />
    " 20:39:35.239 <br />
    21. i GENERAL_FLUSH_RESPONSE_END BytesSent="1406", ErrorCode="The operation completed successfully.<br />
     (0x0)" 20:39:35.239 <br />
    22. i GENERAL_REQUEST_END BytesSent="1406", BytesReceived="1434", HttpStatus="500", HttpSubStatus="0" 20:39:35.239

  • #7 / Jul 27, 2010 8:39pm

    Brandon Jones

    5500 posts

    That URL in #9 looks suspicious. Are there really semicolons in it? It could be the forum here that’s inserting them, but if not, I’d look into that.

  • #8 / Jul 27, 2010 10:01pm

    rchampagne

    212 posts

    I just tried upgrading from the 1.6.7 to 2.1.0 using the steps from here and ran into this error:

    ExpressionEngine Installation and Update Wizard
    The following error occurred:

    An unexpected error occured while performing the update. Could not find update step: database_changes

    If you have questions regarding the above errors please visit our Support Resources page or contact ExpressionEngine technical support.

    Now what to do? I now have a non operational site.

  • #9 / Jul 27, 2010 10:05pm

    rchampagne

    212 posts

    @brandon, no there is not really a semicolon in line #9.

    But that isn’t the problem now. Now i have a broken, not quite updated version of ee.

  • #10 / Jul 27, 2010 10:16pm

    rchampagne

    212 posts

    [edit]: the install halted partially through. I had to revert to the 1.6.7 build.

  • #11 / Jul 28, 2010 3:20am

    John Henry Donovan

    12339 posts

    rchampagne,

    Can you upgrade to EE 1.6.9 using these instructions.
    You should get the choice of which to download on the licence agreement screen when downloading.

    If you try and send an email via the Communicate area, does the mail send?

  • #12 / Jul 28, 2010 10:07am

    rchampagne

    212 posts

    i downloaded 1.6.9, but when I got to the point to go to system/update.php, the system is telling me that I am upgrading from 1.6.7 to 1.6.8. is this correct?

    [edit:] nevermind. I clicked through and noticed that it updated to 1.6.8 first, then to 1.6.9.

    I am now running 1.6.9, Build:  20100430

  • #13 / Jul 28, 2010 10:15am

    rchampagne

    212 posts

    OK. I am no longer getting a 500 error from the server. When I try to send an email via the communicate tab, ( i uncheck the “Send only to members who have chosen to accept email”, and then get the following message when trying to submit

       
    Error
    Unable to send email at this time.

  • #14 / Jul 28, 2010 12:37pm

    rchampagne

    212 posts

    any ideas on what i need to check for?

    Thanks,
    Ryan

  • #15 / Jul 28, 2010 3:17pm

    Ingmar

    29245 posts

    Please turn on email debugging and try to send mail via the Communicate tab. Let us know what messages you receive.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases