Still not working - Email client not populating

Hi All,

I need to send out some emails from templates desperately, can anyone help?

I recently upgraded my server to get past the email client not populating. I switched it from the SuiteCRM client to “an External client” and then tried to switch it back to send out some SuiteCRM templates, but the problem followed me to the new server !!

I migrated from Ubuntu 16.04 to 20.04, using the advise given here, thanks :slight_smile:

The problem is;

When I click a contact’s email address the client pops up but nothing is filled in, the body is also misplaced to the right as in the picture

If I then try to delete it by pressing the delete or trash can I get the following screen

Does anyone have any suggestions? I know it worked previously as I use it for my bookings.
I’m running Version 7.10.25
Sugar Version 6.5.25 (Build 344)

pgr suggested it was permissions here " it seems you have another problem because your Compose window appears with broken CSS styles. This is often caused by problems in ownerships/permissions which cause the cache directory to misbehave."

To be honest I’m stuck. I think it’s permissions too, as I’ve obviously made the same mistake on the new installation.

Can anyone help me

Thanks

Julian

@JulianHarmer
I am sure that it permissions. Did you see the documentation:

Thanks for that. I had another look at the permissions.
My installation is in /var/www/html/suitecrm

I issued the commands;

julianh@suitecrm:/var/www/html/suitecrm$ sudo chown -R www-data:www-data .
julianh@suitecrm:/var/www/html/suitecrm$ sudo chmod -R 755 .
julianh@suitecrm:/var/www/html/suitecrm$ sudo chmod -R 775 cache custom modules themes data upload
julianh@suitecrm:/var/www/html/suitecrm$ sudo chmod 775 config_override.php 2>/dev/null

Unfortunately it’s not solved it.

The Suitecrm directory looks like this;

