Error message: {"content"." when ope

Hello to the SuiteCRM Community,

I am designing templates with a very simple structure (learning curve for myself and the middle size company I work in).
I am still at the test phase.

When I open my account list or my contact list, I got the error message : {“content”."
I close it and can continue to navigate.
Same, if within the ‘test account’ I created, I open the’ test contact’.

Searching on the net, I found the following thread in :
https://community.sugarcrm.com/thread/18885

Unfortunately, the thread content is rather confusing for me.
Would you mind helping ?
Thank you.

If you are setting up SuiteCRM for the first time, I would ignore that thread and simply concentrate on getting your Linux ownerships and permissions right, that’s probably what is breaking your app, especially if you see “undefineds” on the screen in several places.

If you don’t have other problems, and you are sure it is your changes that are causing this, them remove them and try to proceed slower, add fewer things, see if they break. All it takes is a missing bracket to completely through outputted content out of order and produce that error…

Thank you for your answer.

To help a new user ;), when you write “Linux ownerships and permissions right”, could you be more specific, please. Is there something I should look at in particular, knowing obviously that I have the full admin rights?

I carefully checked the few field changes I have made, but couldn’t spot any writing issue. Any other classical mistake I should look at?

Please give me more information so I can try guiding you:

  1. versions of OS, SuiteCRM, PHP, Web server, database

  2. the results of this command given from your SuiteCRM root directory:

ls -al
  1. And this command:
ps -ef | egrep '(httpd|apache2|apache|fpm)' | grep -v `whoami` | grep -v root | head -n1 | awk '{print $1}'
  1. Have you set up your Scheduler jobs in crontab yet? If so, exactly how did you do it?

Thank you for the follow-up.
This is what the webhost just answered.
Is it useful?

[root@vps html]# ls -al
total 1468
drwxr-xr-x 20 apache apache 4096 Nov 19 07:04 .
drwxr-xr-x 4 root root 4096 Nov 19 06:20 …
drwxrwxr-x 5 apache apache 4096 Oct 23 11:49 Api
drwxrwxrwx 14 apache apache 4096 Oct 24 07:29 cache
-rwxr-xr-x 1 apache apache 3477 Oct 23 11:49 campaign_tracker.php
-rw-rw-r-- 1 apache apache 370 Oct 23 11:49 codecov.yml
-rw-rw-r-- 1 apache apache 3094 Oct 23 11:49 CODE_OF_CONDUCT.md
-rw-rw-r-- 1 apache apache 1467 Oct 23 11:49 composer.json
-rw-rw-r-- 1 apache apache 162443 Oct 24 07:20 composer.lock
-rw-r–r-- 1 apache apache 248 Nov 21 06:25 config_override.php
-rwxr-xr-x 1 apache apache 11393 Nov 22 06:35 config.php
-rwxr-xr-x 1 apache apache 4928 Oct 23 11:49 cron.php
-rwxr-xr-x 1 apache apache 2290 Oct 23 11:49 crossdomain.xml
drwxrwxr-x 10 apache apache 4096 Nov 21 06:25 custom
drwxrwxr-x 3 apache apache 4096 Oct 23 11:49 data
-rwxr-xr-x 1 apache apache 2240 Oct 23 11:49 dictionary.php
-rwxr-xr-x 1 apache apache 12836 Oct 23 11:49 download.php
-rwxr-xr-x 1 apache apache 2246 Oct 23 11:49 emailmandelivery.php
-rwxr-xr-x 1 apache apache 4791 Oct 23 11:49 export.php
-rwxr-xr-x 1 apache apache 967627 Oct 23 11:49 files.md5
-rwxr-xr-x 1 apache apache 2656 Oct 23 11:49 HandleAjaxCall.php
-rw-r–r-- 1 apache apache 1834 Nov 19 07:03 .htaccess
-rwxr-xr-x 1 apache apache 2222 Oct 23 11:49 ical_server.php
drwxrwxr-x 58 apache apache 4096 Oct 23 11:49 include
-rwxr-xr-x 1 apache apache 2371 Oct 23 11:49 index.php
drwxrwxr-x 6 apache apache 4096 Nov 19 07:03 install
-rw-r–r-- 1 apache apache 26219 Nov 19 07:04 install.log
-rwxr-xr-x 1 apache apache 32173 Oct 23 11:49 install.php
-rwxr-xr-x 1 apache apache 2275 Oct 23 11:49 json_server.php
drwxrwxr-x 3 apache apache 4096 Oct 23 11:49 jssource
drwxrwxr-x 7 apache apache 4096 Oct 23 11:49 lib
-rwxr-xr-x 1 apache apache 34539 Oct 23 11:49 LICENSE.txt
-rwxr-xr-x 1 apache apache 2157 Oct 23 11:49 log_file_restricted.html
-rwxr-xr-x 1 apache apache 2226 Oct 23 11:49 maintenance.php
drwxrwxr-x 2 apache apache 4096 Oct 23 11:49 metadata
drwxrwxr-x 3 apache apache 4096 Oct 23 11:49 ModuleInstall
drwxrwxr-x 119 apache apache 4096 Oct 23 11:49 modules
-rwxr-xr-x 1 apache apache 2751 Oct 23 11:49 pdf.php
-rw-rw-r-- 1 apache apache 310 Oct 23 11:49 phpcs.xml
-rw-r–r-- 1 apache apache 24 Nov 19 06:29 phpinfo.php
-rw-rw-r-- 1 apache apache 306 Oct 23 11:49 php_version.php
-rwxr-xr-x 1 apache apache 3873 Oct 24 07:18 README.md
-rw-rw-r-- 1 apache apache 195 Oct 23 11:49 RoboFile.php
-rwxr-xr-x 1 apache apache 73 Oct 23 11:49 robots.txt
-rwxr-xr-x 1 apache apache 3458 Oct 23 11:49 run_job.php
drwxrwxr-x 12 apache apache 4096 Oct 23 11:49 service
drwxrwxr-x 2 apache apache 4096 Oct 23 11:49 soap
-rwxr-xr-x 1 apache apache 4007 Oct 23 11:49 soap.php
-rwxr-xr-x 1 apache apache 5901 Oct 23 11:49 SugarSecurity.php
-rwxr-xr-x 1 apache apache 154 Oct 23 11:49 sugar_version.json
-rwxr-xr-x 1 apache apache 2293 Oct 23 11:49 sugar_version.php
-rw-r–r-- 1 apache apache 3550 Nov 22 22:39 suitecrm.log
-rwxr-xr-x 1 apache apache 171 Oct 24 07:18 suitecrm_version.php
drwxrwxr-x 4 apache apache 4096 Oct 23 11:49 themes
-rw-rw-r-- 1 apache apache 93 Oct 23 11:49 travis.php.ini
-rwxr-xr-x 1 apache apache 6051 Oct 23 11:49 TreeData.php
drwxrwxr-x 3 apache apache 4096 Nov 21 06:12 upload
-rwxr-xr-x 1 apache apache 2248 Oct 23 11:49 vcal_server.php
-rwxr-xr-x 1 apache apache 2848 Oct 23 11:49 vCard.php
drwxrwxr-x 22 apache apache 4096 Oct 24 07:20 vendor
drwxrwxr-x 2 apache apache 4096 Oct 23 11:49 XTemplate
drwxrwxr-x 7 apache apache 4096 Oct 23 11:49 Zend

[root@vps html]# ps -ef | egrep ‘(httpd|apache2|apache|fpm)’ | grep -v whoami | grep -v root | head -n1 | awk ‘{print $1}’
apache
[root@vps html]#

The permissions look more or less ok.

You need to focus on your own code changes, find out where you are breaking a block. If you use an IDE and XDEBUG this gets a lot easier… less guessing needed.

Thank you for the advice. Your follow-up is much appreciated.
Will do, and if I find something interesting to share for beginners like me, will post it.