Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No images / css loaded


Aqua121

Recommended Posts

Posted

I know it must be simple, but I can't seem to find the page to fix this. :blush:

I just installed the cart, and none of the images, nor the styles are loaded in the cart (the admin is fine).

The path for the images are:

http:///images/nameoftheimage.jpg

 

....obviously the path is wrong. :rolleyes:

Can anyone please guide me to the page to fix this tiny problem?

 

THANX!

Cheers,

Susan

 

* * * * *

Find a way, or make one!

Posted
I know it must be simple, but I can't seem to find the page to fix this.  :blush:

I just installed the cart, and none of the images, nor the styles are loaded in the cart (the admin is fine).

The path for the images are:

http:///images/nameoftheimage.jpg

 

....obviously the path is wrong.  :rolleyes:

Can anyone please guide me to the page to fix this tiny problem?

 

THANX!

more like http://domainname.com/catalog/images/image.jpg (assuming you installed it into a directory called catalog).

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Posted
:D  OK, I guess I didn't phrase it right...

 

I know what it's supposed to be, but it does not load right. Where do I fix that?

 

well, then phrase it right, what is it ?

Treasurer MFC

Posted

I'm glad someone's in a funny mood :)

 

me stuck in the snow all day, and my pix don't load in the catalog... :'(

I think there is something wrong with my config. Could someone check this out please?

 

here's .../catalog/includes.configure.php

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://domain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'domain.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/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', '/home/domain/catalog/');
 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', 'user');
 define('DB_SERVER_PASSWORD', 'pw');
 define('DB_DATABASE', 'db');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

Cheers,

Susan

 

* * * * *

Find a way, or make one!

Posted
I'm glad someone's in a funny mood  :)

 

me stuck in the snow all day, and my pix don't load in the catalog...  :'(

I think there is something wrong with my config. Could someone check this out please?

 

here's    .../catalog/includes.configure.php

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://domain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'domain.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/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', '/home/domain/catalog/');
 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', 'user');
 define('DB_SERVER_PASSWORD', 'pw');
 define('DB_DATABASE', 'db');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

this look correct.

 

if you look at your site and right-click on a broken image, select properties, what does it say ?

Treasurer MFC

Posted

just for grins, ask your host to restart apache. perhaps they did some maintenance, or something dealing with ssl.

and to help us, post the configure.php without the database info. dont remove the domain name, anything like that, as something could be wrong in that part.

Posted

hey Mibble,

 

restarting apache made a difference! :thumbsup:

it works now! :D

Cheers,

Susan

 

* * * * *

Find a way, or make one!

Archived

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

×
×
  • Create New...