Carrying this discussion over from the One-Page Checkout support thread.
Printable View
conclusion:
the definition in the local configure is WRONG.
the local gets loaded before the straight includes. look at the following two defines:
if the 1st line is in the local configure, at that point DIR_FS_CATALOG is NOT defined. so your log file directory is not defined.PHP Code:
define('DIR_FS_LOGS', DIR_FS_CATALOG . '/zc_logs');
define('DIR_FS_LOGS', '/var/www/test_site/zc_logs');
in the 2nd line, by explicitly defining the directory, the logs get correctly written.
best.
@jpda was kind enough to send me copies of his /includes/configure.php and /includes/local/configure.php. Turns out that the issue was that the /includes/configure.php (since he's doing his upgrade locally) hadn't been updated from the Zen Cart 1.5.4 format, so it included all the sub-definitions that (as of Zen Cart 1.5.5) have been moved to the /includes/defined_paths.php script ... like DIR_FS_LOGS.
Commenting-out those definitions to put the /includes/configure.php "in line" with ZC1.5.5+ usage corrected the issue.
Indeed, my local configure did have the 1.5.5 format, the /includes/configure.php did not as @lat9 kindly figured out.
jpda