Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Is anyone out there????

  1. #1
    petecorbs is offline Senior Member
    Join Date
    Dec 2008
    Posts
    24

    Default Is anyone out there????

    Well i have made 7 or 8 posts now regarding this problem and not one of the Sugar community can be bothered to reply and help fix the problem.

    I have been trying to get my system to work for nearly 3 weeks now so this will be my last attempt to get the email situation sorted or i will drop Sugar and move my company over to drupal.

    Below is the error log i keep getting whenever i try and use the email module to collect incoming email from my accounts.

    [06-Jan-2009 16:06:52] PHP Warning: Invalid argument supplied for foreach() in /home/amber/public_html/crm/modules/InboundEmail/InboundEmail.php on line 5974

    I cannot collect email at all and i need to know why, if there is no answer then i need to be told the problem cannot be fixed.

    I and running version 5.2, win xp sp3, apache, linux, php version 5.2 and mysql 4.8

  2. #2
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Is anyone out there????

    hi Pete -

    I think you've been running into vacation schedules with most people. I know that many in our office, including both me and the engineer working on email, were off over the holidays.

    Now to your issue. Can you explain a bit more about the problem you are running into or point to your other posts? What specific problem are you having with email? Is it just the PHP warning or something else? Is it problems with sending email, monitoring an email address or importing email?

    You may find this blog post Under the Covers of Email in Sugar 5 helpful in understanding your various options for monitoring email in Sugar. I suggest reading this first.

    Some more questions that will help understand your environment. What edition of Sugar are you running? Community Edition, Professional Edition, Enterprise Edition?

    Which exact version of PHP are you running? We don't support PHP 5.2.0 as it had several issues.

    More importantly, are you monitoring email via POP3 or IMAP?
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  3. #3
    petecorbs is offline Senior Member
    Join Date
    Dec 2008
    Posts
    24

    Default Re: Is anyone out there????

    Thanks for the reply i was starting to think i was alone out here .

    Sugarcrm version 5.2 (Open source)
    PHP 5.2.6
    MYSQL 4.1.22-standard
    APACHE 1.3.41 (Unix)
    Windows XP SP3

    I can install and run absolutley everything however i run into problems in 2 key areas number one the web server i am running on does not give me chown permission so i have to keep asking the sys admin to chown the folder all the time (this i can change buy moving servers at a later date).

    Secondly everything else works fine except for email, i can add the accounts (IMAP) i can test the accounts and that comes back fine too. but when i try and save them and collect email i get "communication error" and sugar creates an error log with the above error, also i cannot sync with outlook using the plugin. it is as if the email module doesnt work at all.

    Any more info you need please ask.
    I just need to get to the bottom of this or my partners want to change system (which i dont)

  4. #4
    longreach Guest

    Default Re: Is anyone out there????

    Curious how you would address the email requirement using drupal?

  5. #5
    petecorbs is offline Senior Member
    Join Date
    Dec 2008
    Posts
    24

    Default Re: Is anyone out there????

    The point is that the sugar system appears to be floored regardless of what Drupal can offer, my partners would sooner have a lower speck system that works as appose to an all singing version that doesnt.

    My post was intended to actually get an answer for our problem but it appears there isnt one, i have read that the email system is very complicated and unstable maybe that is the reason it doesnt work, can you recomend a good outlook plug in i have tried JSRabbitt and that wont sync either (I am convinced that there is a problem with the email module) i have tried to repair this module but it hasnt made a difference i am still getting the same error in the error log.

    This is from this morning after i tried to sync the inbox

    [08-Jan-2009 11:44:34] PHP Warning: Invalid argument supplied for foreach() in /home/amber/public_html/crm/modules/InboundEmail/InboundEmail.php on line 5974

    ive also noticed a new one today

    [08-Jan-2009 10:54:31] PHP Warning: Missing argument 8 for get_entry_list() in /home/amber/public_html/crm/soap/SoapSugarUsers.php on line 238


    Somebody must be able to shed some light on it, Clint mentioned above the sugar wont work on PHP 5.2 could this be the issue i can ask sys admin to downgrade it to 5.1 if its unstable.

    Yours hopefully.

  6. #6
    sgandhi is offline Sugar Team Member
    Join Date
    Aug 2007
    Posts
    217

    Default Re: Is anyone out there????

    Hey petecorbs,
    I need couple of info from you. When you saved an account, did you got any progress bar like "saving 100 of 1000" or something like that ?? Also, after the save was over, when you clicked on Inbox, you go this error "Invalid argument supplied for foreach()in /home/amber/public_html/crm/modules/InboundEmail/InboundEmail.php on line 5974", right??

    Try creating a group mail box and run the cron job. All the instructions are mentioned in the link (Under the Covers of Email in Sugar 5) which clint has provided below.

    For the "[08-Jan-2009 10:54:31] PHP Warning: Missing argument 8 for get_entry_list() in /home/amber/public_html/crm/soap/SoapSugarUsers.php on line 238
    ", can you please post the client call code as you need to pass either 0 or 1 for the last 8th argument as its an int data type.

    Let me know if it doesn't work for you and then we can debug more on this and fix your problem.

    -Samir

  7. #7
    petecorbs is offline Senior Member
    Join Date
    Dec 2008
    Posts
    24

    Default Re: Is anyone out there????

    Hi
    When i tested an account setting i got ther message saying it was fine when i saved an account i just got a message saying checking mail if this is the first time it could take a while then i got communication error and the error log was generated with the above error.

    I have created a group account, activated the cron job, I have called it general and set it to collect from a few mailboxes and this works sometimes and other times it doesnt (should i just have it collecting from one mailbox only and set up a different group folder for each account. currently there are tons of messages in the inboxes for the genral group email on the server and Sugar is just not collecting them. Also no matter what i do (set up Round robin or least busy etc) when the group folder does deliver it delivers the same messages to all the members of the team who use the group folder which cant be right coz how does anyone know who has replied to which mail if everyone gets it

    I have also set up a personal account from the email module, this will not sync and i constantley get a communication error, then the error log is created and the above error is found.

    The third major problem is that i am set up as the admin and i can sometimes get an email delivered however all the employees (5 who are not admin) cannot get anything at all there email simply does not work and errors are generated in the log as above. I have noticed that when there inboxes are empty the sugar email will look at the box and return without errors, if we then send a test to that account so there is actually an email to collect thats when the error occurs so i am guessing it has to do with the handling of the mail itself.

    The fourth is probably connected and that is syncing with outlook, i have installed the outlook plug in from JS Rabbit, when i try to upload email i get an error saying "error showing item data in SaveEmail dialogue"

    I have tried repairing the email module but this isnt working either.
    Last edited by petecorbs; 2009-01-09 at 08:47 AM.

  8. #8
    petecorbs is offline Senior Member
    Join Date
    Dec 2008
    Posts
    24

    Default Re: Is anyone out there????

    Regarding what you requested for

    For the "[08-Jan-2009 10:54:31] PHP Warning: Missing argument 8 for get_entry_list() in /home/amber/public_html/crm/soap/SoapSugarUsers.php on line 238
    ", can you please post the client call code as you need to pass either 0 or 1 for the last 8th argument as its an int data type.


    ive no idea what you mean can you clarify please

    thanks

  9. #9
    sgandhi is offline Sugar Team Member
    Join Date
    Aug 2007
    Posts
    217

    Default Re: Is anyone out there????

    petecorbs,
    When you created a group mailbox with group folder, did you selected "Leave Messages On Server" as Yes ?? What will happen is when sugar start collection emails, sugar has to check if the same message was imported or not. So lets say you have 100 messages in mail server. Sugar imports all 100 messages. Its fine and the cron job stops.Lets say you received 10 more messages in you mail srever and sugar will start importing all the 110 messages and it has to check if 100 of those messages has been imported or not. So it does duplicate check for those 100 messages and this process will get more and more worst when you have more and more new messages. So what we tell people that when you use group mail box with group folder, always select "Leave Messages On Server" as No and in that scenario, after downloading that message we will delete it from mail server so for the next iteration of the download it will very very fast as it has to deal with only those 10 messages and not 110 messages. So I believe that for the next iteration it took really good time and the php execution time got triggered.

    Group folder is just a queue. So all the messages which get imported, will be in group folder. So all the team members will have access to group folder and they will see the same messages. Once you do a roundrobin or a directassign by doing a right click by selecting some message from the group folder, we will assign those message to the selected users and those messages should get disappear from group folder queue and those messages will show as "unread" for those users "My Email" folder. So can tyou tell me what exactly is not working for you ??

    For the SoapSugarUsers.php, the call to get_entry_list has to be made using a soap call. So there is some client soap code which is making a call to get_entry_list function. I believe that outlook plug in code is making a call to get_entry_list. That call is passing wrong argument.

    Let me know if oyu have more questions.

    -Samir

  10. #10
    petecorbs is offline Senior Member
    Join Date
    Dec 2008
    Posts
    24

    Default Re: Is anyone out there????

    could you post a step by step email set up procedure from install. (ie imagine ive just installed a fresh copy of sugar and i have opened the admin area for the first time, set up the smtp server settings and now i want to add my personal email accounts).

    I gather that there is an error within the sugar soap file as you have said its calling the wrong argument but how do i fix it??? also as a open source user are there any restrictions on amounts of email accounts and users i can have.

Page 1 of 2 12 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
  •