Need help in fixing sugarcrm instance.
Has anyone encountered these errors?
- ReferenceError: jQuery is not defined
- ReferenceError: SUGAR is not defined
It's stuck with only the "Loading.." message showing.
This is likely the result of using an incompatible version of the JSMin PHP extension. Give this post a look:
Angel's Blog: SugarCRM Troubleshooting: Still Loading...
I'm having the same problem, but in our case the JSMin PHP extension is not installed.
The problem showed up after rebuilding the Sidecar files from the Repair page. Before that everything was working fine.
Any ideas how to fix this?
Did you mean that you ran Quick Repair and Rebuild or did you run one of the other Repair commands?
The most common reason we see is the issue with some versions of JSMin PHP extension. Even if you didn't install JSMin yourself, it may have been included with your default PHP install on some operating systems.
Also, does the web server user have write permissions to cache/ directory? File permission issues can cause problems when rebuilding the contents of the cache.
To help cover all bases, also make sure that your browser's JS cache has been cleared to ensure you're downloading latest from server.
It turns out that after doing a "Rebuild Sidecar Files" on the "Repair" page, the two minified files sidecar/minified/sidecar.min.js and sidecar/minified/sidecar.lite.min.js were both empty (their size was zero). I copied the non-minified files over the empty files and now I can log in again. As far as I can tell the JSMin extension is not installed on our server. When I do a "php -m" it doesn't show up in the list of modules and it's not in the extension directory either. There might be a bug in the minifier because we were having this problem on several servers, every time after rebuilding the sidecar files. Can anybody verify that this rebuild works for them? What causes the minified files to be empty?
See a related post on developer blog:
Hello Christian Schiller,
Your work around has worked for me, I copied both files from my previous days backup and Users can now able to login.
Thank you very much for sharing your fix.
Retrieving data ...