Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Images on remote browser


pobman

Recommended Posts

Posted

Hello,

 

I have just finished my first full install of oscommerce. I have followed the preinstall and post install guide perfectly and checked all my permissions on the relevent folders and files however, when I view the site on a remote computer I only get the place holders and no images, this in explorer and firefox but on the the local linux server it all works fine. I have checked the permissons on the /var/www/html/catalog/images folder and images, but do not understand why this is not working.

 

Can anyone please offer some advice.

 

:'(

 

Thanks in Advance

Posted
Hello,

 

I have just finished my first full install of oscommerce. I have followed the preinstall and post install guide perfectly and checked all my permissions on the relevent folders and files however, when I view the site on a remote computer I only get the place holders and no images, this in explorer and firefox but on the the local linux server it all works fine. I have checked the permissons on the /var/www/html/catalog/images folder and images, but do not understand why this is not working.

 

Can anyone please offer some advice.

 

:'(

 

Thanks in Advance

 

Can you post your URL? It could give some good insight into this issue.

 

Also posting your /catalog/includes/configure.php variables isn't a bad idea either, just do not post the database logins at the bottom of that page. :)

Sincerely,

Bruce

 

19 contributions submitted

Posted
Can you post your URL? It could give some good insight into this issue.

 

Also posting your /catalog/includes/configure.php variables isn't a bad idea either, just do not post the database logins at the bottom of that page. :)

 

Thanks for you very fast response, I am unable to post teh url at present as the site is currently hosted on a vmware pc in test enviroment, however I can post any configs required.

 

Here is my 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://localhost'); // 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', 'localhost');

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', '/var/www/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', '192.168.2.14'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '#####');

define('DB_SERVER_PASSWORD', '#####');

define('DB_DATABASE', '#####');

define('USE_PCONNECT', 'true'); // use persistent connections?

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

 

my permissions look like this:

 

-r--r--r-- 1 root root 1907 Sep 22 01:42 configure.php

 

drwxrwxrwx 13 root root 4096 Sep 22 02:56 images

-rw-r--r-- 1 root root 70464 Sep 22 02:16 oscommerce.gif

Posted
Can you post your URL? It could give some good insight into this issue.

 

Also posting your /catalog/includes/configure.php variables isn't a bad idea either, just do not post the database logins at the bottom of that page. :)

 

Thanks for you very fast response, I am unable to post teh url at present as the site is currently hosted on a vmware pc in test enviroment, however I can post any configs required.

 

Here is my 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://localhost'); // 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', 'localhost');

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', '/var/www/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', '192.168.2.14'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '#####');

define('DB_SERVER_PASSWORD', '#####');

define('DB_DATABASE', '#####');

define('USE_PCONNECT', 'true'); // use persistent connections?

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

 

my permissions look like this:

 

-r--r--r-- 1 root root 1907 Sep 22 01:42 configure.php

 

drwxrwxrwx 13 root root 4096 Sep 22 02:56 images

-rw-r--r-- 1 root root 70464 Sep 22 02:16 oscommerce.gif

 

 

I hope this helps

Posted
Thanks for you very fast response, I am unable to post teh url at present as the site is currently hosted on a vmware pc in test enviroment, however I can post any configs required.

 

Here is my 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://localhost'); // 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', 'localhost');

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', '/var/www/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', '192.168.2.14'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '#####');

define('DB_SERVER_PASSWORD', '#####');

define('DB_DATABASE', '#####');

define('USE_PCONNECT', 'true'); // use persistent connections?

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

 

my permissions look like this:

 

-r--r--r-- 1 root root 1907 Sep 22 01:42 configure.php

 

drwxrwxrwx 13 root root 4096 Sep 22 02:56 images

-rw-r--r-- 1 root root 70464 Sep 22 02:16 oscommerce.gif

I hope this helps

 

My initial thought is that unless you are hitting it from the http://localhost/somefolder/catalog/ it would not display the images properly. Especially if you are trying to hit it internally even from an internal IP address it properly would give the same issues due to security settings on your server.

Sincerely,

Bruce

 

19 contributions submitted

Archived

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

×
×
  • Create New...