♥paulhastings Posted April 15, 2005 Share Posted April 15, 2005 Installation went OK with no errors except delete install directory. When i point IE6 to admin/index.php the admin pafe displays correctly and works correctly. When I point IE6 to catalog/index.php I get no errors (505 not found) but the browser shows 'done' and the page is completely blank. I have looked until I am blue in the face. I would guess I have a path problem, but I can't find it. The installation is all on a ssl server, images and all: https://ssl1.nmia.com/~mesa/Toolcrib/catalog/ I would appreciate any comments and/or help. Thanks, Paul Hastings /catalog/includes // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://ssl1.nmia.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl1.nmia.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'ssl1.nmia.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl1.nmia.com'); define('HTTP_COOKIE_PATH', '/~mesa/Toolcrib/catalog/'); define('HTTPS_COOKIE_PATH', '/~mesa/Toolcrib/catalog/'); define('DIR_WS_HTTP_CATALOG', '/~mesa/Toolcrib/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~mesa/Toolcrib/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', '/home/mesa/public_html/Toolcrib/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); /admin/includes // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://ssl1.nmia.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'https://ssl1.nmia.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/mesa/public_html/Toolcrib/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/~mesa/Toolcrib/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/mesa/public_html/Toolcrib/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/~mesa/Toolcrib/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/mesa/public_html/Toolcrib/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/'); Really..... I'm not a cynical person, just most of the people in the world hack me off..... Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2005 Share Posted April 15, 2005 is there a reason for the whole site to be running under ssl? and are you sure that is correct for the path? Link to comment Share on other sites More sharing options...
♥paulhastings Posted April 15, 2005 Author Share Posted April 15, 2005 is there a reason for the whole site to be running under ssl? and are you sure that is correct for the path? <{POST_SNAPBACK}> I could run it http & https but it seems simpler for me to just run it ssl. I know the graphics take a little longer, but I am working on the file sizes on those. As far as the path being correct, that seems to be my problem. I do know for a fact that oscommerce is installed at /home/mesa/public_html/Toolcrib/catalog/ The URL for the site would be https://ssl1.nmia.com/~mesa/Toolcrib/catalog/ Actually, it was installed and working once, for about a half a day. I have reacked my brain and double checked everything I was doing and can not find anything that I think would cause this. I was working in /includes/header.php customizing the catalog header. I will paste below what I was doing. I undid it one line at a time and it did not make any difference. <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'mesalogo200.jpg', 'Mesa Equipment & Supply Co') . '</a>'; ?></td> <td align="center"><?php echo '<font face="tahoma" color="#FF860D"><b>Serving The Desert Southwest & Northern Mexico</b></font><p><font face="arial" size="-1" color="#0000BB">Offices & Warehouses Located At<br>Albuquerque, NM USA El Paso, TX USA C.D Juarez, Mexico</font>'; ?></td> <td valign="center"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'spacer_white_200-20.jpg') . '</a>'; ?></td> <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> </tr> </table> Thanks Paul Really..... I'm not a cynical person, just most of the people in the world hack me off..... Link to comment Share on other sites More sharing options...
241 Posted April 15, 2005 Share Posted April 15, 2005 try this define('HTTP_COOKIE_PATH', '/Toolcrib/catalog/'); define('HTTPS_COOKIE_PATH', '/Toolcrib/catalog/'); define('DIR_WS_HTTP_CATALOG', '/Toolcrib/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/Toolcrib/catalog/'); or define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
♥paulhastings Posted April 15, 2005 Author Share Posted April 15, 2005 try this define('HTTP_COOKIE_PATH', '/Toolcrib/catalog/'); define('HTTPS_COOKIE_PATH', '/Toolcrib/catalog/'); define('DIR_WS_HTTP_CATALOG', '/Toolcrib/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/Toolcrib/catalog/'); or define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); <{POST_SNAPBACK}> Just tried that, no change. Guess at this point I just need to take out the values in both config.php file, put the install directory back and try it over again. Thanks for your reply. I will post the results here. Really..... I'm not a cynical person, just most of the people in the world hack me off..... Link to comment Share on other sites More sharing options...
♥paulhastings Posted April 15, 2005 Author Share Posted April 15, 2005 Just tried that, no change. Guess at this point I just need to take out the values in both config.php file, put the install directory back and try it over again. Thanks for your reply. I will post the results here. <{POST_SNAPBACK}> Well, the problem is in the header.php. Reinstalled and everything worked OK. Renamed header.php and xfered mine over....... el blanko. Back to the drawing board. Thanks to all who replied. Really..... I'm not a cynical person, just most of the people in the world hack me off..... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.