osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Got a blank page on homepage but admin login works

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 06-14-2007, 09:23 PM
Lurker
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ambitnfun is on a distinguished road
Default Got a blank page on homepage but admin is showing up

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-15-2007, 07:49 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,521
Thanks: 1
Thanked 81 Times in 68 Posts
Rep Power: 10
jpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nice
Default Re: Got a blank page on homepage but admin login works

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-15-2007, 04:43 PM
Lurker
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ambitnfun is on a distinguished road
Smile Re: Got a blank page on homepage but admin login works

Quote:
Originally Posted by jpf View Post
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
Thank you! Its on ISS and I installed it to ROOT directory. I took your advice and changed those "\" to the universal "/" . You know what! I finally got it done! thank you so much for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 10:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax