7.12.8 - Email Page blank despite having set up the users email

Hi,
we recently started using SuiteCRM and are still setting it up.
Currently, there are issues with viewing emails within SuiteCRM. When opening, there is just a blank window with a small button the upper right corner (The user has a configured email account).
Inspecting the window in the browser shows a 500 Internal Server Error when loading the page, all other requests succeed.

The server logs are of little help to me, I’ve included the suitecrm.log content produced immediately after opening the email window in SuiteCRM. (log level is set to ‘warn’).

We moved the installation directory into a subdirectory, because we’re accessing SuiteCRM through a proxy, running on another server (SuiteCRM is hosted at services.example.org/suite-crm and is accessed through proxy.example.org/suite-crm, the installation of SuiteCRM moved from /var/www/suitecrm to /var/www/suitecrm/suite-crm AFTER I completed the initial installation). Apart from the email, everything seems to work fine.

SuiteCRM is served by Apache using PHP8.1-FPM, the proxy is running NGINX.

There is no custom code written and no modules installed (we tried to install TapCRM but the installer wouldn’t go past step 2 so we uninstalled it again)

Any help pointers in the right direction are appreciated!

Log:



    Thu Dec 22 10:11:59 2022 [1445614][-none-][WARN] Configuration variable date.timezone is not set, guessed timezone UTC. Please set date.timezone="UTC" in php.ini!

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][DEPRECATED] Array

    (

    )

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] CSS File Dawn/yui.css not found

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Email ID is Empty

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Trying to get property of non-object: list view data "order by" is not defined

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Trying to get property of non-object: list view data "sort order" is not defined

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][DEPRECATED] Using row number in fetchByAssoc is not portable and no longer supported. Please fix your code.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Empty or undefined Email Folder ID

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] unknown or undefined folder type (we will use 'imap' instead): inbound

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Request ssl value not found.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Requested folder is not defined

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to use a non valid resource stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to use a non valid resource stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to set a non valid resource az stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to use a non valid resource stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to use a non valid resource stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to use a non valid resource stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ImapHandler trying to use a non valid resource stream.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][ERROR] Unable to connect to IMAP server.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] server email data is not set for seearch

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Data for recieving email UIDs is not set.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] ListViewDataEmailsSearchOnIMap::search: query string is not set

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Invalid search results data.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] Row data must be an array, NULL given and converting to an array.

    Thu Dec 22 10:11:59 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][WARN] List view smarty data must be an array, undefined data given and converting to an empty array.

    Thu Dec 22 10:11:59 2022 [1445456][-none-][WARN] Configuration variable date.timezone is not set, guessed timezone UTC. Please set date.timezone="UTC" in php.ini!

    Thu Dec 22 10:11:59 2022 [1445456][871a0e2c-5aea-54a0-7994-639b26651915][DEPRECATED] Array

    (

    )

    Thu Dec 22 10:12:01 2022 [1445614][-none-][WARN] Configuration variable date.timezone is not set, guessed timezone UTC. Please set date.timezone="UTC" in php.ini!

    Thu Dec 22 10:12:01 2022 [1445614][871a0e2c-5aea-54a0-7994-639b26651915][DEPRECATED] Array

    (

    )

@awbnva

Have you changed the site address in config.php to include a subdirectory in url parameters?

Yes, site url is set:

'site_url' => 'https://proxy.example.org/suite-crm'

I also tried it in combination with

'host_name' => 'proxy.example.org'

instead of service.example.org
but it didn’t help.

You need to use PHP 8.0 for now, not 8.1. You happened to run into email problems, but things can break basically anywhere with 8.1

1 Like

This did indeed solve the problem, thank you very much!

1 Like