Just upgraded to 7.10.25 and I get āundefinedā column headers when editing the columns or the filters. The front end of the report looks fine.
Iāve tried the normal stuff like
Cleared browser cache
Repair and rebuild
reset file permissions
different combos of 1,2, &3 above
Anyone else experiencing this or is it unique to me? Any other ideas. Typically when experiencing this in the past, re-setting file permissions sorts it out.
It ended up being a file ownership issue. I reset the permissions AND file ownership and that cleared it up.
Also, if I recall if you have SuiteCRM installed in a subdirectory like /crm I seem to remember an .htaccess issue that I had to sort out once. (I think I may have done the repair .htaccess option in Admin).
Thanks @pgr, good to know the root cause. Mostly your #3 fixes it for me on an ongoing basis. I rarely have the issue anymore, except sometimes when installed in a subdirectory or after an upgrade. My common practise now is to just automatically reset permissions after every upgrade. Havenāt had an issue in a while.
Thanks @pgr , I would like to understand why it happens, so your list is helpful;
1. Your cron jobs are running as a different user (typically, root)
My SCRM is running on a hosted server (cpanel), with the following in CRON settings;
/usr/local/bin/php /home1/#user#/public_html/crm/cron.php > /dev/null 2>&1 Iām not sure how to check what user this is running as but I would have assumed ā#user#ā.
2. You log in with a different user and edit files.
Not likely as I am the only user
3. Your default_permissions in config.php are wrong
My settings areā¦
ādir_modeā => 1528,
āfile_modeā => 493, (I have seen many post of different settings here, including 420)
āuserā => ā#user#ā, (I know these to be correct - obviously not #user# & #grp# !)
āgroupā => ā#grp#ā,
4. Other processes running under other users mess with files
No other users, so should be all good here.
I guess I didnāt explain the āsame userā thing well enough. SuiteCRM runs from your web server, and your web server runs under a certain user. In systems you install (Ubuntu etc) this is typically a system-user account, NOT the same person-user that you use to login. So all the typical problems stem from this: person-users doing things manually break the ownerships of that system-user.
To find out which user your web server is running under, check in Admin / Schedulers, the crontab instructions on the bottom contain the user name (specific to your system).