Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

the site is unable to reference any images at all


tansta

Recommended Posts

Posted

Hi all,

 

1. i am wondering if anyone have the same problem as i am. i set up e-commerce today and everything was running fine...until i run and test the shopping cart by registering as a new customer...as soon as i log in as a new customer i see all my images are gone there seems to be no errors though just no images are display.

 

2. somehow internet explorer does not encrypt the site, but firefox does...please if anyone could help.

 

if you want to look at the site: http://customers.ilisys.com.au/superu/shop

 

Tansta :o

Posted
Hi all,

 

1. i am wondering if anyone have the same problem as i am. i set up e-commerce today and everything was running fine...until i run and test the shopping cart by registering as a new customer...as soon as i log in as a new customer i see all my images are gone there seems to be no errors though just no images are display.

 

2. somehow internet explorer does not encrypt the site, but firefox does...please if anyone could help.

 

if you want to look at the site: http://customers.ilisys.com.au/superu/shop

 

Tansta :o

 

I see everything just the opposite.

 

Both browsers encrypt the site when I go to My Account

 

BUT I see no images.. none on either borwser.

 

If you have some images they may be inside your cache in your browser.

 

Post you configure.php file

 

One is in your admin/includes directory and the other is in you catalog/includes directory

 

REMOVE the db username and password BEFORE posting it

My Contributions

 

Henry Smith

Posted
I see everything just the opposite.

 

Both browsers encrypt the site when I go to My Account

 

BUT I see no images.. none on either borwser.

 

If you have some images they may be inside your cache in your browser.

 

Post you configure.php file

 

One is in your admin/includes directory and the other is in you catalog/includes directory

 

REMOVE the db username and password BEFORE posting it

 

Here it is:

 

configure.php

 

<?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://customers.ilisys.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure1.ilisys.com.au'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'customers.ilisys.com.au');

define('HTTPS_COOKIE_DOMAIN', 'customers.ilisys.com.au');

define('HTTP_COOKIE_PATH', '/superu/shop/');

define('HTTPS_COOKIE_PATH', '/superu/shop/');

define('DIR_WS_HTTP_CATALOG', '/superu/shop/');

define('DIR_WS_HTTPS_CATALOG', '/superu/shop/');

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/customers/superu/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'mysql4.ilisys.com.au'); // 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'

?>

 

configure.php in admin folder

<?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://customers.ilisys.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://customers.ilisys.com.au');

define('HTTPS_CATALOG_SERVER', 'https://customers.ilisys.com.au');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/customers/superu/shop/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/superu/shop/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/customers/superu/shop/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/superu/shop/'); // absolute path required

define('DIR_FS_CATALOG', '/home/customers/superu/shop/'); // absolute path required

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', 'mysql4.ilisys.com.au'); // 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 persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

Thank you for you help custodian :thumbsup:

Posted

some extra info, when i try to access the images directly through the url it is forbidden:

Forbidden

You don't have permission to access /superu/shop/images/dvd/theres_something_about_mary.gif on this server.

 

:huh:

Posted

okay i think i've found the solution, i've set all the images and its sub folders to access right 777 and it work now but i dont know if that's a good idea or not in terms of security...

Posted
okay i think i've found the solution, i've set all the images and its sub folders to access right 777 and it work now but i dont know if that's a good idea or not in terms of security...

 

 

images do not need to be any higher than 644

 

Set the folder at 755, that should also be good

My Contributions

 

Henry Smith

Archived

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

×
×
  • Create New...