Facing Problem in Email DetailView

That’s not a fix, that’s just skipping the code with the bug :frowning:

If you have any information for me regarding my last post, I would appreciate it. Thanks!

Any update, is there going to be a fix?

Hi YONA1,

I’ve confirmed this issue and marked it as a high priority for the next release. You can follow along here: https://github.com/salesagility/SuiteCRM/issues/6131

Thanks.

Note that we are not able to reproduce this. The fix won’t advance unless people provide the necessary information.

I am currently waiting to hear if

  • this only happens on Windows

  • this happens for all users, or only for some

Each person could post their own answers, it’s the intersection of everybody’s answers that moves us forward. Thanks.

As previously reported:

I am having this issue and

  • I am a windows user
  • This happens ofr all users (admin and regular users)

In details :
SuiteCRM v.7.10.7
XAMPP v. 7.2.6
Windows Server 2012 R2 Standard
Fresh install

1 Like

I have tested on Linux… the issue doesn’t occur. I replicated on 3 different windows xampp setups with similar specs.

It happens on windows only from what I can see and it affects all users on the affected system.

Fresh install and upgraded instances all have the same issue.

2 Likes

Hi, we had the issue on windows for all users. We applied the fix to the Vardefs file and it’s working fine now.

I’m sorry the Repdefs fix mentioned above actually resoled the broken page issue, however it brought back the issue of “Fixed #4035 - Upgrade on 7.9.4 Content in emails are same in body for all emails.”

Hi -

I am getting the same problem on Mac OS X when trying to display an email by clicking on it.

I have only created an admin account and nothing else. As with others I get raw php code instead of the email displayed.

Notice: Undefined property: stdClass::$parts in /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/InboundEmail/InboundEmail.php on line 3874

I have SuiteCRM 7.10.7 installed.

I have seen the code has been fixed on Windows for the next release of SuiteCRM. https://github.com/salesagility/SuiteCRM/issues/6131

Can I ask if someone can help guide me to fix this for the Linux version of SuiteCRM? The module names seem to be different between Windows and Linux versions. I can’t find the module referred to in the above fix. This module doesn’t seem to appear in Linux: include/SugarFields/Fields/EmailBody/SugarFieldEmailBody.php

Many Thanks, Max

@syntillica I’m not sure it is the same problem.

You should start by disabling display_errors in your php.ini, that’s the best practice. You can still track the errors in the logs, which is where they should be.

Most PHP notices are safe to ignore, so once it’s not showing on your screen, I’m hoping the screen doesn’t break, and then you wouldn’t need to do anything else (unless you notice some other broken functionality).

Thanks for the guide. I disabled the error_reporting in PHP now when I click on an email I get the following. I hope this helps your diagnosis. It goes on for a while but I didn’t want to paste the whole thing in here. Cheers for now, Synt.

