Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Briken images outside local network


Just Checking

Recommended Posts

I have been trying to install the oscommerce webstore:

 

I have Windows XP, apache 1.3.33, I'm behind a dell router.

 

When I browse the server inside the local network everything works fine, when I try from out side, the images look broken. you can see it at  http://66.159.180.87

 

Any suggestions

When I went to http://www.karenzehring.com Your site is parked on godaddy so difficult to check but try this first and also check you have set up your 2 configure.php files correctly

 

Michelle

===========================================

php Empty Spaces Rule

 

Tip: Make sure that there are no empty spaces before the first <?php at the top of the page and after the last ?> at the bottom. php don?t like empty spaces at the beginning or end of a page. Blank spaces can cause Error Warnings.

 

===========================================

This is osC knowledge Base index

 

http://www.oscommerce.info/

===========================================

Link to comment
Share on other sites

Thanks for your response

 

I have transfered the domain name to no-ip.com

 

here is the configure.php

 

where do you mean to check the leading or trailing blanks, which file(s)

 

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'http://www.karenzehring.com');

define('HTTPS_COOKIE_DOMAIN', 'https://www.karenzehring.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', 'c:/program files/apache group/apache/htdocs/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', 'root');

define('DB_SERVER_PASSWORD', 'admin');

define('DB_DATABASE', 'mysql');

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

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

?>

Link to comment
Share on other sites

Unless you have a full ssl cert then leave this blank:

define('HTTPS_SERVER', '');

and leave this blank also:

define('HTTPS_COOKIE_DOMAIN', '');

ditto:

define('DIR_WS_HTTPS_CATALOG', '');

and this should be:

define('HTTP_COOKIE_DOMAIN', 'www.karenzehring.com');

 

Vger

Link to comment
Share on other sites

When I went to http://www.karenzehring.com Your site is parked on godaddy so difficult to check but try this first and also check you have set up your 2 configure.php files correctly

 

Michelle

===========================================

php Empty Spaces Rule

 

Tip: Make sure that there are no empty spaces before the first <?php at the top of the page and after the last ?> at the bottom. php don?t like empty spaces at the beginning or end of a page. Blank spaces can cause Error Warnings.

 

===========================================

This is osC knowledge Base index

 

http://www.oscommerce.info/

===========================================

Link to comment
Share on other sites

vger thanks for your comments

this is the new config, it still does not work when accessing from the outside network, did I do something wrong

 

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

define('HTTPS_SERVER', 'https://www.karenzehring.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.karenzehring.com');

define('HTTPS_COOKIE_DOMAIN', 'www.karenzehring.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

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', 'c:/program files/apache group/apache/htdocs/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', 'root');

define('DB_SERVER_PASSWORD', 'admin');

define('DB_DATABASE', 'mysql');

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

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

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...