Changing company logo

I have read several other posts on the subject of changing the Suite CRM logo to my company logo but none have been able to help me so far. I have the correct size (450x170px), the permissions set to 775 and have named my file company_logo.png. When I upload my file under system settings the file appears to upload and preview correctly. I click save, refresh my browser cache and check. It has not changed. Not only that, but the Suite CRM logo is also no longer there. When I checked System Settings, it now says “$mod_strings.LBL_LOGO.” I tried to upload and save again, the same thing happened. So I uploaded via FTP and just replaced the default company_logo.png with my file named the same thing. I have also done a quick repair, and rebuilt the .htaccess file and cleared my cache but it has still not changed. Is there something else I am missing? Why am I not able to change the logo via the system settings?

That sounds like permissions issues.

I know you said you already set permissions, but what people often don’t realize is that permissions go hand-in-hand with file ownerships, and they need to get that right also.

So I would focus on checking that your installation is correct in that regard.

Is this Ubuntu? Windows? Your own server, or shared hosting? Do you have SSH access?

This is hosted on my own server. Last week, I was having issues with another error in the CRM which was a permissions issue, so I had a programmer go in and set all the correct permissions so they should all be correct. I am not sure about file ownerships. Are you able to tell me what specifically I need to look for regarding file ownerships? I am not sure how to check what they are set to.

If the CRM is running, you can go in Admin / Schedulers and tell me what the instructions are, below the table. This will let me know which user your web server is running under.

Also tell me (I’m assuming it’s Linux, you didn’t answer that part) the result of this command, given from the SuiteCRM directory:

ls -al

Finally, please tell me if you already set up your Scheduler jobs, and how.

Thanks for the reply. My apologies, I am running Linux server with cPanel interface. This is the message beneath the table:

In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u crmmason
… and add the following line to the crontab file:
* * * * * cd /home/crmmason/public_html; php -f cron.php > /dev/null 2>&1

This is the result of the ls -al command:

[crmmason@cpanel ~]$ ls -al
total 52
drwx--x--x. 20 crmmason crmmason 4096 Jan 28 00:19 .
drwxr-xr-x. 53 root     root     4096 Feb  3 16:21 ..
lrwxrwxrwx.  1 crmmason crmmason   34 Jul 30  2019 access-logs -> /etc/apache2/logs/domlogs/crmmason
-rwxr-xr-x.  1 crmmason crmmason 5427 Jan 28 01:00 .bash_history
-rwxr-xr-x.  1 crmmason crmmason   18 Jul 30  2019 .bash_logout
-rwxr-xr-x.  1 crmmason crmmason  193 Jul 30  2019 .bash_profile
-rwxr-xr-x.  1 crmmason crmmason  231 Jul 30  2019 .bashrc
drwxr-xr-x.  3 crmmason crmmason   18 Aug 12 16:48 .cache
drwxr-xr-x.  3 crmmason crmmason   18 Aug 12 16:48 .config
-rwxr-xr-x.  1 crmmason crmmason    0 Jul 30  2019 .contactemail
drwx------.  5 crmmason crmmason  180 Feb  3 16:31 .cpanel
drwxr-xr-x.  4 crmmason crmmason   70 Jan 17 11:33 .cphorde
drwxr-x---.  3 crmmason mail       74 Jan 16 17:31 etc
drwxr-x---.  2 crmmason nobody      6 Jul 30  2019 .htpasswds
-rwxr-xr-x.  1 crmmason crmmason  245 Jan 13 15:49 .lastlogin
drwxr-xr-x.  3 crmmason crmmason 4096 Feb  3 06:10 logs
drwxr-x--x. 11 crmmason crmmason 4096 Jan 24 18:45 mail
drwxr-xr-x.  4 crmmason crmmason   28 Aug 12 16:48 perl5
drwxr-xr-x.  3 crmmason crmmason   22 Jul 30  2019 public_ftp
drwxr-x---. 23 crmmason nobody   4096 Jan 29 23:48 public_html
drwxr-xr-x.  2 crmmason crmmason  231 Jan 24 18:45 .razor
drwxr-xr-x.  2 crmmason crmmason   24 Jul 30  2019 .spamassassin
-rwxr-xr-x.  1 crmmason crmmason    0 Jul 30  2019 .spamassassinboxenable
-rwxr-xr-x.  1 crmmason crmmason    0 Jul 30  2019 .spamassassinenable
drwx------.  2 crmmason crmmason   61 Jan 22 13:14 .ssh
drwxr-xr-x.  5 crmmason crmmason   77 Jan 16 17:37 ssl
drwx------.  2 crmmason crmmason   28 Jan 16 17:31 .subaccounts
drwxr-xr-x.  8 crmmason crmmason  258 Feb  3 11:59 tmp
drwxr-xr-x.  2 crmmason crmmason    6 Jul 30  2019 .trash
-rw-------.  1 crmmason crmmason 5042 Jan 28 00:19 .viminfo
lrwxrwxrwx.  1 crmmason crmmason   11 Jul 30  2019 www -> public_html

