Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing Images


Guest

Recommended Posts

Posted

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:

Posted

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)

Posted

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

Posted

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)

Posted

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

Posted

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)

Posted

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'

?>

Posted

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.

Posted

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)

Posted

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)

Posted

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

Posted

oh, all right then I DO. Sorry.

 

However I posted my previous response before I refreshed this page and your last reply!!!

Posted

I did what you said - thanks yet again DUH!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...