Sugar CRM: CSS não carrega


Foto: Flickr do Marcos Montanhês

Após atualizar para o Sugar CRM CE 6.0, o sistema passou a não carregar o CSS e as imagens (ícones), ou seja, as paginas eram exibidas sem formatação.

Pesquisando nos fóruns do Sugar CRM, vários usuários creditavam o problema às permissões nas pastas:

It is usually a permissions issue.

A combination of the following usually resolves it:

chmod -R 755 <sugar>/cache
and/or
chown -R apache.apache <sugar>/cache

fonte: Sugar CRM: New install – CSS not displaying

I kinda doubt its something in the code, I have done at least 100 upgrades and new installs in the last 45 days and so far I only hit this issue 3 times and all three times it was a permission/user issue.

Its not impossible that something about the environment is causing something in SugarCRM to malfunction but so far I havent seen it.

You might also check your site_url and hostname in your config.php and make sure they are right but I doubt that would have anything to do with this.

fonte: Sugar CRM: CSS Images not showing

Após alterar a pasta cache para o chmod 755 o CSS voltou a ser exibido, mas a maior parte dos ícones não. Alterei todas as pastas, subpastas e arquivos da instalação para essa permissão e finalmente consegui resolver definitivamente o problema.