aspx_dev Posted December 4, 2004 Posted December 4, 2004 :( I have installed OSC, having used the Register Globals contribution. My site loads but it only shows the text, style sheets are not being applied, the images are not shown and when the internal links are clicked the pages cannot be found. If you think it is a permissions problem, what precisely does that mean and how do I fix it, bearing in mind I am a php novice? I welcome any help at all. Admin configphp: define('HTTP_SERVER', 'http://shop.russianquarter.co.uk'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://shop.russianquarter.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://shop.russianquarter.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '//nas17ent/domains/r/russianquarter.co.uk/user/htdocs/shop/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '//nas17ent/domains/r/russianquarter.co.uk/user/htdocs/shop/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG','//nas17ent/domains/r/russianquarter.co.uk/user/htdocs/shop/'); // absolute path required includes configphp: define('HTTP_SERVER', 'http://shop.russianquarter.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://shop.russianquarter.co.uk/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.shop.russianquarter.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'shop.russianquarter.co.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '//nas17ent/domains/r/russianquarter.co.uk/user/htdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); local configphp: define('HTTP_SERVER', 'http://shop.russianquarter.co.uk'); define('HTTPS_SERVER', 'https://shop.russianquarter.co.uk'); define('ENABLE_SSL', 0); // ssl server enable(1)/disable(0) define('DIR_FS_DOCUMENT_ROOT', '//nas17ent/domains/r/russianquarter.co.uk/user/htdocs/shop/');
Guest Posted December 4, 2004 Posted December 4, 2004 what kind of server r u on, windows or *nix? from the looks, *nix, howver you have this proglem: define('DIR_FS_DOCUMENT_ROOT', '//nas17ent/domains/r/russianquarter heeds to be define('DIR_FS_DOCUMENT_ROOT', '/nas17ent/domains/r/russianquarter a single shash, i eliminated the rest, so everywhere you have two slashes put one and try that
aspx_dev Posted December 4, 2004 Author Posted December 4, 2004 Its a windows Server, I will try your suggestion, but this is the physical path. I did a response.write of the server.mapPath on an asp page I put in the same directory, and that is what it returned. And it allowed me to install OK.
aspx_dev Posted December 4, 2004 Author Posted December 4, 2004 OK.. solved the problem, thanks for your help. It was an issue concerning php useage in a sub domain.. had to change configure.php to be www.riussianquarter.co.uk/shop from shop.russianquarter Anyway, it looks jolly nice now
Recommended Posts
Archived
This topic is now archived and is closed to further replies.