E-mail Archiving feature

Hi!

In SuiteCRM 7.10.2 is present the E-mail Archiving feature when sending an e-mail with BCC recipient and attach the message in the appropriate record? I remember this feature on old version…

Thanks!

See the documentation for “group emails”, that’s where SuiteCRM handles parsing incoming email to connect with the database.

You talk about this https://docs.suitecrm.com/user/modules/email-settings/#_group_email_account_settings ?

Confirm that if I go to create 5 accounts of 5 employees, will automatically be checked and if there are messages with recipient a contact from a customer in the CRM, the message will be attached in the History tab? Did I get it right?

Usually the CRM is set up in this way, with employee accounts, or is it more appropriate to only store messages that are sent to just one e-mail box?

Can you tell me the difference between automatic archiving as specified above and Official SuiteCRM Outlook Plugin? What would be the advantage of the Plugin? Because Official SuiteCRM Outlook Plugin can sync also Calender, Calls, Meeting, Tasks?

Thanks

P.S. I set-up 1 account to test it (Group), it checked e-mail, I see messages but I can’t open it from CRM, SuiteCRM open the page but without content (page gray to the right).

About P.S., is a permission problem? On Cyberduck what files and folders I need to change?

I am afraid I am not very familiar with these features as I’ve never used them myself. It’s a matter of trying and seeing what works.

If you run into things that look like bugs (blank screens, for example) then please check your logs (both suitecrm.log and php_errors.log) so we can try to troubleshoot. Thanks

OK.

About permission:

Set the following permissions on the SuiteCRM directory(Linux):

sudo chown -R www-data:www-data .

sudo chmod -R 755 .

sudo chmod -R 775 cache custom modules themes data upload config_override.php

How should be done by cPanel or FTP client? What would sudo chown -R www-data:www-data?

suitecrm.log

Sun Mar 25 19:47:07 2018 [19632][1][FATAL] field_defs should be an array
Mon Mar 26 10:40:03 2018 [10550][1][FATAL] Exception handling in /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php:402
Mon Mar 26 10:40:03 2018 [10550][1][FATAL] Exception in Controller: Errore ricerca record.  Questo record potrebbe essere stato cancellato o non sei autorizzato a vederlo.
Mon Mar 26 10:40:03 2018 [10550][1][FATAL] backtrace:
#0 /home/xxx/public_html/crm/modules/Users/views/view.detail.php(204): sugar_die('Errore ricerca ...')
#1 /home/xxx/public_html/crm/include/MVC/View/SugarView.php(207): UsersViewDetail->display()
#2 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(432): SugarView->process()
#3 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#4 /home/xxx/public_html/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/xxx/public_html/crm/index.php(52): SugarApplication->execute()
#6 {main}

errror_log

