Visit our archive

This problem is a bit of a relic now, but even with the newest version of SugarCRM you can still run into it. Often after installation you will notice the system start to act a bit quirky, popups and alerts will say “Undefined” and in the latest version you will actually get alerts that say “fail” – funny, but annoying.

The problem resides in permissions, SugarCRM generates cache files based on permission levels set within config.php – you can find this in the root folder of your SugarCRM installation.

On line 163/164 you will need to change the default values for dir_mode and file_mode to the following:

  array (
    'dir_mode' => 493,   // 163
    'file_mode' => 420,  // 164
    'user' => '',
    'group' => '',
  ),

If these numbers don’t look familiar to you don’t stress, usually octal numbers such as 0666 are used to set permissions – these are decimal. 493 equates to 0755 and 420 equates to 0644 – standard permission settings for most servers. If for some reason you need different permissions set, simply use a octal to decimal convertor.

Once you’ve done this you can delete the contents of your cache folder if you have SugarCRM 6+ (do NOT delete the contents of this if you are using SugarCRM 5x or lower) and ideally you should log out then back in again.
online casino 1500

8 Responses to “SugarCRM Undefined Error Fix”