I have not set up a Scheduler job.

1 Like

Ok, so the user name is crmmason

But you got the listing from the upper level directory, you need to go into the SuiteCRM directory to show me what I need…

Probably you do that by running cd public_html, and then something like cd suitecrm or wherever you put it. I can’t know for sure, it depends on your installation…

I went into the public_html directory which is where the Suite CRM is installed. I don’t have a SuiteCRM directory within there necessarily, so this should be where all the files are. If I misunderstood, please let me know. This was the result:

[crmmason@cpanel ~]$ cd public_html
[crmmason@cpanel public_html]$ ls -al
total 1800
drwxr-x—. 23 crmmason nobody 4096 Jan 29 23:48 .
drwx–x--x. 20 crmmason crmmason 4096 Jan 28 00:19 …
drwxrwxr-x. 5 crmmason crmmason 57 Aug 26 10:17 Api
drwxrwxr-x. 15 crmmason crmmason 204 Jan 10 04:45 cache
-rwxrwxr-x. 1 crmmason crmmason 3477 Aug 26 08:01 campaign_tracker.php
drwxrwxr-x. 2 crmmason crmmason 6 Jul 30 2019 cgi-bin
-rwxrwxr-x. 1 crmmason crmmason 3094 Aug 26 08:01 CODE_OF_CONDUCT.md
-rwxrwxr-x. 1 crmmason crmmason 3007 Aug 26 08:01 composer.json
-rwxrwxr-x. 1 crmmason crmmason 271353 Aug 26 08:01 composer.lock
-rwxrwxr-x. 1 crmmason crmmason 1001 Feb 3 12:08 config_override.php
-rwxrwxr-x. 1 crmmason crmmason 12320 Jan 27 23:09 config.php
-rwxrwxr-x. 1 crmmason crmmason 5072 Aug 26 08:01 cron.php
-rwxrwxr-x. 1 crmmason crmmason 2290 Aug 26 08:01 crossdomain.xml
drwxrwxr-x. 10 crmmason crmmason 150 Feb 3 11:48 custom
drwxrwxr-x. 3 crmmason crmmason 104 Aug 26 10:17 data
-rwxrwxr-x. 1 crmmason crmmason 1898 Aug 26 08:01 deprecated.php
-rwxrwxr-x. 1 crmmason crmmason 2240 Aug 26 08:01 dictionary.php
-rwxrwxr-x. 1 crmmason crmmason 12983 Aug 26 08:01 download.php
-rwxrwxr-x. 1 crmmason crmmason 2246 Aug 26 08:01 emailmandelivery.php
-rwxrwxr-x. 1 crmmason crmmason 4816 Aug 26 08:01 export.php
-rwxrwxr-x. 1 crmmason crmmason 1118523 Aug 26 08:01 files.md5
-rwxrwxr-x. 1 crmmason crmmason 2656 Aug 26 08:01 HandleAjaxCall.php
-rwxrwxr-x. 1 crmmason crmmason 3774 Feb 3 12:04 .htaccess
-rwxrwxr-x. 1 crmmason crmmason 2222 Aug 26 08:01 ical_server.php
drwxrwxr-x. 57 crmmason crmmason 4096 Aug 26 10:17 include
-rwxrwxr-x. 1 crmmason crmmason 2371 Aug 26 08:01 index.php
drwxrwxr-x. 6 crmmason crmmason 4096 Sep 23 17:06 install
-rwxrwxr-x. 1 crmmason crmmason 19363 Sep 23 17:06 install.log
-rwxrwxr-x. 1 crmmason crmmason 32360 Aug 26 08:01 install.php
-rwxrwxr-x. 1 crmmason crmmason 2275 Aug 26 08:01 json_server.php
drwxrwxr-x. 3 crmmason crmmason 125 Aug 26 10:17 jssource
drwxrwxr-x. 9 crmmason crmmason 104 Aug 26 10:17 lib
-rwxrwxr-x. 1 crmmason crmmason 34539 Aug 26 08:01 LICENSE.txt
-rwxrwxr-x. 1 crmmason crmmason 2157 Aug 26 08:01 log_file_restricted.html
-rwxrwxr-x. 1 crmmason crmmason 2226 Aug 26 08:01 maintenance.php
drwxrwxr-x. 2 crmmason crmmason 4096 Aug 26 10:17 metadata
drwxrwxr-x. 3 crmmason crmmason 102 Aug 26 10:17 ModuleInstall
drwxrwxr-x. 119 crmmason crmmason 4096 Aug 26 10:17 modules
-rwxrwxr-x. 1 crmmason crmmason 2751 Aug 26 08:01 pdf.php
-rwxrwxr-x. 1 crmmason crmmason 306 Aug 26 08:01 php_version.php
drwxrwsr-x. 2 crmmason crmmason 102 Jan 18 11:47 public
-rwxrwxr-x. 1 crmmason crmmason 5317 Aug 26 08:01 README.md
-rwxrwxr-x. 1 crmmason crmmason 306 Aug 26 08:01 RoboFile.php
-rwxrwxr-x. 1 crmmason crmmason 73 Aug 26 08:01 robots.txt
-rwxrwxr-x. 1 crmmason crmmason 3458 Aug 26 08:01 run_job.php
drwxrwxr-x. 12 crmmason crmmason 133 Aug 26 10:17 service
drwxrwxr-x. 2 crmmason crmmason 4096 Aug 26 10:17 soap
-rwxrwxr-x. 1 crmmason crmmason 4007 Aug 26 08:01 soap.php
-rwxrwxr-x. 1 crmmason crmmason 5901 Aug 26 08:01 SugarSecurity.php
-rwxrwxr-x. 1 crmmason crmmason 154 Aug 26 08:01 sugar_version.json
-rwxrwxr-x. 1 crmmason crmmason 2293 Aug 26 08:01 sugar_version.php
-rwxrwxr-x. 1 crmmason crmmason 123820 Jan 28 09:44 suitecrm.log
-rwxrwxr-x. 1 crmmason crmmason 165 Aug 26 08:01 suitecrm_version.php
drwxrwxr-x. 4 crmmason crmmason 35 Aug 26 10:17 themes
-rwxrwxr-x. 1 crmmason crmmason 6051 Aug 26 08:01 TreeData.php
drwxrwxr-x. 4 crmmason crmmason 4096 Jan 27 05:47 upload
-rwxrwxr-x. 1 crmmason crmmason 2248 Aug 26 08:01 vcal_server.php
-rwxrwxr-x. 1 crmmason crmmason 2686 Aug 26 08:01 vCard.php
drwxrwxr-x. 37 crmmason crmmason 4096 Aug 26 10:17 vendor
drwxrwxr-x. 3 crmmason crmmason 28 Jul 30 2019 .well-known
drwxrwxr-x. 2 crmmason crmmason 37 Aug 26 10:17 XTemplate
drwxrwxr-x. 7 crmmason crmmason 198 Aug 26 10:17 Zend

That’s it, thanks. Permissions and ownerships look fine.

Which version of SuiteCRM are you running? it doesn’t look like it’s the latest, can you upgrade?

I am running Version 7.11.8.

I can upgrade, but it will take a few days because we have some backup measures that need to take place to ensure nothing gets lost or broken in the process. Is there any other reason that changing the logo would be such an issue? I have read through several other threads with this same issue but they seem to be from older versions, I would have thought it would have been addressed by now if it was a bug. Is there another way I can change the logo via FTP or something?

As a note, when I click on the “default” logo (now, just a broken image link and not an actual logo) and open in a new tab I get a 403 forbidden error. This seems to imply a permissions issue to me, but if I set the correct permissions then I don’t understand what could be wrong.

My current theory is that you’re hitting the .htaccess bug that was in some previous versions.

If you want to confirm this, make a backup copy of your current .htacess file, then apply these changes:

The run a Admin / Repairs / Rebuild htaccess

I applied the above changes, rebuilt the .htaccess in Repairs and got a 500 internal server error when trying to access the CRM. I changed the .htaccess back to the original and am now able to see the CRM interface again.

1 Like

That is strange, maybe some detail about the changed file was not correct. It’s better to wait for the opportunity to upgrade, I believe… sorry