Hey, Im trying to implement the Ceon URI direct links mod, but I do not want my zencart as my homepage. That being the case, I have to put it in a subfolder, or it will rename all my urls causing zencart to be my homepage.
So, zencart was in my root, but I created a subfolder under '/main/cart', and I copied everything to that folder.
I modified the includes/configure.php and admin/includes/configure.php, as specified in the FAQ as quoted here:
My admin works, but all I get when trying to go to the store is this:4.Your /includes/configure.php and /admin/includes/configure.php files are used to point Zen Cart™ to the right folders. In those files, you need to update several entries to match the new path information:
◦DIR_WS_CATALOG
◦DIR_WS_HTTPS_CATALOG
◦DIR_FS_CATALOG
◦DIR_FS_SQL_CACHE
◦DIR_WS_ADMIN (in admin)
◦DIR_WS_HTTPS_ADMIN (in admin)
◦DIR_FS_ADMIN (in admin)
"[an error occurred while processing this directive] "
[note, the path and admin is actually a little different, but Im using 'cart' and 'admin' here for security purposes.]
Here are some snippets:
includes/configure.php:
admin/configure.phpdefine('DIR_WS_CATALOG', 'main/cart/');
define('DIR_WS_HTTPS_CATALOG', 'main/cart/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/spartan1/public_html/main/cart/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
.
.
.
define('DIR_FS_SQL_CACHE', '/home/spartan1/public_html/main/cart/cache');
On the admin above, I also tried changing the following as in the standard configuration.php, but no change.define('DIR_WS_ADMIN', 'main/cart/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', 'main/cart/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/home/spartan1/public_html/main/cart/admin/');
DIR_WS_CATALOG
◦DIR_WS_HTTPS_CATALOG
◦DIR_FS_CATALOG
Any ideas of what might be causing my error?




