0

Before you mark the question as duplicate, read it well. 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?

Stephan Vierkant
  • 9,674
  • 8
  • 61
  • 97
Felipe Cortés
  • 81
  • 1
  • 10
  • 1
    $ not defined is missing jQuery. Press F12 and look in the network tab to see why. – mplungjan Mar 28 '17 at 05:39
  • you have a missing jquery reference – Harsheet Mar 28 '17 at 05:42
  • You're missing jquery reference. If not then try using ` /*jslint browser: true*/ /*global $, jQuery, alert*/ ` this in your `js` file. – MUT Mar 28 '17 at 06:01
  • In the link "Image error" You can look at the error. And the missing jquery reference, is only in this server, because I copied same data in other server and work fine. – Felipe Cortés Mar 28 '17 at 08:41
  • Where is jQuery being loaded? *Is* it being loaded? Have you checked the network tab? – deceze Mar 28 '17 at 19:44
  • In the network tab does not display the jquery load. What I do not understand is because it does not load any javascript file on this server. – Felipe Cortés Mar 29 '17 at 04:53
  • The trouble was php version server and support to crm. Thanks! – Felipe Cortés Mar 30 '17 at 13:38
  • Hello everyone, 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 May 30 '17 at 18:14

0 Answers0