TheSeoGuy Posted August 18, 2006 Share Posted August 18, 2006 New Installation: Its all been going fine all day, I've worked my way thru the usual list of things - shop config, tax, shipping, etc. However, I've just noticed that the URL's have changed and whilst the Shop loads the index page, it turns to crap if you try and go into anywhere else at that point! :-) E.g.; http://www.nz-online-pharmacy.comdir_ws_ht...talogindex.php/ Somewhere its dragging "dir_ws_http_catalog" and sticking it where the "/" should be!! Odd, because it was ok earlier - maybe my finger must have slipped and added a space or deleted a ' or something - presumably in configure.php? (inserted below) The Shop/Admin still works fine!!! ----------------------------------------- define('HTTP_SERVER', 'http://www.nz-online-pharmacy.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.nz-online-pharmacy.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/nzpharm/nz-online-pharmacy.com/pharmacy/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/pharmacy/admin/'); // absolute path required define('DIR_FS_ADMIN', '/hsphere/local/home/nzpharm/nz-online-pharmacy.com/pharmacy/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/pharmacy/'); // absolute path required define('DIR_FS_CATALOG', '/hsphere/local/home/nzpharm/nz-online-pharmacy.com/pharmacy/'); // absolute path required 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/'); ----------------------------------------------------------------------- Link to comment Share on other sites More sharing options...
Guest Posted August 18, 2006 Share Posted August 18, 2006 That is defined in application_top.php Link to comment Share on other sites More sharing options...
TheSeoGuy Posted August 19, 2006 Author Share Posted August 19, 2006 Yes, I can see that reference in application_top.php, but it draws the source from configure.php - which I assume is where the problem is. I replaced application_top.php with an original in case it was corrupted in some way but there was no improvement. :-) Any more ideas??? Link to comment Share on other sites More sharing options...
TheSeoGuy Posted August 19, 2006 Author Share Posted August 19, 2006 Ok - i fixed it already!!! Problem was in configure.php as follows; WAS: define('DIR_WS_CATALOG', '/pharmacy/'); CHANGED TO: define('DIR_WS_HTTP_CATALOG', '/pharmacy/'); BUT I have no idea how the "HTTP" bit got removed!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.