julianh@suitecrm:/var/www/html/suitecrm$ ls -l
total 116104
drwxr-xr-x 5 www-data www-data 4096 May 12 17:09 Api
drwxrwxr-x 17 www-data www-data 4096 May 12 17:09 cache
-rwxr-xr-x 1 www-data www-data 3477 Apr 30 13:57 campaign_tracker.php
-rwxr-xr-x 1 www-data www-data 2844 Apr 30 13:57 composer.json
-rwxr-xr-x 1 www-data www-data 229385 Apr 30 13:57 composer.lock
-rwxrwxr-x 1 www-data www-data 1587 May 13 16:27 config_override.php
-rwxr-xr-x 1 www-data www-data 12072 May 12 17:21 config.php
-rwxr-xr-x 1 www-data www-data 12074 May 12 17:21 config.php-original
-rwxr-xr-x 1 www-data www-data 5091 Apr 30 13:57 cron.php
-rwxr-xr-x 1 www-data www-data 2290 Apr 30 13:57 crossdomain.xml
drwxrwxr-x 11 www-data www-data 4096 May 12 17:10 custom
drwxrwxr-x 3 www-data www-data 4096 May 12 17:10 data
-rwxr-xr-x 1 www-data www-data 1898 Apr 30 13:57 deprecated.php
-rwxr-xr-x 1 www-data www-data 2240 Apr 30 13:57 dictionary.php
-rwxr-xr-x 1 www-data www-data 14201 Apr 30 13:57 download.php
-rwxr-xr-x 1 www-data www-data 2246 Apr 30 13:57 emailmandelivery.php
-rwxr-xr-x 1 www-data www-data 3982 Apr 30 13:57 export.php
-rwxr-xr-x 1 www-data www-data 867304 Apr 30 13:57 files.md5
-rwxr-xr-x 1 www-data www-data 2656 Apr 30 13:57 HandleAjaxCall.php
-rwxr-xr-x 1 www-data www-data 2222 Apr 30 13:57 ical_server.php
drwxr-xr-x 59 www-data www-data 4096 May 12 17:10 include
-rwxr-xr-x 1 www-data www-data 2371 Apr 30 13:57 index.php
drwxr-xr-x 6 www-data www-data 4096 May 12 17:10 install
-rwxr-xr-x 1 www-data www-data 20240 Mar 21 2018 install.log
-rwxr-xr-x 1 www-data www-data 33556 Apr 30 13:57 install.php
-rwxr-xr-x 1 www-data www-data 2275 Apr 30 13:57 json_server.php
drwxr-xr-x 3 www-data www-data 4096 May 12 17:10 jssource
drwxr-xr-x 8 www-data www-data 4096 May 12 17:10 lib
-rwxr-xr-x 1 www-data www-data 34539 Mar 13 2018 LICENSE.txt
-rwxr-xr-x 1 www-data www-data 2157 Apr 30 13:57 log_file_restricted.html
-rwxr-xr-x 1 www-data www-data 2226 Apr 30 13:57 maintenance.php
drwxr-xr-x 2 www-data www-data 4096 May 12 17:10 metadata
drwxr-xr-x 3 www-data www-data 4096 May 12 17:10 ModuleInstall
drwxrwxr-x 119 www-data www-data 4096 May 12 17:10 modules
-rwxr-xr-x 1 www-data www-data 2751 Apr 30 13:57 pdf.php
-rwxr-xr-x 1 www-data www-data 306 Apr 30 13:57 php_version.php
drwxr-xr-x 2 www-data www-data 4096 May 12 17:10 public
-rwxr-xr-x 1 www-data www-data 4911 Apr 30 13:57 README.md
-rwxr-xr-x 1 www-data www-data 306 Apr 30 13:57 RoboFile.php
-rwxr-xr-x 1 www-data www-data 73 Mar 13 2018 robots.txt
-rwxr-xr-x 1 www-data www-data 3477 Apr 30 13:57 run_job.php
drwxr-xr-x 12 www-data www-data 4096 May 12 17:10 service
drwxr-xr-x 2 www-data www-data 4096 May 12 17:10 soap
-rwxr-xr-x 1 www-data www-data 4025 Apr 30 13:57 soap.php
-rwxr-xr-x 1 www-data www-data 125095 Mar 21 2018 sugarcrm.log
-rwxr-xr-x 1 www-data www-data 5902 Apr 30 13:57 SugarSecurity.php
-rwxr-xr-x 1 www-data www-data 154 Apr 30 2020 sugar_version.json
-rwxr-xr-x 1 www-data www-data 2293 Apr 30 13:57 sugar_version.php
-rwxr-xr-x 1 www-data www-data 10485882 Apr 6 2020 suitecrm_1.log
-rwxr-xr-x 1 www-data www-data 10485864 Feb 15 2020 suitecrm_2.log
-rwxr-xr-x 1 www-data www-data 10485861 Dec 26 2019 suitecrm_3.log
-rwxr-xr-x 1 www-data www-data 10485847 Nov 6 2019 suitecrm_4.log
-rwxr-xr-x 1 www-data www-data 10485829 Sep 16 2019 suitecrm_5.log
-rwxr-xr-x 1 www-data www-data 10485856 Jul 27 2019 suitecrm_6.log
-rwxr-xr-x 1 www-data www-data 10485772 Jun 6 2019 suitecrm_7.log
-rwxr-xr-x 1 www-data www-data 10485812 Apr 12 2019 suitecrm_8.log
-rwxr-xr-x 1 www-data www-data 10485797 Feb 19 2019 suitecrm_9.log
-rwxr-xr-x 1 www-data www-data 8268482 May 18 16:55 suitecrm.log
-rwxr-xr-x 1 www-data www-data 4678524 Apr 5 2018 suitecrm.log.2
-rwxr-xr-x 1 www-data www-data 7023024 Jul 11 2018 suitecrm.log.old
-rwxr-xr-x 1 www-data www-data 90705 Jul 11 2018 suitecrm.log.original
-rwxr-xr-x 1 www-data www-data 166 Apr 30 13:57 suitecrm_version.php
drwxrwxr-x 6 www-data www-data 4096 May 12 17:10 themes
-rwxr-xr-x 1 www-data www-data 6051 Apr 30 13:57 TreeData.php
-rwxr-xr-x 1 www-data www-data 2765775 May 17 19:48 upgradeWizard.log
drwxrwxr-x 5 www-data www-data 69632 May 12 17:11 upload
-rwxr-xr-x 1 www-data www-data 2248 Apr 30 13:57 vcal_server.php
-rwxr-xr-x 1 www-data www-data 2686 Apr 30 13:57 vCard.php
drwxr-xr-x 38 www-data www-data 4096 May 12 17:13 vendor
drwxr-xr-x 2 www-data www-data 4096 May 12 17:13 XTemplate
drwxr-xr-x 22 www-data www-data 4096 May 12 17:14 Zend

Are these correct, everything I’ve looked up seems to say so, Any suggstions?

Thanks

Julian

@JulianHarmer

Did you clean browser cache?

Yes :slight_smile:

Thanks

Julian

I’ve created a new install new server, new installation of suite crm and the problem is still there. I can’t use theSuite Clinet to send out emails from tempates

It’s obviously something I’m doing. I’m using the guide from https://www.linuxbabe.com/ubuntu/install-suitecrm-ubuntu-20-04-apache-nginx

PLEASE Help, I’m behind already

Thanks

Julian

Sometimes the permissions problems are not just chown/chmod, sometimes there are other things messing up accesses…

  • modsecurity
  • selinux
  • apache .htaccess stuff

2 BIG Clues,

When I login as admin, the email client behaves, templates work. I can click on an email address of a contact and the suitecrm email client behaves perfectly. I can select a template, the world is at peace :slight_smile:

When logged in as me, the email works if I go to Emails->Compos email, but is I click on a contact’s email I still get the above error, the client doesn’t work. :frowning: But if I go to Email-> compose email it works fine.

Is the answer here? I’ve spent days on this

Any suggestions?

Thanks