{* /** * * 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} {**} {**} {**} {**}

@syntillica your problem seems to be similar to this one:

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/19614-inbound-emails-displaying-as-php

What is your version of PHP, please? Can you check your IMAP module configuration in PHP?

Sure.

PHP version is 7.1.19

How would you like me to check the IMAP module configuration in PHP?

This is what I get when I run the php -v and php -ini | grep imap

I am using a regular gmail account which sends the test email no probs under the admin user (I haven’t set up any other accounts yet).

Hope this is helpful :slight_smile:

iMac:~ syntillica$ php -v
PHP 7.1.19 (cli) (built: Jun 25 2018 09:39:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.19, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
iMac:~ syntillica$ php -ini | grep imap
Configure Command =>  './configure'  '--prefix=/usr/local/php5' '--with-apxs2=/usr/sbin/apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-libxml-dir=shared,/usr' '--with-openssl=/usr/local/php5' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-gd' '--with-ldap' '--with-xmlrpc' '--enable-exif' '--enable-soap' '--enable-wddx' '--enable-ftp' '--with-iodbc' '--enable-sockets' '--with-bz2=/usr' '--enable-zip' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-mbstring' '--enable-bcmath' '--enable-calendar' '--with-mhash' '--enable-fpm' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--enable-pcntl' '--enable-dtrace' '--disable-phpdbg' '--enable-opcache' '--with-icu-dir=/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-imap=shared,../imap-2007f' '--with-kerberos=/usr' '--with-imap-ssl=/usr/local/php5' '--with-gettext=/usr/local/php5' '--with-curl=shared,/usr/local/php5' '--with-png-dir=/usr/local/php5' '--with-jpeg-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-tidy=/usr/local/php5' '--with-gmp=shared,/usr/local/php5' '--with-readline=shared,/usr/local/php5' '--with-libxml-dir=/usr/local/php5' 'CFLAGS=-Os -mmacosx-version-min=10.10 -I/usr/local/php5/include -arch x86_64 -no-cpp-precomp -DENTROPY_CH_ARCHS='
/usr/local/php5/php.d/50-extension-imap.ini,
Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
imap

Hi pgr,

To give you some further info, I’ve logged into my SuiteCRM clicked on a single email to trigger the problem and collected the resulting dump from the error_log. This is what happens when I click the email in the SuiteCRM window.

Thank you for your help! :slight_smile:

[Fri Jul 27 11:11:59.169171 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP Notice: Undefined property: stdClass::$parts in /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/InboundEmail/InboundEmail.php on line 3874, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169351 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP Stack trace:, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169420 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 1. {main}() /Library/WebServer/Documents/SuiteCRM-7.10.7/index.php:0, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169481 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 2. SugarApplication->execute() /Library/WebServer/Documents/SuiteCRM-7.10.7/index.php:52, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169542 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 3. EmailsController->execute() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/SugarApplication.php:109, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169594 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 4. EmailsController->processView() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/Controller/SugarController.php:375, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169635 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 5. EmailsViewDetailNonImported->process() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/Controller/SugarController.php:432, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169675 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 6. EmailsViewDetailNonImported->preDisplay() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/View/SugarView.php:205, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169714 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 7. EmailsNonImportedDetailView->populateBean() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/Emails/views/view.detailnonimported.php:76, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169753 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 8. InboundEmail->returnNonImportedEmail() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/Emails/include/DetailView/EmailsNonImportedDetailView.php:90, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169878 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 9. InboundEmail->getMessageTextWithUid() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/InboundEmail/InboundEmail.php:5523, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169940 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/InboundEmail/InboundEmail.php on line 4142, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.169979 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP Stack trace:, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170016 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 1. {main}() /Library/WebServer/Documents/SuiteCRM-7.10.7/index.php:0, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170084 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 2. SugarApplication->execute() /Library/WebServer/Documents/SuiteCRM-7.10.7/index.php:52, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170149 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 3. EmailsController->execute() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/SugarApplication.php:109, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170196 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 4. EmailsController->processView() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/Controller/SugarController.php:375, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170236 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 5. EmailsViewDetailNonImported->process() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/Controller/SugarController.php:432, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170284 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 6. EmailsViewDetailNonImported->preDisplay() /Library/WebServer/Documents/SuiteCRM-7.10.7/include/MVC/View/SugarView.php:205, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170329 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 7. EmailsNonImportedDetailView->populateBean() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/Emails/views/view.detailnonimported.php:76, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170383 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 8. InboundEmail->returnNonImportedEmail() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/Emails/include/DetailView/EmailsNonImportedDetailView.php:90, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170585 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 9. InboundEmail->getMessageTextWithUid() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/InboundEmail/InboundEmail.php:5523, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index
[Fri Jul 27 11:11:59.170735 2018] [php7:notice] [pid 1525] [client ::1:54207] PHP 10. InboundEmail->buildBreadCrumbs() /Library/WebServer/Documents/SuiteCRM-7.10.7/modules/InboundEmail/InboundEmail.php:3874, referer: http://localhost/SuiteCRM-7.10.7/index.php?module=Emails&action=index

(you can use the forum’s code tags to make output like that more readable - I put them in for you)

You should use “grep -i imap” to make it case-insensitive so it catches “IMAP” too.

Anyway, I think your IMAP module is turned on.
Note that you have two php.ini in your system. The one you’re querying is the command-line version (CLI) which will only affect your cron jobs.

If you go in Admin / Diagnostic and download the zipped phpinfo results file, you can check what your other php.ini has, and it’s IMAP module.

Also note that being able to send test emails tells nothing about your incoming email configuration. IMAP is strictly for incoming. Outgoing uses a different protocol and a different server (SMTP).

Hi pgr,

Thanks for entering the code tags - I didn’t know about that - I used them below now.

OK to grep -i and good to see you think the imap module is turned on, thats a bit of progress.

Yes I have two php.ini files. The mac os x Darwin operating system comes preloaded with PHP 5.6 which I updated to 7.1 and then restarted the Apache server to pick it up.

I installed and set up the Apache, PHP and MySQL according to instructions here: https://jason.pureconcepts.net/2016/09/install-apache-php-mysql-mac-os-x-sierra/
I installed Redis according to instructions here: https://www.youtube.com/watch?v=JGvbEk4jtrU
I installed SuiteCRM according to the instructions on the SuiteCRM download site. It is installed on an iMac from 2010 running Mac OS 10.12 (Sierra). I plan to move to a web-based Linux server after running this pilot install.

Everything seems to be working with SuiteCRM (and I’m very happy with it) except the email display.

I took your advice and downloaded the diagnostic data and output the phpinfo() but that matches the same as I can display on the iMac localhost.

IMAP c-Client Version 2007f
SSL Support enabled
Kerberos Support enabled

I also pasted the contents of the suiteCRM.log file for today below for you. I couldn’t find any obvious link between this and the email display problems. I seem to be receiving the emails no problem (I have this forum emails pointed to my admin account on suiteCRM for instance). Just can’t display them.

Any help will be gratefully received and am happy to provide more info if it helps.

Thanks, Synt

Fri Jul 27 12:24:29 2018 [1531][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jul 27 12:24:41 2018 [1527][1][FATAL] log call at: modules/EmailMan/tpls/config.tpl:444 - styleChecked is not set
Fri Jul 27 12:26:58 2018 [1530][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jul 27 12:28:01 2018 [1526][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jul 27 12:32:49 2018 [1528][1][FATAL] log call at: modules/Administration/index.tpl:54 - MY_FRAME is not set
Fri Jul 27 12:33:43 2018 [1530][1][FATAL] Mysqli_query failed.
Fri Jul 27 12:33:43 2018 [1530][1][FATAL]  Query Failed: DESCRIBE versions: MySQL error 1146: Table 'suitecrm.versions' doesn't exist
Fri Jul 27 12:33:43 2018 [1530][1][FATAL] Mysqli_query failed.
Fri Jul 27 12:33:43 2018 [1530][1][FATAL]  Query Failed: SHOW INDEX FROM versions: MySQL error 1146: Table 'suitecrm.versions' doesn't exist
Fri Jul 27 12:33:43 2018 [1530][1][FATAL] Mysqli_query failed.
Fri Jul 27 12:33:43 2018 [1530][1][FATAL]  Query Failed: select * from versions: MySQL error 1146: Table 'suitecrm.versions' doesn't exist

This fixes the MY_FRAME error:

https://github.com/salesagility/SuiteCRM/pull/6097/files

About the rest, I don’t know, and I won’t have time to help you investigate, unfortunately, because I have to sign off now, for a 3 week vacation. :slight_smile:

This seems specific to XAMPP and Mac, maybe some bug in the IMAP PHP module, si if this is the only problem you’re having, maybe ignore it and just make sure your final Linux server has this working well. If that’s not viable for you, consider opening an Issue with this on GitHub.

Thanks and good luck!

Hi pgr,

OK no probs - I will check that MY_FRAME error link and see if it solves anything.

I might open an issue on GitHub or just live with it until you get back. We’ll see!

By the sound of it you imply you don’t think this will be a problem if I install on a Linux server (not Mac OS X). I am planning on running Ubuntu. Does that sound promising to you?

Enjoy your vacation - you’ve been very helpful :slight_smile:

Thanks,
Synt

1 Like

Hi pgr,

I had a look on github and found this thread. https://github.com/salesagility/SuiteCRM/pull/6194

I thought it might solve my problem but when I tried the code update it didn’t work for me.

Hopefully you or someone else on this forum might be able to help me with my email display problem.

Thanks,
Synt

Hey guys,

I am facing the same problem and I implemented the solution listed here https://github.com/salesagility/SuiteCRM/issues/6131 but that didn’t solve the problem.

I have SuiteCRM 7.10.7 on Windows Server 2008 R2 with IIS 7.5 and PHP 7.0.27.

Can someone pls help?