Iāve installed a new instance of SuiteCRM 7.9.4 and Iām having a lot of errors.
First of all, seeing the word āUndefinedā everywhere.
Second, many links and buttons just donāt work sometimes. Such as the Save button underneath the update text box on a case view. Sometimes it works, sometimes says javascript void at bottom left of browser, sometime does nothing at all. I canāt seem to pin down when it works and when it doesnāt.
Any ideas?
Iām assuming someone will suggest permissions, so Iāll double check, but Iām sure I went through that during installation.
If there is someone out there that has a lot of experience with SuiteCRM, we are willing to hire freelance help to get this up and running the way we want it. Is it even allowed to ask that here? We are tired of dealing with all this, but find the dedicated support to be more than we need.
Also set them in default_permissions in config.php. After this run quick repair and rebuild (Admin->Repair>Quick Repair&Rebuild) making sure to check the bottom of the screen encase there is an action to execute, if so execute it and rerun quick repair. Once done, reset files and folder permissions again and do a hard reset of your browser cache.
Let me know if you still encounter issueās after this.
Turns out Iām still getting undefined errors in some places - most notable one is in the Quotes module. When I try to create a quote and get down to line items, I cannot add a product line or service line, every field there says āundefinedā after clicking āADD GROUP.ā
The Invoices module does not have this issue, I can add line items just fine there.
Iāve triple checked permissions, any other ideas?
I switched to a hosting provider a few months ago, and Iām really starting to regret that. Sure itās a bit faster, but not having full control of my server has been a real pain. I canāt just run commands like chown or chmod. I set permissions via FTP and they seem to keep changing. These errors keep coming back and I have to keep setting permissions all the time.
Correction - should be config.php, not default.php. Maybe thatās why I never got a response the first time I asked.
I tried setting dir_mode and file_mode to 755, and the appropriate user and group. After setting that and doing a quick repair and rebuild it broke my site and no suitecrm pages would load - had to load a backup.
I am with Bluehost on a shared plan, it can be a bit tricky! What I have found for me is to set the permissions as follows
755 ALL files then
775 for directory, folders and all files inside these - cache, custom, data, modules, upload and config_override.php
Also set 775 for the themes folder only, not the folders and files inside the theme folder
This might be why you are seeing problems.
One other thing I have noticed is as you go into new screens, modules, etcā¦ the page is cached. I have to periodically run the permissions again on everything to make sure I donāt get any āundefinedā errors. Itās a pain, but necessary for SuiteCRM to function correctly. Anytime you run quick repair and rebuild or make any changes, you need to run the permissions again and even clear your browser cache to make sure everything is running properly. Thanks!
I am on JustHost a very close relative of Bluehost and have run the permissions you suggest Irosenvall. I still get the āUndefinedā message displayed on all popups as well as a good number of column headers and labels.
The installation I have is a fresh install of 7.10.7
In the past month, on this exact server, I have run an instance of 7.9.x with permissions set that did not cause the āundefinedā labels. The installation is no longer available or I would look there for permissions guidance.
āOne other thing I have noticed is as you go into new screens, modules, etcā¦ the page is cached. I have to periodically run the permissions again on everything to make sure I donāt get any āundefinedā errors. Itās a pain, but necessary for SuiteCRM to function correctly. Anytime you run quick repair and rebuild or make any changes, you need to run the permissions again and even clear your browser cache to make sure everything is running properly. Thanks!ā
I have. It was very explicit and I have run through it a few times to make sure I was getting the process done as you suggested. I will attempt to run through it again as well just to make sure. I will check with an alternate browser as well just to make sure that is not the issue.
As a side note: I do not have a user āwww-dataā on the server so the owner is set to my user on the shared server. Are you set up the same way or does BlueHost have āwww-dataā setup as the user?
OK, good to hear. I have never had a problem with it in the past.
I did run through the entire permissions reset process you outline. Including clearing the cache on my browser. Nothing changed. I have also attempted to load the site on multiple browsers with no change.
The real problem occurs when I am attempting to modify a layout or some other process that comes up with a popup confirmation box with all of the buttons labeled as āundefinedā. It is a crap shoot which button is SAVE and what is CANCEL. I have lost a few minutes worth of work more times than once! I just smile when they come up and hope for the best.
I originally installed SuiteCRM on this server 2 years ago and have upgraded multiple times. I have had the āundefinedā label issue before and got it resolved when the system was upgraded to 7.9.x. It was some obscure change that I was sure I found on this site. I will have to keep digging I suppose and see what I can come up with.
So after resetting the permissions about a thousand times and pulling my hair out with āQuick Repairsā I finally actually looked at the .htaccess file. Well, it turns out that if you have TWO sections then things go haywire. Removed the section that was outside of āSUGARCRM RESTRICTIONSā section and POOF, no more undefined labels.
So now on to the actual frustrating partā¦dealing with the sales team on implementation!