SuiteCRM 8.8 Installation on Shared Hosting Platform

I used cPanel to create the cron job that runs the cron.php.

I have also setup a local install of SuiteCRM 8.8 on a VM and created an entry in crontab but it doesn’t work either. I followed the instructions in Igor’s video.

@rsp I ran the ./bin/console cache:clear command on my localhost in the lab and this is what is happening after doing that, no login page appears, and it stays blank, I tried in 2 different browsers, same results. I even rebooted my VM just in case. What could cause this to happen?

Okay, it should work. Recheck file permission and ownership.


For the cron job, you need to set up the scheduler.

I ran the file permissions command again, but still no luck. The url takes me to the page but the screen stays blank.

That’s interesting. Do you have errors in the log or browser console?

logs/prod/
logs/legacy/

logs/prod

[2025-02-05 03:52:21] app.ERROR: An error occurred while checking the Database Host Connection SQLSTATE[HY000] [2002] Connection refused
[2025-02-05 04:03:52] app.ERROR: An error occurred while checking the Database Host Connection SQLSTATE[HY000] [2002] Connection refused
[2025-02-05 04:04:25] app.ERROR: An error occurred while checking the Database Host Connection SQLSTATE[HY000] [2002] Connection refused
[2025-02-05 04:05:33] app.ERROR: An error occurred while checking the Database Host Connection SQLSTATE[HY000] [2002] Connection refused
[2025-02-05 04:23:04] app.ERROR: An error occurred while checking the Database Host Connection SQLSTATE[HY000] [2002] Connection refused
[2025-02-05 04:23:56] app.ERROR: An error occurred while checking the Database Host Connection SQLSTATE[HY000] [2002] Connection refused
[2025-02-05 04:37:08] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:“[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-05 04:37:09] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-05 21:03:24] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:“[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-05 21:03:33] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-05 21:31:20] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:“[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-05 22:36:42] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-05 23:46:12] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: “Invalid CSRF token” at CSRFValidationListener.php line 95 {“exception”:“[object] (Symfony\Co>
[2025-02-06 20:11:24] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-06 20:24:24] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:“[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-06 20:24:46] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-08 03:34:52] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:“[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-08 04:42:26] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-08 04:45:41] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:“[object] (ErrorException(code: 0): Notice: SessionHandler>
[2025-02-08 04:54:38] php.WARNING: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) {“exception”:”[object] (ErrorException(code: 0): Notice: SessionHandler>

=====================================================
logs/legacy/suitecrm.log

Wed Feb 5 2025 at 04:51:24 [93930][1][FATAL] log call at: modules/EmailMan/tpls/config.tpl - styleChecked is not set
Sat Feb 8 2025 at 01:57:24 [4753][1][FATAL] log call at: modules/EmailMan/tpls/config.tpl - styleChecked is not set

That’s interesting! you can delete logs/prod folder and try again.

Thanks, will do and report back.