Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images missing


TXprogrammer

Recommended Posts

Posted

On my shopping_cart.php page the images are not showing up.

 

Any suggestions

Everybody be quiet, the voices in my head are trying to tell me something!

Posted

In your configure.php files, do you have both the http_server and https_server listed as https? This problem usually occurs when both are set to https. The http_server should be set to http://yourdomain.com

 

Hope this helps - Vger

Posted

I am going to give this one more try.

 

The suggestion about the configure.php files was not the issue.

 

If anyone can help on this it would be great!

Everybody be quiet, the voices in my head are trying to tell me something!

Posted

Okay - when you added the products to your catalog, did you upload the image when you added the item? You have an image missing on your homepage, and the reason it's missing (apparently) is that the whole of the pathway is there, except for the name and filetype of the image. It's the same in your shopping cart e.g.

http://www.cyclonedieselpower.com/catalog/images/

while the same item on your homepage has the following

http://www.cyclonedieselpower.com/catalog/...es/xmonitor.jpg

 

I still think it's a config file issue. Post it here and I'll take a look.

 

Vger

Posted

have you made sure that the image is chmod 777

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

ok i figured it out, you just have to remove this line if you want the images to be removed from the cart:

 

 

 

'    ' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . ''
Posted

I am missing one image that I do not have yet, But none of the images are showing up on the shopping_cart.php

 

I tried the chmod 777 on the images folder but that did not help.

 

Here is a copy of my configure.php

<?php
/*
 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.cyclonedieselpower.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.cyclonedieselpower.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.cyclonedieselpower.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.cyclonedieselpower.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 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', '/home/content/c/p/d/cpdmfg/html/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', 'mysql7.secureserver.net'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '***');
 define('DB_SERVER_PASSWORD', '***');
 define('DB_DATABASE', '***');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Everybody be quiet, the voices in my head are trying to tell me something!

Posted
Did this get resolved??? I'm having the same problem...

no

Everybody be quiet, the voices in my head are trying to tell me something!

Archived

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

×
×
  • Create New...