Blank login page after update 7.13 to 7.14 , repair, log out and log in

Hello,

today I updated 7.13 to 7.14 and everything worked just fine. I made a repair and suitecrm was still working. Then I logged out and tried to login again but I received a blank page.
I’m running on windows 10, laragon, Apache 2.4.57, MariaDB 10.4.30, php 7.4.33

If you have a blank page, you probably have a FATAL error in your php_errors.log.

It’s likely a PHP issue, you need to stay inside the matrix: 7.4 requires PHP 8.1 or 8.2 (which I would recommend).

Hey pgr,

thank you for your swift response.

I now have 8.1.23 but receive

Deprecated: Function strftime() is deprecated in C:\Laragon\www\suitecrm\include\SugarLogger\SugarLogger.php on line 239

Deprecated: Function strftime() is deprecated in C:\Laragon\www\suitecrm\include\SugarLogger\SugarLogger.php on line 239

Also in log: ImapHandler trying to use a non valid resource stream.

Turn off display_errors in your php.ini and restart web server.

Errors should not appear on screen, only in the logs.

“Deprecated” errors are nothing to worry about, they are messages for future developers, not errors for present users.

To handle the

Function strftime() is deprecated in suitecrm\include\SugarLogger\SugarLogger.php** on line 239

error, I made a small code change on my local system in the same file as follows and it got fixed.

Commented out strftime function call line and used $date->format where $date is immutable date time.

$date = DateTimeImmutable::createFromFormat('U', time());
fwrite(
$this->fp,
// //strftime($this->dateFormat) . ' [' . getmypid() . '][' . $userID . '][' . strtoupper($level) . '] ' . $message . "\n"
$date->format('Y-m-d'). ' [' . getmypid() . '][' . $userID . '][' . strtoupper($level) . '] ' . $message . "\n"
 );

Shared here if it helps.

1 Like