Hello, I posted this question to the osCommerce forums but, so far, no response. Perhaps someone here can help?
I uploaded osCommerce to the site I'm working on, created a database, and 'successfully' installed osCommerce. However, when I visit www.mysitename.com/catalog/, my index.php page in the catalog folder is completely blank. When I right click to see the source code it reads: <html><body></body></html> only.
I checked to make sure everything uploaded correctly, have recreated my database and reinstalled three times but always with the same result. My searches have come up with people encountering the same problem but none of their solutions have worked for me.
I also tried uploading Zen Cart with the same result. Their FAQ's make mention of this problem and have a few suggestions such as adding your port number in the configure.php file (which is 21, I think...) but I tried and have had no luck.
I don't know if this has anything to do with anything but the host (Yahoo!) won't allow the .htaccess file to be uploaded. Instead, I altered the permissions for the catalog/admin in the webhost's file manager. Other than any .htaccess files and the zip file, I think I have all the files uploaded.
Here is the configure.php code (this was the code that was generated during the install without any changes other than code specific to the site I'm working on generalized and link to osCommerce removed):
osCommerce, Open Source 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://my-site.com'); // eg, [localhost...] - should not be empty for productive servers
define('HTTPS_SERVER', 'https://my-site.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
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_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'mysql'); // eg, localhost - should not be empty for productive servers
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
Any clue what I have done wrong along the way and how to fix it? Thanks so much! :o)