salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.44k stars 2.07k forks source link

Fix ##10146 - issues launching suitecrm locally #10352

Open Aakeeo opened 8 months ago

Aakeeo commented 8 months ago

The installation dies on this line if there are issues with the permissions of the files. But the error message says that

PHP Fatal error: Uncaught TypeError: fwrite(): Argument https://github.com/salesagility/SuiteCRM/pull/1 ($stream) must be of type resource, bool given.

This if condition checks if fp is a resource and if it's then it passes it to the below if condition.

Description

The installation dies on this line if there are issues with the permissions of the files. But the error message says that

PHP Fatal error: Uncaught TypeError: fwrite(): Argument https://github.com/salesagility/SuiteCRM/pull/1 ($stream) must be of type resource, bool given.

This if condition checks if fp is a resource and if it's then it passes it to the below if condition.

Motivation and Context

How To Test This

Types of changes

Final checklist