mrjody Posted May 31, 2005 Share Posted May 31, 2005 I posted this in the general forum, got a lot of views but very few replies. I figured I would try here. Here is my problem: I have installed oscommerce on my XP box, running apache 2, php5, mysql. Every thing works fine and is configured (server) correct. I am able to view the customer side of the store perfectly, all the links work. All the database files were imported. All that is fine. Im running on a local machine, so my site isnt live. BUT **********The admin page is blank************ When I surf to it (http://localhost/extreme/catalog/admin/) i get a blank page. Yes, its in a folder called extreme . I got a few suggestions in General Support, such as switching to php 4, and changing "define WS from /catalog/admin to /admin/" in configure.php. I tried the define WS thing, to no avail. Do I really need to do something as drastic as downgrading my php, or is there something Im overlooking? Ive been at this for three days and cant seem to figure it out. Ive been all over the web looking for help. Does anyone have any ideas? Link to comment Share on other sites More sharing options...
mrjody Posted May 31, 2005 Author Share Posted May 31, 2005 heres my admin/config: (left database info in, since its just a site on my machine, with no outside access. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://127.0.0.1'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://127.0.0.1'); define('HTTPS_CATALOG_SERVER', 'https://127.0.0.1'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'C:/Server/htdocs/extreme/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/extreme/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', 'C:/Server/htdocs/extreme/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/extreme/catalog/'); // absolute path required define('DIR_FS_CATALOG', 'C:/Server/htdocs/extreme/catalog/'); // 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/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'r****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'c*****'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Link to comment Share on other sites More sharing options...
Guest Posted May 31, 2005 Share Posted May 31, 2005 Rich, Even if the site is local to your machine, it's still not a good idea to post credentials. I would suggest remove the ssl stuff. Also, some of the paths are commented as "absolute path only" but you have relative paths. ed Link to comment Share on other sites More sharing options...
mrjody Posted June 1, 2005 Author Share Posted June 1, 2005 Rich, Even if the site is local to your machine, it's still not a good idea to post credentials. I would suggest remove the ssl stuff. Also, some of the paths are commented as "absolute path only" but you have relative paths. ed <{POST_SNAPBACK}> Thanks Ed. IM on it. Ill let you know how it turns out. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.