After changing some columns on the Accounts list view (using Admin Studio) I now get a 500 error when clicking on the account link in the name column.
Strangely I cannot use the Contacts links from the list view either (same error).
All is OKAY if I use the pencil edit icon.
I’ve Restored Default on the list view but still not working.
Difference between the link and pencil links is the action. DetailView not working (500), but EditView OKAY.
Web inspector for failed URL:-
https://{my domain in here}/index.php?action=DetailView&module=Accounts&record=7dbd8b42-fe68-da3a-73c8-5e0f17588cc1&offset=1&stamp=1578053268032596100
It’s possible that something is wrong with your permissions and Studio wasn’t able to write successfully, or worse, was able to do its changes only partially.
Start by trying a Quick Repair and Rebuild, and a Rebuild Relationships, from Admin / Repairs.
@pgr
Thanks for quick response, but I did the repairs ands re-applied the permissions but I’m still getting a 500 error.
I re-tried the repair & rebuild and now I’m sat with Rebuilding Extensions… on the screen but no apparent processing.
Log file is empty (I cleared it down before this set of tests).
I’ve been chasing my tail for several hours now and I’m at the stage of doing a re-installation. Can I preserve my config.php file then simply re-upload the distribution to avoid re-running the installer and initialising the database?
I did have my doubts whether it would work or not.
As a developer I’m keen to find out what went wrong and how to fix it. I might do a duplicate installation on a local server (currently on shared) and I can then debug a bit better.
Another thing, are you checking your PHP log also? The one defined in php.ini, usually it’s called php_errors.log. When there’s a FATAL PHP crash, that’s where it shows.
About the permissions / ownerships. You can check in Admin / Schedulers, at the bottom, the user name it gives in the cron instructions. This should match what you used in your chown command when setting up, otherwise permissions will be broken.
A final idea, since you mention you’re a developer. Did you use the downloaded zip package, or did you pull from git? If you didn’t use the package, then you need to run composer install --no-dev to pull the dependencies.
I used the zip package but if I get into developing in SuiteCRM I’ll look at the git repository.
I should have looked in the system logs as well as SuiteCRM log file.
[03-Jan-2020 13:52:28 UTC] PHP Fatal error: require_once(): Failed opening required 'include/DetailView/DetailView2.php' (include_path='/home/msconsultantsco/{my domain}:/home/msconsultantsco/{my domain}/include/..:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/msconsultantsco/{my domain}/include/MVC/View/views/view.detail.php on line 41
In fact the include/DetailView folder is completely missing. I wonder if that could have been caused by the Studio part failing? Happened at the same time. I must admit I missed changing ALL the privileges after uploading the kit.
I’ve overwritten a backup copy of the folder(s) and all is fine now.
Thanks again.
As an aside I’m doing a feasibility study of SuiteCRM for a client. Out of the box functionality look sufficient. I did try SugarCRM many many years ago, but this iteration looks (and feels) really good. As a UK freelancer is there a market in SuiteCRM if I get more involved? My current background is PHP apps and WordPress development.
I’m sure there is some market, there’s a lot of demand for this kind of software in lots of areas. But how good this market will be for you will depend a lot on your network, and how good you get with SuiteCRM. Your past experience will likely be a good fit.