Page 1 of 1

Warning: fopen(../logs/openbay.log): failed to open stream: No such file or directory in ..\system\library\log.php

Posted: Thu Apr 23, 2020 4:53 pm
by PHA
hello everyone I tried to install opencart and everything seems fine untill i got this after installation:

Code: Select all

Warning: fopen(R:/inetpub/opencart/logs/openbay.log): failed to open stream: No such file or directory in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\log.php on line 22Warning: fopen(R:/inetpub/opencart/cache/cache.catalog.language.1587635373): failed to open stream: No such file or directory in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 49Warning: flock() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 51Warning: fwrite() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 53Warning: fflush() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 55Warning: flock() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 57Warning: fclose() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 59Warning: fopen(R:/inetpub/opencart/cache/cache.currency.1587635373): failed to open stream: No such file or directory in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 49Warning: flock() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 51Warning: fwrite() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 53Warning: fflush() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 55Warning: flock() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 57Warning: fclose() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\cache\file.php on line 59Warning: fopen(R:/inetpub/opencart/logs/openbay.log): failed to open stream: No such file or directory in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\log.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\log.php on line 39Warning: fopen(R:/inetpub/opencart/logs/error.log): failed to open stream: No such file or directory in R:\inetpub\wwwroot\16421\goldenleafgiftshop.nl\system\library\log.php on line 22
What am I doing wrong?

Re: Warning: fopen(../logs/openbay.log): failed to open stream: No such file or directory in ..\system\library\log.php

Posted: Thu Apr 23, 2020 7:46 pm
by straightlight
Please do NOT use constant caps. As for the error message above, it means your config.php and admin/config.php files uses invalid server paths. The storage folder does not even appear in your paths which means you're not using the original paths to store your logs from your Windows server.

Re: Warning: fopen(../logs/openbay.log): failed to open stream: No such file or directory in ..\system\library\log.php

Posted: Thu Apr 23, 2020 9:56 pm
by Anyhow Infosystems
Please verify once the admin/config.php and config.php file paths are correct and also, check once the file permission for these above files which are not accessible. May this could give some idea about the errors.

Re: Warning: fopen(../logs/openbay.log): failed to open stream: No such file or directory in ..\system\library\log.php

Posted: Thu Apr 23, 2020 9:58 pm
by straightlight
Please verify once the admin/config.php and config.php file paths are correct
Redundancy.