Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Email Problem -No outbound and generating errors on compose or edit

  1. #1
    celilo is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    14

    Talking RESOLVED: Email Problem -No outbound and generating errors on compose or edit

    Many thanks to ruchida who worked tirelessly to help resolve my problem. He is an awesome representative of the Sugar Community.

    As is typical, it turned out to be a simple issue, which was related to a change in policy by my ISP that coincidentally occurred in the same time frame as my sugar 4.2 upgrade.

    Basically my ISP blocked SMTP port 25, which resulted in failure of out bound mail. The errors logged were misleading, which led to a lot of testing, but eventually led to reslution.

    __________________________________________________ _


    I posted a bug report, but I'm posting here since there was no response and because I'd like to move forward to make my system usable. Maybe someone else has experienced this issue. I just upgraded to 4.2.

    I cannot send outbound email and Sugar is generating errors in my log on compose or edit of an email.

    The errors indicate that the $module variable is not being set in utils.php.

    Sample errors below from from error_log.Note the "//" in both cases where the module directory should reside.

    [12-Apr-2006 01:35:53] PHP Warning: return_module_language(modules//language/en_us.lang.php): failed to open stream: No such file or directory in /home/xxx/yyy/zzz.com/include/utils.php on line 661

    [12-Apr-2006 01:35:53] PHP Warning: return_module_language(modules//language/en_us.lang.php): failed to open stream: No such file or directory in /home/xxx/yyy/zzz.com/include/utils.php on line 694

    Any help would be appreciated.
    Thanks
    Last edited by celilo; 2006-04-16 at 06:19 AM. Reason: Resolution

  2. #2
    celilo is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    14

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    As a new Sugar user, it's pretty frustrating when the software is not working and no one at the company seems concerned about the problem. Yes, I'm using the OS version, but isn't the OS version sharing code that might also be broken in the professional version.

    Clearly the outbound email functionality in question is working on other systems so this is likely an installation issue or a platform issue. I'm guessing it's a PHP version/configuration issue since it's a PHP variable that is not being properly defined, but I'm hardly a PHP expert.

    It looks like a lot of good work has been done on Sugar. I'm willing to gather any information that I can to help the Sugar team to isolate my issue and potentially avoid it for future users. Please don't force me to find an alternate CRM before I can even give Sugar a chance. That would be a bummer.

  3. #3
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    Hi celilo,

    Sorry to hear that you are having outbound email problems,

    Maybe you could include your version information as it might help in problem solving, please see here:
    http://www.sugarcrm.com/forums/showthread.php?t=9016

    You could also try to install 4.2.0 from scratch to new folder (or to different server) just to see if it handles outbound email better.

  4. #4
    celilo is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    14

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    Thanks for responding Markku.

    My versions:
    Sugar 4.2
    Apache 1.3.34 (Linux)
    PHP 4.4.1
    MySQL 4.1.18-standard
    Linux Kernel 2.6.9-11.ELsmp

    Sugar is installed in a shared hosting environment. Everything that I've used other than outbound mail seems to be working fine except I'm getting a delay when clicking on dropdowns, which only occurs since the upgrade to 4.2 and doesn't appear to be a server load issue.

  5. #5
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    Hi,

    Did you install other additional modules before you upgrade to 4.2?
    PHP Code:
    Sample errors below from from error_log.Note the "//" in both cases where the module directory should reside.

    [
    12-Apr-2006 01:35:53PHP Warningreturn_module_language(modules//language/en_us.lang.php): failed to open stream: No such file or directory in /home/xxx/yyy/zzz.com/include/utils.php on line 661 
    It's an odd thing that a module name is not set in the path. Does this happens only when you try to send out an e-mail or happens somewhere else too? Do you use an default emails module to send out an e-mail?
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  6. #6
    celilo is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    14

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    I'm using the default email module, and have not installed any extra modules. As soon as I compose a new or edit an existing email, I recieve the error.

    Does anyone know where the $module variable is set?

  7. #7
    celilo is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    14

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    Does this help:

    PHP Fatal error: return_module_language(): Failed opening required 'modules//language/en_us.lang.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/yyy/zzz/include/utils.php on line 694

    Maybe something is missing from the include path?

  8. #8
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    I think it's logged because PHP could not include a non-existing file.
    The $module variable is passed by from a parent function and can not be identified right now. It's set at many places.

    Could you turn on a debug logging and post a log file here?

    Here is how you can turn on logging (see #5);
    http://www.sugarcrm.com/forums/showt...php.properties
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  9. #9
    celilo is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    14

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    The originally posted error was the error reported with debug logging turned on.

  10. #10
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Email Problem -No outbound and generating errors on compose or edit

    The log file should have a $language, $module, etc. that should be set prior to the error. Are you able to see these information?
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •