Missing Log Files

What if Zen Cart does not write to the /logs folder?

By default, Zen Cart writes debug logs into a folder called /logs at the root of the store.

However, in some hosting environments (notably PHP-FPM shared), error logs are not written individually to the /logs folder.

For example, some hosts configure logging to go to a single central file.

So instead of creating individual log files in /home/YOURACCOUNT/public_html/logs/

They append to a single log file, which is stored in

/home/YOURACCOUNT/logs/YOURSITE_com.php.error.log

If you are missing log files, you’ll want to work with your hoster to see how they have configured logging.

You can determine if your host has you configured to run PHP-FPM by looking at the Server/Version Info page, under the cgi-fcgi section.

(Note: If you don’t see the line that says “php-fpm active,” then it’s not active.)

FPM

If PHP-FPM is active, look under the Core section to determine where your log is stored:

FPM Log




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified January 1, 0001