Just ran zc_install to upgrade a zc154 site to zc156c, running PHP 7.1.32/PHP-FRM. No zcInstall logs were generated. /logs directory was pre-existing with 0755 permissions.
Any ideas?
Just ran zc_install to upgrade a zc154 site to zc156c, running PHP 7.1.32/PHP-FRM. No zcInstall logs were generated. /logs directory was pre-existing with 0755 permissions.
Any ideas?
I've seen cases where the ZC error-reporting stuff is being ignored, and all error reporting is going to the server's core logs (or at least the PHP default log location). Both admin/catalog and zc_install.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Does zc_install use the same 'enable_error_logging.php' as the admin/storefront?
It uses similar code, but it's independent:
https://github.com/zencart/zencart/b...op.php#L80-L96
Perhaps there's something amuck with how it's setting DEBUG_LOG_FOLDER?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Does zc_install use error_log to write those logs, or does it use trigger_error? If it's the latter, then that's the explanation.
The most recent (?) update to the 'normal' enable_error_logging.php enabled those triggered errors (on PHP-FPM installations) to actually get written to the /logs directory.
Bookmarks