This is a discussion on Got a blank page on homepage but admin login works within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi everyone Thank you for help in advance. I just got Oscommerce installed. But it got a blank page on ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi everyone Thank you for help in advance. I just got Oscommerce installed. But it got a blank page on the homepage, but it allows me to login admin panel. Any1 could help me out with it plz? Operation System: Windows server 2003 Php:5.1 the code on both configure files are shown below 1. /include <?php /* osCommerce, Open Source E-Commerce Solutions osCommerce, Open Source Online Shop E-Commerce Solutions Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.chinasup.com'); // eg, cPanelŽ - should not be empty for productive servers define('HTTPS_SERVER', 'http://www.chinasup.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'chinasup.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', 'e:\freehost\chinasupfzx\web\'); 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', 'e:\freehost\chinasupfzx\web\\'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'aaa'); define('DB_SERVER_PASSWORD', 'bbb'); define('DB_DATABASE', 'ccc'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> 2./admin/include <?php /* osCommerce, Open Source E-Commerce Solutions osCommerce, Open Source Online Shop E-Commerce Solutions Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.chinasup.com'); // eg, cPanelŽ - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.chinasup.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'e:\freehost\chinasupfzx\web\\'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', 'e:\freehost\chinasupfzx\web\\admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', 'e:\freehost\chinasupfzx\web\\'); // 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', 'aaa'); define('DB_SERVER_PASSWORD', 'bbb'); define('DB_DATABASE', 'ccc'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> THank you very much for your help! Last edited by ambitnfun; 06-14-2007 at 09:46 PM. |
|
#2
| ||||
| ||||
| On ISS or Apache? Bet it is ISS.... One thing I see is: e:\freehost\chinasupfzx\web\\admin/ - Works? e:\freehost\chinasupfzx\web\\ -Does not? I would guess the double \\ it may have problems with. OR try changing all window directory "\" to the universal "/" Where did you install it to? e:\freehost\chinasupfzx\web\catalog\ - or to root (moved everything from catalog directory up to root)? As far as I can see - nether the Catalog or Admin works. Try re-installing |
|
#3
| |||
| |||
| Quote:
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help! Admin page is blank (but store is showing up...) | vonvonnie | osCMax v2 Installation issues | 2 | 08-04-2006 08:44 AM |
| Blank admin page & other wierd problems | BradWaite | osCMax v2 Installation issues | 3 | 03-20-2006 09:08 PM |
| Blank admin page | posword | osCommerce 2.2 Installation Help | 4 | 07-06-2004 05:01 PM |
| where do i set the admin login page? | Anonymous | osCMax v1.7 Discussion | 1 | 07-02-2004 12:12 AM |
| Customer Login box on the Homepage | Serial | osCommerce 2.2 Modification Help | 1 | 03-02-2003 09:44 AM |