Using Xampp on OSX 10.6.8 and have sorted out the setup of both OSCMax 2.0.25 and the database - and the 'store' side looks fine and seems to work properly with no error messages, however when I go into 'admin' and then drill down to the products the categories page gives me the following error message twice "Error: Catalog images directory does not exist: /mystore/catalog/images/"
Have set images directory with proper permissions - read/write for everyone.
Below is my admin/includes/local/configure.php
<?php
define('HTTP_SERVER', 'http://localhost/~username/www');
define('HTTP_CATALOG_SERVER', 'http://localhost/~username/www');
define('HTTPS_CATALOG_SERVER', 'http://localhost/~username/www');
define('ENABLE_SSL_CATALOG', 'false');
define('DIR_FS_DOCUMENT_ROOT', '/mystore/catalog/');
define('DIR_WS_ADMIN', '/mystore/catalog/admin/');
define('DIR_FS_ADMIN', '/mystore/catalog/admin/');
define('DIR_WS_CATALOG', '/mystore/catalog/');
define('DIR_FS_CATALOG', '/mystore/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
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', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'xyz');
define('DB_SERVER_PASSWORD', 'abc');
define('DB_DATABASE', 'store_dbase');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>
If I change the line: define('DIR_FS_CATALOG', '/mystore/catalog/'); to define('DIR_FS_CATALOG', '../'); (suggested somewhere), then I get the error message "Error: Catalog images directory is not writeable: ../images/"
Can't find backups either: "Error: Backup directory does not exist. Please set this in configure.php". Directory is where it is supposed to be...
This only appears in the localhost environment, the online version works happily - of course it is not using the localhost version of configure.php in the (renamed) admin directory.
Pretty sure I am overlooking something really obvious here, but there is not a lot of info out there on setting up the localhost environment for OSC under OSX.
As an aside, in Firefox (13.0.1) I have no problems with logging onto the 'admin' on localhost, however Safari (5.1.7) - while the login window appears - login refuses to accept the login name and password, blanks out the name and password field as if I just launced the program. I've reset the password a couple of times under Firefox, and have cleared the cache and tried running Safari in Private mode to avoid cache issues, no success.
I have also allowed 'localhost' and '127.0.0.1' in Preferences, Network, Advanced, Proxies, Bypass proxy settings for these Hosts & Domains (no change in either case).
Weird.
Thanks!



LinkBack URL
About LinkBacks







Reply With Quote
Bookmarks