quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 i messed up, and now i cant get my page to show up at all. i need configure.php help. tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 post the files without private info Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 okay I fixed it and now im back to not anything showing up. (images, etc) tshirtgod Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 should this be in my file // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); define('DB_SERVER_PASSWORD', 'MY PASSWORD IS HERE'); define('DB_DATABASE', 'jaldrich_xmb1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 should this be in my file // define our database connection ?define('DB_SERVER', 'localhost'); ?define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); ?define('DB_SERVER_PASSWORD', 'MY PASSWORD IS HERE'); ?define('DB_DATABASE', 'jaldrich_xmb1'); ?define('USE_PCONNECT', 'false'); ?define('STORE_SESSIONS', ''); Yep, except the last line should be define('STORE_SESSIONS', 'mysql'); You've pretty much got it. Just stop and think through it. The reason the images don't show up on the ssl proxy link is that the paths are incorrect. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 okay now the images are fixed, but go and press checkout and look at the string it looks for. how do i fix that? tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 Yep https://secure40.nocdirect.com/~jaldrich/ts...d206d70a8f9c8ab You've got the complete url in the path. The path should be ~jaldrich/tshirtgod/catalog Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 which paths, i did them all and it is doing that image crap again? tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 This is turning into an epic thread. Good thing I'm bored. :lol: Just post the catalog/includes/configure.php file in its entirety, w/o your pw. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 sorry, but you have no idea how much you are helping me, and teaching. here it is <?php /* ?$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?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', ''); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod/catalog/'); // eg, https://localhost - should not be ? empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', '/'); ?define('HTTPS_COOKIE_DOMAIN', '/'); ?define('HTTP_COOKIE_PATH', '/'); ?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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); ?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', 'jaldrich_tshirt'); ?define('DB_SERVER_PASSWORD', 'password'); ?define('DB_DATABASE', 'jaldrich_xmb1'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', 'mySQL'); // leave empty '' for default handler or set to 'mysql' ?> and here is my admin/config <?php /* ?$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 osCommerce ?Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) ?define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers ?define('HTTP_CATALOG_SERVER', ''); ?define('HTTPS_CATALOG_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod/catalog/'); ?define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module ?define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) ?define('DIR_WS_ADMIN', '/admin/'); ?define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); ?define('DIR_WS_CATALOG', '/catalog/'); ?define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); ?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'); ?define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); ?define('DB_SERVER_PASSWORD', 'password'); ?define('DB_DATABASE', 'jaldrich_xmb1'); ?define('USE_PCONNECT', 'false'); ?define('STORE_SESSIONS', 'mySQL'); ?> tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 That's the wrong configuration.php file. That's the one for the admin section You need to be working on catalog/includes/configure.php Leave admin for later. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 <?php /* ?$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?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', ''); // eg, http://localhost - should not be empty for productive servers ?define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', 'secure40.nocdirect.com/~jaldrich/tshirtgod'); define('HTTP_COOKIE_PATH', '/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); ?define('DB_SERVER_PASSWORD', 'PASSWORD'); ?define('DB_DATABASE', 'jaldrich_xmb1'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', 'mySQL'); // leave empty '' for default handler or set to 'mysql' ?> tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 I need to see your settings. A filled file. I've got a blank one right here. I don't need another one. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 sorry i think this is it <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 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', ''); // eg, http://localhost - should not be empty for productive servers define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '/'); define('HTTPS_COOKIE_DOMAIN', '/'); define('HTTP_COOKIE_PATH', '/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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', 'jaldrich_tshirt'); define('DB_SERVER_PASSWORD', 'PASSWORD'); define('DB_DATABASE', 'jaldrich_xmb1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mySQL'); // leave empty '' for default handler or set to 'mysql' ?> tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 <?php /* ?$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?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.tshirtgod.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'www.tshirtgod.com'); ?define('HTTPS_COOKIE_DOMAIN', 'secure40.nocdirect.com/~jaldrich/tshirtgod'); ?define('HTTP_COOKIE_PATH', '/'); ?define('HTTPS_COOKIE_PATH', '/'); ?define('DIR_WS_HTTP_CATALOG', '/catalog/'); ?define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection ?define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers ?define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); ?define('DB_SERVER_PASSWORD', 'PASSWORD'); ?define('DB_DATABASE', 'jaldrich_xmb1'); ?define('USE_PCONNECT', 'false'); // use persistent connections? ?define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 wow it worked! thank you sooo much. can we do the admin now? tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 post it Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod/'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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'); define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); define('DB_SERVER_PASSWORD', 'PASSWORD'); define('DB_DATABASE', 'jaldrich_xmb1'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mySQL'); ?> tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 If this doesn't work you'll need to track down the absolute paths. <?php /* ?$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 osCommerce ?Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) ?define('HTTP_SERVER', 'http://www.tshirtgod.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers ?define('HTTP_CATALOG_SERVER', 'http://www.tshirtgod.com'); ?define('HTTPS_CATALOG_SERVER', 'https://secure40.nocdirect.com/~jaldrich/tshirtgod'); ?define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module ?define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) ?define('DIR_WS_ADMIN', '/admin/'); ?define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); ?define('DIR_WS_CATALOG', '/catalog/'); ?define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); ?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'); ?define('DB_SERVER_USERNAME', 'jaldrich_tshirt'); ?define('DB_SERVER_PASSWORD', 'PASSWORD'); ?define('DB_DATABASE', 'jaldrich_xmb1'); ?define('USE_PCONNECT', 'false'); ?define('STORE_SESSIONS', 'mysql'); ?> Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 i had to change one thing, but now it works. two questions... 1. If I wanted my main page to be the store, i would have to eliminate all instances of '/catalog'? and replace it with '/', right? 2. If i ever need any more help, can I contact you? tshirtgod Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 also, why don't my https:// work? and my admin page says, not SSL tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 i had to change one thing, but now it works. two questions... 1. If I wanted my main page to be the store, i would have to eliminate all instances of '/catalog'? and replace it with '/', right? 2. If i ever need any more help, can I contact you? You need to move everything up one level and then change those paths like you thought. Yoy can contact me but I'm not promising an answer. :P Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
quikscream Posted March 28, 2004 Author Share Posted March 28, 2004 up one level? tshirtgod Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 also, why don't my https:// work? and my admin page says, not SSL You have to force it like: https://secure40.nocdirect.com/~jaldrich/ts...d/catalog/admin Or you can change the instances of http://www.tshirtgod.com to https://secure40.nocdirect.com/~jaldrich/ts...d/catalog/admin I don't bother because I'm not real worried about people snatching my data in transit while I'm adding products or whatever. Remember, ssl is only an encrypted data transfer, it does not make your site itself super secure. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
AlanR Posted March 28, 2004 Share Posted March 28, 2004 up one level? Yeah, everything in /catalog goes into the www folder, and /catalog becomes empty. Or set up a re-direct. I like to have an intro page anyway. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.