Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Certain Icons Not Showing???


Guest

Recommended Posts

Hi, Got a small problem with certain icons not showing on the site. I'v looked at the documentation but have not found a way to fix. problem.JPG

 

Any Ideas how to resolve this?

 

Many Thanks

 

Ken

Link to comment
Share on other sites

Ken,

 

Without seeing your page, alls I can suggest is that those icon images are located at:

 

../catalog/includes/languages/english/images/buttons

 

Look for:

button_update_cart.gif

button_continue_shopping.gif

button_checkout.gif

 

If all those graphics are there (and work), then it's off to the configure.php files. Make sure your paths are correct, and in particular your "Images" statements.

 

Good luck.

 

Pete

Link to comment
Share on other sites

Ken,

 

There's two of them (configure.php's).

 

One's located at:

http://www.the-mpg.com/catalog/configure.php

 

and one's located at:

http://www.the-mpg.com/catalog/admin/includes/configure.php

 

Open them with a good text editor (not just windows Notepad) and read the notes remarked inside. They look similar but one manages your catalog and one manages your administration interface. Make sure all the definitions are filled in properly, and beware of the differences between FileSystem Directories and Web Server Directories.

 

Fill those in as best you can, save and re-upload them, and then check the functionality of your site. If this doesn't work, then paste the contents of the files here in your reply and I'll have a look-see at it.

 

Pete

Link to comment
Share on other sites

Thanks for the reply :)

I can not see this file http://www.the-mpg.com/catalog/configure.php in Cuteftp.

I can see it in the catalog/includes directory tho. The one in http://www.the-mpg.com/catalog/admin/includes/configure.php is there.

 

 

/catalog/admin/includes/configure.php Replaced password with ***** and server username.

 

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

define('HTTP_CATALOG_SERVER', 'http://www.the-mpg.com');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/fhlinux190/t/the-mpg.com/user/htdocs/catalog/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home/fhlinux190/t/the-mpg.com/user/htdocs/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/fhlinux190/t/the-mpg.com/user/htdocs/catalog/'); // 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.streamline.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', 'thempg1');

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

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

?>

 

 

/catalog/includes/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://www.the-mpg.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', 'www.the-mpg.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/fhlinux190/t/the-mpg.com/user/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', 'Mysql4.streamline.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'thempg1');

define('DB_SERVER_PASSWORD', '*****');

define('DB_DATABASE', 'thempg1');

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

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

?>

 

 

Thanks again really is appreciated

 

Ken

Link to comment
Share on other sites

  • 4 weeks later...

I have the same problem as well

 

I hear is something to do with the .htaccess file within includes folder ?

 

And that it only happens on some servers

 

Im guessing to make this work on these servers that wont show them the button folder and images within it would need to be put in the catalog/images folder and all the links changed to point to that folder, pretty big job im guessing ?

Link to comment
Share on other sites

I have the same problem as well

 

I hear is something to do with the .htaccess file within includes folder ?

 

And that it only happens on some servers

 

Im guessing to make this work on these servers that wont show them the button folder and images within it would need to be put in the catalog/images folder and all the links changed to point to that folder, pretty big job im guessing ?

 

 

Just found how to solve this :) Delete the .htaccess files in the /catalog and catalog/includes folder and then they show :)

 

Ty :)

Link to comment
Share on other sites

Just found how to solve this :) Delete the .htaccess files in the /catalog and catalog/includes folder and then they show :)

 

Ty :)

 

Isnt that dangerous ? Its there for a reason....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...