Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Email System Warnings

Email System Warnings 4 months 1 week ago #67855

  • Dan70
  • Dan70's Avatar
  • Offline
  • Senior Member
  • I love Vitamin D
  • Posts: 59
  • Thank you received: 4
  • Karma: 0
HI,
in my email dashboard I get these warnings:

Warning: imap_num_msg() expects parameter 1 to be resource, boolean given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 392

Warning: imap_fetch_overview() expects parameter 1 to be resource, boolean given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 429

Warning: array_map(): Argument #2 should be an array in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 436

Warning: implode(): Invalid arguments passed in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 462

Warning: imap_fetch_overview() expects parameter 1 to be resource, boolean given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 468

Warning: usort() expects parameter 1 to be array, null given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 492

Warning: Invalid argument supplied for foreach() in /home/XXX/crm/modules/Emails/include/ListView/ListViewDataEmailsSearchOnIMap.php on line 130

Warning: Invalid argument supplied for foreach() in /home/XXX/crm/modules/Emails/include/ListView/ListViewDataEmails.php on line 648

Anything I need to deal with?

Thank you so much
Dan
The administrator has disabled public write access.

Email System Warnings 4 months 1 week ago #67891

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
Please always state your version of SuiteCRM, it really helps to us help you.

Normally errors shouldn't be going up on screen, you should turn off display_errors in your config.php

But then you need to track them in the logs. Often messages are safe to ignore if you don't have any symptom (like a function not working in the app).

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: Dan70

Email System Warnings 4 months 1 week ago #67896

  • Dan70
  • Dan70's Avatar
  • Offline
  • Senior Member
  • I love Vitamin D
  • Posts: 59
  • Thank you received: 4
  • Karma: 0
HI pgr,
thx a lot!

sorry: 7.10.6

have some issues, but not in the mail area (in other threads)
thanks for the tip to switche m off in config!

Thx a million

Dan
The administrator has disabled public write access.

Email System Warnings 4 months 1 week ago #67915

  • Dan70
  • Dan70's Avatar
  • Offline
  • Senior Member
  • I love Vitamin D
  • Posts: 59
  • Thank you received: 4
  • Karma: 0
Hi pgr,

need help again pls :(

dont find display_errors in config.php

I think I saw something with checkboxes somewhere in Admin panel? Is it that what you mean?

How would you switch it off??

Thx again

Dan
The administrator has disabled public write access.

Email System Warnings 4 months 1 week ago #67921

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
If the line isn't there, you can add it
display_errors = false

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: Dan70

Email System Warnings 4 months 1 week ago #67924

  • Dan70
  • Dan70's Avatar
  • Offline
  • Senior Member
  • I love Vitamin D
  • Posts: 59
  • Thank you received: 4
  • Karma: 0
thank you so much!!

Dan
The administrator has disabled public write access.

Email System Warnings 2 months 3 weeks ago #70006

  • Dan70
  • Dan70's Avatar
  • Offline
  • Senior Member
  • I love Vitamin D
  • Posts: 59
  • Thank you received: 4
  • Karma: 0
Hi, lived with the errors so far, but there are new ones...so tried to impleent this help, but dont know how

do i add this to any array in the config.php file?
array (
    'version' => '5.3.3',
    'contracts' =>

Thx

Dan
The administrator has disabled public write access.

Email System Warnings 2 months 2 weeks ago #70283

  • Gaverek
  • Gaverek's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Dan70 wrote:
HI,
in my email dashboard I get these warnings:

Warning: imap_num_msg() expects parameter 1 to be resource, boolean given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 392

Warning: imap_fetch_overview() expects parameter 1 to be resource, boolean given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 429

Warning: array_map(): Argument #2 should be an array in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 436

Warning: implode(): Invalid arguments passed in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 462

Warning: imap_fetch_overview() expects parameter 1 to be resource, boolean given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 468

Warning: usort() expects parameter 1 to be array, null given in /home/XXX/crm/modules/InboundEmail/InboundEmail.php on line 492

Warning: Invalid argument supplied for foreach() in /home/XXX/crm/modules/Emails/include/ListView/ListViewDataEmailsSearchOnIMap.php on line 130

Warning: Invalid argument supplied for foreach() in /home/XXX/crm/modules/Emails/include/ListView/ListViewDataEmails.php on line 648

Anything I need to deal with?

Thank you so much
Dan

Hello, I'm facing the same problem on my suitecrm 7.10.7 version installation on wamp server, I searched for display_error line on the config.php file but didn't find it and gave me more issues when I added it. Any solution for this already?

Thanks
Last Edit: 2 months 2 weeks ago by Gaverek. Reason: Bad redaction
The administrator has disabled public write access.

Email System Warnings 2 months 1 week ago #70341

  • Dan70
  • Dan70's Avatar
  • Offline
  • Senior Member
  • I love Vitamin D
  • Posts: 59
  • Thank you received: 4
  • Karma: 0
HI Gavarek, sorry to hear you face these issues... I found still no solution ... :blink:

Dan
The administrator has disabled public write access.
The following user(s) said Thank You: Gaverek

Email System Warnings 2 months 15 hours ago #70690

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
Are you sure the IMAP PHP module is enabled in XAMPP?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Email System Warnings 2 months 8 hours ago #70722

  • Gaverek
  • Gaverek's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Sorry if what I said before was confusing, but I have my SuiteCRM on a WAMP server, not XAMPP
The administrator has disabled public write access.

Email System Warnings 1 month 4 weeks ago #70737

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
Are you sure the IMAP PHP module is enabled in WAMP?

;-)

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
Last Edit: 1 month 4 weeks ago by pgr.
The administrator has disabled public write access.
The following user(s) said Thank You: Gaverek

Email System Warnings 1 month 4 weeks ago #70841

  • Gaverek
  • Gaverek's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Hello pgr, thank your for replying, I already did a small research to find out if I had the extension enabled, followed the instructions from this link:

stackoverflow.com/questions/2370827/install-imap-in-windows

After uncommenting the extension from my php.ini fle and restarting the server, I keep getting the same warnings, do you have another suggestion?

Thanks in advance
The administrator has disabled public write access.

Email System Warnings 1 month 4 weeks ago #70842

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
Before we look into other things, let me just check you got it right, sometimes this is treacherous... Please go in Admin / Diagnostics, ask for the output of "phpinfo", download it, unzip it, and check if the php.ini you changed is the right one, and if it says that the IMAP module is effectively active.

Then do the checks for the cron jobs, which run in another PHP environment, the CLI. You can get this with the command line:
php -i | grep php.ini
php -i | grep -i imap

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
Last Edit: 1 month 4 weeks ago by pgr.
The administrator has disabled public write access.
The following user(s) said Thank You: Gaverek

Email System Warnings 1 month 4 weeks ago #70847

  • Gaverek
  • Gaverek's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Thanks for the quick reply

I went to my Wamp server main page and used the phpinfo() tool in order to verify I was checking the correct php.ini file

After validating it, I opened it and imap module extension was uncommented as well

Warnings keep appearing
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.147 seconds
Powered by Kunena Forum