#0 /home/xxx/public_html/crm/include/EditView/EditView2.php(648): displayEmailAddressOptInField(Object(Email), 'opt_in', '', 'DetailView')
#1 /home/xxx/public_html/crm/include/MVC/View/views/view.detail.php(103): EditView->process()
#2 /home/xxx/public_html/crm/modules/Emails/views/view.detail.php(84): ViewDetail->display()
#3 /home/xxx/public_html/crm/include/MVC/View/SugarView.php(207): EmailsViewDetail->display()
#4 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(432): SugarView->process()
#5 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#6 /home/xxx/public_html/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#7 /home/xxx/public_html/crm/index.php(52): SugarApplication->execute()
#8 {mai in /home/xxx/public_html/crm/modules/Emails/include/displayEmailAddressOptInField.php on line 79
[26-Mar-2018 10:41:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:42:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:43:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:44:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:44:48 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:44:48 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:44:52 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:45:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:46:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 10:47:05 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17

I’m using PHP 7.2 and SuiteCRM 7.10.2 fresh install.

Thanks, there’s some interesting information there.

Please go in Admin / Schedulers and tell me which instruction you find below the table. This will tell me if your web server user is really www-data or not.

In errors.log, what comes a bit before that part you posted? Because you start with line #0 of a backtrace, but the line before that is what actually says the error. Pay attention to the timestamps, your errors in suitecrm.log are at 10:40:03, so the errors in errors.log to match that problem are probably at the same time.

[26-Mar-2018 12:22:44 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:46 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:49 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:50 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:51 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:51 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 342
[26-Mar-2018 12:22:51 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 488
[26-Mar-2018 12:22:51 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:51 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:52 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:52 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 342
[26-Mar-2018 12:22:52 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 488
[26-Mar-2018 12:22:53 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:22:59 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:23:00 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:23:02 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:23:15 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:23:15 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:23:15 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getOptInStatusTickHTML() on null in /home/xxx/public_html/crm/modules/Emails/include/displayEmailAddressOptInField.php:79
Stack trace:
#0 /home/xxx/public_html/crm/include/EditView/EditView2.php(648): displayEmailAddressOptInField(Object(Email), 'opt_in', '', 'DetailView')
#1 /home/xxx/public_html/crm/include/MVC/View/views/view.detail.php(103): EditView->process()
#2 /home/xxx/public_html/crm/modules/Emails/views/view.detail.php(84): ViewDetail->display()
#3 /home/xxx/public_html/crm/include/MVC/View/SugarView.php(207): EmailsViewDetail->display()
#4 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(432): SugarView->process()
#5 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#6 /home/xxx/public_html/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#7 /home/xxx/public_html/crm/index.php(52): SugarApplication->execute()
#8 {mai in /home/xxx/public_html/crm/modules/Emails/include/displayEmailAddressOptInField.php on line 79
[26-Mar-2018 12:23:17 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
 In order to run SuiteCRM Schedulers, edit your web server user's crontab file with this command:
sudo crontab -e -u xxx
... and add the following line to the crontab file:
*    *    *    *    *     cd /home/xxx/public_html/crm; php -f cron.php > /dev/null 2>&1 

But in Cron I’m using cd /home/xxx/public_html/crm; /usr/local/cpanel/3rdparty/bin/php -f cron.php because cd /home/xxx/public_html/crm; php -f cron.php > /dev/null 2>&1 it seems it does not work.

Let me know about permission and what is www-data:www-data.

Thanks!

I’ve seen that error recently.

There’s a fix, can you try it?

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

Now e-mail OK but Contact record not as before:

suitecrm.log

Mon Mar 26 12:33:32 2018 [1784][1][FATAL] Exception handling in /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php:402
Mon Mar 26 12:33:32 2018 [1784][1][FATAL] Exception in Controller: Error retrieving record. This record may be deleted or you may not be authorized to view it.
Mon Mar 26 12:33:32 2018 [1784][1][FATAL] backtrace:
#0 /home/xxx/public_html/crm/modules/Users/views/view.detail.php(204): sugar_die('Error retrievin...')
#1 /home/xxx/public_html/crm/include/MVC/View/SugarView.php(207): UsersViewDetail->display()
#2 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(432): SugarView->process()
#3 /home/xxx/public_html/crm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#4 /home/xxx/public_html/crm/include/MVC/SugarApplication.php(109): SugarController->execute()
#5 /home/xxx/public_html/crm/index.php(52): SugarApplication->execute()
#6 {main}

error.log

[26-Mar-2018 12:33:21 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:23 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:25 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:26 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:27 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:27 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 342
[26-Mar-2018 12:33:27 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 488
[26-Mar-2018 12:33:27 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:27 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:28 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:28 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 342
[26-Mar-2018 12:33:28 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/xxx/public_html/crm/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php on line 488
[26-Mar-2018 12:33:29 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:32 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:32 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17
[26-Mar-2018 12:33:34 UTC] PHP Deprecated:  __autoload() is deprecated, use spl_autoload_register() instead in /home/xxx/public_html/crm/include/HTMLPurifier/HTMLPurifier.autoload.php on line 17

What are you doing when you get that Contact error?

Does it happen for all Contacts, or just one?

Gray page to the right. For all contact when click on the “eye icon” from the Home.

This link is OK if click on the name:

https://crm.mydomain.com/index.php?action=DetailView&module=Contacts&record=xxx&offset=1&stamp=xxx

This link not if click on the “eye icon”:

https://crm.mydomain.com/index.php?action=DetailView&module=Users&record=xxx&offset=1&stamp=xxx&return_module=Home&return_action=index

Yes this is a bug with the “module” parameter on those links. It should say “Contacts”.

I opened an issue for it

https://github.com/salesagility/SuiteCRM/issues/5603

Thanks, great support!

Seeing these bugs, I am strongly undecided, do you recommend this last release SuiteCRM 7.10.2 or SuiteCRM 7.8.17 LTS?

Is SuiteCRM 7.10.3 near the corner?

How do I set up permissions using cPanel or FTP client. What is www-data:www-data?

Last question, because I’m new to SuiteCRM, do you reccomend some tutorial or settings to be applied as soon as installed? Or indispensable modules to install?

Waiting for the other answers, about the permissions, I set 775 cache custom modules themes data upload, their contents and the file config_override.php

The other folders and other files, how do I set them up?

What does mean www-data:www-data?

The eye icon bug is already fixed: https://github.com/salesagility/SuiteCRM/issues/5603

The new releases come out every 2 weeks, at most.

“www-data” is supposed to be the user name under which your web server is running. Instead of www-data you should be using your user name which you have been obfuscating as “xxx”. The one in the Admin / Schedulers instructions.

I don’t know how to set up permissions for entire directory trees with FTP or CPanel (I would never host SuiteCRM in a hosting that does not provide SSH access).

Fortunately I can log in with SSH.

If I copy the contents of the SuiteCRM-7.10.2 folder to public_htm / crm / via SSH which commands should I type? Sorry but it’s the first time I use SSH.

How can I understand in my server if I have to type sudo chown -R www-data:www-data . or other command?

Thanks a lot!

Check that first command, I don’t know if the directory is exactly that one or not


cd /public_htm/crm/
chown -R xxx:xxx .
chmod -R 755 .
chmod -R 775 cache custom modules themes data upload config_override.php

Replace that xxx with the username specified in the instructions on Admin / Schedulers

1 Like

OK, I will try the reinstallation as soon as possible, thanks!

I have a doubt, I’m installing on this URL

https://crm.mydomain.com/

In the field “URL of SuiteCRM instance” i need to write

http://crm.mydomain.com:443

or

https://crm.mydomain.com

or

https://crm.mydomain.com/

?