Incoming Email Not Functioning and Notices SuiteCRM 7.10.7

Incoming Email Not Functioning and Notices SuiteCRM 7.10.7

I am experiencing three issues when selecting the Email Tab:

First, for every email present, the following Notice is displayed:
Notice: Undefined index: has attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579

Secondly, when selecting an email by checking the left hand box one cannot then do anything with the email (e.g. delete it).

Thirdly, instead of an email’s content becoming visible when clicking on its title, a very lengthy SugarCRM Copyright document is displayed, the initial wording of which is:
{* /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright © 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright © 2011 - 2016 SalesAgility Ltd. * * This program is free software; you can redistribute it and/or……………

I am using Windows10, XAMPP 7.2.4 on a laptop (no server) and SuiteCRM version 7.10.7. I am not a programmer.

Any help would be gratefully received. Thank you in advance

In your php.ini, you should set

display_errors=false

so that these errors don’t show on screen, they’re not supposed to.

You should then track them in the logs, namely suitecrm.log.

If you can please check that log and see if there are any FATAL or ERROR messages you can post here? Keep an eye on the timestamps, we’re looking for things that happen when you access those screens and they break.

1 Like

I had the same issue, I removed my email connections and set it up again, the error is not there anymore but the emails are not being pulled in, instead, it says "No results found for “basic_search”.

This is the text that’s being displayed, it does not look like it’s an error message, looks like it’s not being parsed at all.

{* /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright © 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright © 2011 - 2016 SalesAgility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the “Powered by * SugarCRM” logo and “Supercharged by SuiteCRM” logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words “Powered by SugarCRM” and “Supercharged by SuiteCRM”. / } { /* * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright © 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright © 2011 - 2016 SalesAgility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the “Powered by * SugarCRM” logo and “Supercharged by SuiteCRM” logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words “Powered by SugarCRM” and “Supercharged by SuiteCRM”. / }
{if !$config.enable_action_menu}
{if $bean->aclAccess(“detail”)}{if !empty($fields.id.value) && $isAuditEnabled}{/if}{/if}
{/if}
{$ADMIN_EDIT}
{sugar_include include=$includes}
{display tabs}
{
Since: SuieCRM 7.8 When action menus are enabled and When there are only panels and there are not any tabs, make the first panel a tab so that the action menu looks correct. This is regardless of what the meta/studio defines the first panel should always be tab. } {if $config.enable_action_menu and $config.enable_action_menu != false}
{sugar_translate label=‘LBL_EMAIL_INFORMATION’ module=‘Emails’}
{/if} {if $config.enable_action_menu and $config.enable_action_menu != false}
ACTIONS
{$PAGINATION} {/if}
{
Since: SuieCRM 7.8 When action menus are enabled and When there are only panels and there are not any tabs, make the first panel a tab so that the action menu looks correct. This is regardless of what the meta/studio defines the first panel should always be tab. } {if $config.enable_action_menu and $config.enable_action_menu != false} {}
{else} {
}
{/if} {
Loop through all top level panels first } { Since: SuieCRM 7.8 When action menus are enabled and When there are only panels and there are not any tabs, make the first panel a tab so that the action menu looks correct. This is regardless of what the meta/studio defines the first panel should always be tab. } {if $config.enable_action_menu and $config.enable_action_menu != false}
{
/
* * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright © 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright © 2011 - 2016 SalesAgility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the “Powered by * SugarCRM” logo and “Supercharged by SuiteCRM” logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words “Powered by SugarCRM” and “Supercharged by SuiteCRM”. */ *} {} {} {row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_OPT_IN' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.opt_in.hidden} {counter name="panelFieldCount" print=false} {* /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ *} {$fields.opt_in.value} {/if} {**} {**} {**} {**}

{row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_FROM' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.from_addr_name.hidden} {counter name="panelFieldCount" print=false} {* /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ *} {if strlen($fields.from_addr_name.value) <= 0} {assign var="value" value=$fields.from_addr_name.default_value } {else} {assign var="value" value=$fields.from_addr_name.value } {/if} {$fields.from_addr_name.value} {/if} {**} {**} {**} {**}

{row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_TO' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.to_addrs_names.hidden} {counter name="panelFieldCount" print=false} {* /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ *} {if strlen($fields.to_addrs_names.value) <= 0} {assign var="value" value=$fields.to_addrs_names.default_value } {else} {assign var="value" value=$fields.to_addrs_names.value } {/if} {$fields.to_addrs_names.value} {/if} {**} {**} {**} {**}

{row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_CC' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.cc_addrs_names.hidden} {counter name="panelFieldCount" print=false} {* /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ *} {if strlen($fields.cc_addrs_names.value) <= 0} {assign var="value" value=$fields.cc_addrs_names.default_value } {else} {assign var="value" value=$fields.cc_addrs_names.value } {/if} {$fields.cc_addrs_names.value} {/if} {**} {**} {**} {**}

{row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_BCC' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.bcc_addrs_names.hidden} {counter name="panelFieldCount" print=false} {* /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ *} {if strlen($fields.bcc_addrs_names.value) <= 0} {assign var="value" value=$fields.bcc_addrs_names.default_value } {else} {assign var="value" value=$fields.bcc_addrs_names.value } {/if} {$fields.bcc_addrs_names.value} {/if} {**} {**} {**} {**}

{row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_SUBJECT' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.name.hidden} {counter name="panelFieldCount" print=false} {* /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. * Copyright (C) 2011 - 2014 Salesagility Ltd. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along with * this program; if not, see http://www.gnu.org/licenses or write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not * reasonably feasible for technical reasons, the Appropriate Legal Notices must * display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM". ********************************************************************************/ *} {if strlen($fields.name.value) <= 0} {assign var="value" value=$fields.name.default_value } {else} {assign var="value" value=$fields.name.value } {/if} {$fields.name.value} {/if} {**} {**} {**} {**}

{row} {}
{column} {
} {} {} {**}

                {*label*}

                {**}

                                        {capture name="label" assign="label"}{sugar_translate label='LBL_BODY' module='Emails'}{/capture}
                    {$label|strip_semicolon}:
                
                
                {**} {**} {**} {if !$fields.description_html.hidden} {counter name="panelFieldCount" print=false}

You are right, that is not an error message, that’s the PHP that should be building the page getting dumped directly as if it was content.

This is caused by some error that breaks page construction.

You should check your logs for errors.

Thank you pgr. I will try this and let you know how I get on.

Dear pgr

Thank you for your help and advice and I have turned off (set to False) the display_errors. This has worked and the notices are no longer displayed when using the system.

I cannot find a file specifically called suitecrm.log in the system stack but there is a notepad file with content which I think may be what you are asking for. I sent a single email to the system this afternoon 22nd June 2018 and tried to access it and I have copy/pasted the content of this “log” below. (Note: There are some entries on this from tuesday’s activities too).

Tue Jun 19 16:18:35 2018 [11608][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Tue Jun 19 18:53:21 2018 [9288][1][FATAL] SugarPHPMailer encountered an error: Invalid address: (addAnAddress Reply-To):
Tue Jun 19 18:56:41 2018 [9288][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Tue Jun 19 18:57:54 2018 [9288][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Tue Jun 19 18:58:30 2018 [9288][1][FATAL] log call at: modules/EmailMan/tpls/config.tpl:444 - styleChecked is not set
Tue Jun 19 18:59:06 2018 [9288][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jun 22 14:56:07 2018 [11148][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jun 22 14:57:36 2018 [11148][1][FATAL] Mysqli_query failed.
Fri Jun 22 14:57:36 2018 [11148][1][FATAL] Query Failed: DESCRIBE versions: MySQL error 1146: Table ‘suitecrm.versions’ doesn’t exist
Fri Jun 22 14:57:36 2018 [11148][1][FATAL] Mysqli_query failed.
Fri Jun 22 14:57:36 2018 [11148][1][FATAL] Query Failed: SHOW INDEX FROM versions: MySQL error 1146: Table ‘suitecrm.versions’ doesn’t exist
Fri Jun 22 14:57:36 2018 [11148][1][FATAL] Mysqli_query failed.
Fri Jun 22 14:57:36 2018 [11148][1][FATAL] Query Failed: select * from versions: MySQL error 1146: Table ‘suitecrm.versions’ doesn’t exist
Fri Jun 22 15:00:18 2018 [11148][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jun 22 15:51:00 2018 [10268][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set

yes that looks like suitecrn.log. You can check the exact file name and extension in Admin / System settings (bottom of screen). (note that maybe Windows Explorer isn’t showing you file extensions, but they are there).

There is another log you need to check. Inside your php.ini, it is defined in error_log. This is where you will find PHP errors. Do you see anything ERROR or FATAL in that one?

1 Like

Dear pgr

Thank you. I have tried to open the file error_log but get the message" The system cannot find the path specified".

I have looked on the web to see if there are any answers to why this might be the case and I get the feeling that there must be a line of code in the php.ini about error logs which I need to turn “On” or adjust in some way. Is that correct and if so could you tell me what exactly I need to do?

Does turning such a thing On have a downside?

Once I know what to do I will send another email to myself in the system and send you refreshed error logs from the SuiteCRM and php.

Thank you once again for your help

  • find your php.ini
  • open it
  • look for the error_log directive
  • see how it is set, or set it to point to a file
  • check that file for messages

There is no significant downside to having a error log, it’s a common practice. You might have to manage it if it grows too big, that’s all.

Dear pgr

Thank you. I have now created a Logs file to reflect the error-log path shown in the php.ini.

I sent an email to the SuiteCRM system then opened the SuiteCRM system and clicked on it (as previously) to try and open it and received the Sugar CRM disclaimer (also as previously).

This produced the following in my newly created php_error_log file which I hope is meaningful to you:

[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Unknown: LOGIN failed. (errflg=1) in Unknown on line 0
[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Unknown: LOGIN failed. (errflg=1) in Unknown on line 0
[26-Jun-2018 13:23:51 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:23:51 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:23:51 Europe/Berlin] PHP Notice: Unknown: LOGIN failed. (errflg=1) in Unknown on line 0

Normally Notices should be safe to ignore, I think we’re still not finding out the real cause of your screens breaking.

Can you go in Admin / Repair and do a Quick Repair and Rebuild?

And then a few more Repairs from that screen, anything related to Javascript.

Thank you pgr

I have executed a “Quick Repair and Rebuild”. I could not see anything untoward in the report which that produced, but then I am not a programmer.

I then shut down SuiteCRM, XAMPP and PHP.

I then sent an email to SuiteCRM and opened SuiteCRM.

The problem remains the same.

I am not sure that I can adjust or insert JAVA scripts as I am not a programmer but if you wanted to make some suggestions I could ask friends who are IT literate.

My php_error_log now looks as below, containing a FATAL ERROR which relates to execution times:

[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Unknown: LOGIN failed. (errflg=1) in Unknown on line 0
[26-Jun-2018 13:22:17 Europe/Berlin] PHP Notice: Unknown: LOGIN failed. (errflg=1) in Unknown on line 0
[26-Jun-2018 13:23:51 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:23:51 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 13:23:51 Europe/Berlin] PHP Notice: Unknown: LOGIN failed. (errflg=1) in Unknown on line 0
[26-Jun-2018 16:12:07 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:12:07 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:13:03 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:13:03 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:32:37 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:32:37 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:32:37 Europe/Berlin] PHP Notice: Undefined index: has_attachment in C:\xampp\htdocs\SuiteCRM7107\modules\Emails\include\ListView\ListViewDataEmails.php on line 579
[26-Jun-2018 16:34:11 Europe/Berlin] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\SuiteCRM7107\include\MVC\SugarApplication.php on line 601
[26-Jun-2018 16:34:11 Europe/Berlin] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\SuiteCRM7107\include\MVC\SugarApplication.php on line 601

Those FATAL errors can be solved by giving more generous values in your php.ini to these settings:

memory_limit (512 MB if possible, 256 if not)
max_execution_time (120 seconds)
max_upload_size (set it at 20MB)

One more thing: you say you did a Quick repair and rebuild, what about the other Repairs, did you do them?

1 Like

Thank you.

I have increased the Max_execution_time from 30 to 120

I have increased the max_upload_size from 8MB to 20MB

I have not as yet increased the memory_limit from its current 128mb as there is the following script in the php.ini:
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit=128M

so I do not know what to do about that.

I did not attempt to try and do any other repairs than those which I mentioned. I did not see anything about Java when I did the Quick Repair and Rebuild.

I am aware that I am taking up a large amount of your time and also I have to stop now for today but will look at all this again tomorrow.

Thank you for your help once again.

Go ahead and increase that 128MB to 256 MB, don’t worry.

The other Repairs you could try are:

Rebuild Relationships
Rebuild SuiteCRM Dashlets
Rebuild Javascript Languages
Rebuild JS Compressed Files
Rebuild JS Grouping Files
Rebuild Minified JS Files
Repair JS Files
Repair Inbound Email Accounts
Sync Inbound Email Accounts

This is definitely overkill, but it won’t hurt to try…

Dear pgr

Thank you for the further help and I have now increased the memory limit, undertaken the rebuilds, repairs and Sync and switched the system, XAMPP and PHP off and then back on again.

I am still getting the same broken screen.

Interestingly, the Sync Inbound Email Accounts function produced the following message which might be relevant:

Sync Inbound Email Account. This may take several minutes. Going away from this page will not cancel the process, so feel free to move on or wait for confirmation…
Processing ‘myemailaddress@outlook.com’ Inbound Email Account…
No imported related Email to Inbound Email Account
Done Processing Inbound Email Accounts

Is this saying that I have not set up the incoming email part of the system correctly? I currently have the system set up with just the administrator account and an incoming mail group, with both administrator and mail group using the same email address.

Once again, I am conscious of taking up your valuable time, so if my query is becoming onerous, please say so and I will use emails externally from the SuiteCRM system until a future release date.

Thank you in advance

I will be away until next week, so I will stop answering you for a while, but other than that, don’t worry about my time. I am keen to get all email problems solved, and to get email configuration to a point where it’s easy for regular users and works reliably.

But I am having problems coming up with more ideas to troubleshoot your issue. It’s looking really strange and I can’t reproduce it in other installations.

It seems like your IMAP configuration works, is accepted, but then… doesn’t work.

Maybe it is better if you wait for one or two more minor versions to come out, and then retry email set up… sorry.