0

The problem is when I changed the server to another do not load scripts well. On other servers there is no problem. I need to know that it must be enabled or modified on the server for the SugarCRM to work.

I changed from server to a more modern one (from hivelocity to a2hosting), I made a backup of all the crm information and copied it to the new server and I gave the necessary permissions as it appears in this link or the basics permissions to fix the interface and css.

But the problem was that it generates this error "Uncaught ReferenceError: $ is not defined". I have been doing this many times and installed many sugarcrm and this is the first time I have this error.

Image error

To make sure and rule out another problem, I did the same copy of information and processes to a godaddy server and it worked perfectly.

Could you help me?

Star
  • 3,222
  • 5
  • 32
  • 48
Felipe Cortés
  • 81
  • 1
  • 10
  • Possible duplicate of [$ is not defined in sugarcrm](http://stackoverflow.com/questions/43061310/is-not-defined-in-sugarcrm) – MaxiWheat Mar 28 '17 at 19:48
  • 1. Did you switch from a non-ssl host to an ssl host (or vice-versa)? 2. Did you change URLs and neglect to change the `config.php` file to the new `site_url` param? 3. Did your URL change to a subdirectory or a subdirectory of a different name (e.g. `host:port/one` to `host:port/two`)? – Matthew Poer Mar 29 '17 at 01:59
  • The two servers are ssl. The domain was targeted to new server, the domain or sub directories are same. The config.php was modified for set new database. – Felipe Cortés Mar 29 '17 at 04:58
  • 1
    The trouble was php version server and support to crm. Thanks! – Felipe Cortés Mar 30 '17 at 13:38

1 Answers1

1

The problem was the php version. My server had php 6 and sugarcrm does not support versions greater than 5.6. I downloaded it and it worked correctly.

Thank you very much

Felipe Cortés
  • 81
  • 1
  • 10