Guest Posted April 18, 2004 Posted April 18, 2004 I am trying to create a new shop and it was all going so well - had a cup of tea and decided to give the site the once over before going to bed and Oh Damn, when going to the login ar account creation pages all the images have disappeared. If anyone can help me I would appreciate it - I really don't want to start again. Click Here Many thanks in advance. Rob :angry:
AlanR Posted April 18, 2004 Posted April 18, 2004 Looks OK to me till I go to create account, then the images are missing. Most likely a path problem on the https paths. If you can't figure it out post the config file minus username & 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)
Guest Posted April 18, 2004 Posted April 18, 2004 Yes it seems to go pearshaped when jumping into the secure bit. the SSL is mine but is shared as you will see but this sharing works with other sites without problem. Sorry to sound so thick but which config file do you want and how do I post it? Rob
AlanR Posted April 18, 2004 Posted April 18, 2004 go pearshaped :huh: catalog/includes/configure.php 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)
Guest Posted April 18, 2004 Posted April 18, 2004 You gotta have the English weird sense of humour 'pearshaped' = 'tits-up' or simply goes all wrong!!! How do I miss out the username and password bit - really sorry but this is new territory. Rob
AlanR Posted April 18, 2004 Posted April 18, 2004 Paste the whole thing into the window, then xxxx out the private stuff. If you want to be elegant precede it with {CODE} and end it with {/CODE} duh. That was pretty dumb. Replace the { and } with [ and ] 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)
Guest Posted April 18, 2004 Posted April 18, 2004 ok here goes: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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://newcountrycrafts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.trueidentity.co.uk/~newcount'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'newcountrycrafts.com'); define('HTTPS_COOKIE_DOMAIN', 'www.trueidentity.co.uk/~newcount'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); 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/newcount/public_html/store/'); 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 NULL for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxx'); define('DB_DATABASE', 'newcount_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Guest Posted April 18, 2004 Posted April 18, 2004 I intend to use only PayPal for payments so I guess the SSL bit is not neccessary but if I were the customer I would like to fill in account details in SSL. Anyway this has always worked before so I would like to find out what went wrong.
AlanR Posted April 18, 2004 Posted April 18, 2004 Let me look at it for a couple minutes. 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)
AlanR Posted April 18, 2004 Posted April 18, 2004 Try this: define('HTTP_COOKIE_DOMAIN', 'newcountrycrafts.com'); define('HTTPS_COOKIE_DOMAIN', 'www.trueidentity.co.uk'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/~newcount/store/'); Nothing ventured, nothing gained. You don't have one of those servers with a special directory for ssl links do you? 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)
AlanR Posted April 18, 2004 Posted April 18, 2004 You do have one of those servers https://www.trueidentity.co.uk/~newcount/ See the "private" folder? You need to drop some kind of index.html into https://www.trueidentity.co.uk/~newcount so I can't do that. 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)
Guest Posted April 18, 2004 Posted April 18, 2004 In answer to your last question - NO However I tried te above fix and got a 'page not found' so changed it back and it works fine - I dunno what happened - time for bed I think. Thanks very much for your help and time Alan. Rob
Guest Posted April 18, 2004 Posted April 18, 2004 oh, all right then I DO. Sorry. However I posted my previous response before I refreshed this page and your last reply!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.