Forums / Installing on a Windows Server / PHP Warning: fopen failed to open stream: Permission denied class.zcDatabaseInstaller

PHP Warning: fopen failed to open stream: Permission denied class.zcDatabaseInstaller

Views: 24,243

Results 1 to 2 of 2
7 Mar 2019, 8:27 AM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

PHP Warning: fopen failed to open stream: Permission denied class.zcDatabaseInstaller

This post is for information only.

Problem: the database installation does not complete: shows 99% or 100% but progress bar stalls/installation does not proceed further.

debug log:

[07-Mar-2019 09:06:43 Europe/Madrid] PHP Warning: fopen(D:\Documents\Dropbox\Dev\public_html\zencart_155f/logs/progress.json): failed to open stream: Permission denied in D:\Documents\Dropbox\Dev\public_html\zencart_155f\zc_install\includes\classes\class.zcDatabaseInstaller.php on line 500

One may focus on "fopen" (and whether it is enabled or not), or the file permissions (which are fine), but the problem is that installation is in a cloud folder, and at that moment, Dropbox is attempting to upload that file, hence the permission problem.

So Googlers, now you know.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

7 Mar 2019, 11:34 AM
#2
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: PHP Warning: fopen failed to open stream: Permission denied class.zcDatabaseInstaller

...actually it was bloody Avast. Now** I **know.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...