Typical Hosting Provider Setup (with cPanel):
Code:
root -+ (FTP root / private)
|
+- logs (often used by providers for Apache, FTP, etc logs)
|
+- public_html (WEB root / public; Zen Cart installed here)
| |
| +- logs (default location used by Zen Cart for logs)
OR
root -+ (FTP root / private)
|
+- logs (often used by providers for Apache, FTP, etc logs)
|
+- public_html (WEB root / public)
| |
| +- store (Zen Cart installed here)
| | |
| | +- logs (default location used by Zen Cart for logs)
The "logs" folder in the FTP root is often configured to not allow USERS to write, modify, or delete. This is where the hosting provider usually stores SERVER logs related to your domains.
The "logs" folder in the WEB root is not usually present on most cPanel based hosting providers. This folder is created when you upload Zen Cart. Zen Cart should be installed in the WEB root (or a subfolder under the WEB root).
The "logs" folder used by Zen Cart should physically exist and be writable during installation (in order to log any errors encountered). The Zen Cart "logs" folder location can be changed after installation to a different location if desired.
Some "lazy" hosting providers may provide something like the following:
Code:
root -+ (FTP & WEB root / public)
|
+- logs (used by provider for Apache, FTP, etc logs)
I say "lazy" because there is no COMPELLING reason in this day and age to not provide a private area outside the WEB root. If your host is doing the above, you may want to look for a new hosting provider.
If you cannot change providers, you will need to create a new folder to hold the Zen Cart debug logs (such as renaming the Zen Cart logs folder to "zc-logs"). You can then adjust the location to match after installation of Zen Cart (edit both configure.php files). To start out, you may choose to simply install Zen Cart in a folder (instead of the WEB root) and move it to the WEB root at a later date (after changing the Zen Cart log folder) to capture any error logs during installation. Otherwise you can install (with no error logging) and change the folder after installation.
Bookmarks