Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language related images are not visible


Andrew J

Recommended Posts

Im just going live with my redesigned and recoded webshop.

I uploaded everything from local including the new database.

Redefined both configure.php in admin and catalog area.

But the images which are language related (english, hungarian) not visible.

I checked the catalog/includes/language/... english/images and hungarian/images folder and the images are present.

 

Im stuck here. :'( Any idea?

Link to comment
Share on other sites

Perhaps a dumb question, but did you include the catalog/includes/languages/images/buttons subdirectory when you uploaded?

 

Try right-clicking on one of the images and see what its path properties are. That might also give you a clue...

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

I checked every images and subimages folder and everything is present at the location as it should be. :( Right clicking was the first thing I did before I post my problem here.

Link to comment
Share on other sites

So when you right-click is it showing the proper path? What is the URL it's showing you? Does it match up with whatever is in the code of the file in question?

 

Did your images get uploaded with the right case (i.e. all small letters)?

 

Is your image path correct in /catalog/includes/configure.php? How about your languages path?

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Here are the configure.php files:

 

admin/includes/configure.php

 

<?php
/*
 $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER', 'http://www.eware.hu'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.eware.hu');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/usr/local/www/data/www.eware.hu/catalog/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', '/usr/local/www/data/www.eware.hu/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/usr/local/www/data/www.eware.hu/catalog/');
 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_WS_FLAGS', DIR_WS_IMAGES . 'flags/');
 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', 'localhost');
 define('DB_SERVER_USERNAME', '*****');
 define('DB_SERVER_PASSWORD', '*****');
 define('DB_DATABASE', 'eware');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

catalog/includes/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.eware.hu'); // 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.eware.hu');
 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', '/usr/local/www/data/www.eware.hu/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', '*****');
 define('DB_SERVER_PASSWORD', '*****');
 define('DB_DATABASE', 'eware');
 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

So when you right-click is it showing the proper path? What is the URL it's showing you? Does it match up with whatever is in the code of the file in question?

 

Did your images get uploaded with the right case (i.e. all small letters)?

 

Is your image path correct in /catalog/includes/configure.php? How about your languages path?

 

Terry

 

On my local server everything went fine and still it is.

Paths are the same, catalod and admin tree are identical, so I dont dont have a clu what caused this.

 

This is the only problem that hold me back to go live with my shop!

Link to comment
Share on other sites

Did your language image files get uploaded in ASCII in error, by any chance, instead of in binary format? That's the only other reason I can think of why they might not display.

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

One more thing:

 

Are you absolutely CERTAIN that the contents of the /catalog/includes/languages/english/images/buttons/ directory has been uploaded? From what I can see, your image paths appear to be correct. Without being able to actually look at your file directories, it seems to me that this is the obvious reason they aren't appearing...

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

I appreciate very much that you help me. I uploaded all the datas in one shot. How can I be sure about uploading in binary format? I can use Total commander and FlashFXP.

 

I chmod to 777 both images folder under cat/inc/lang/...

Link to comment
Share on other sites

hi andrew,

 

i had the exact same problem earlier today and i was getting so frustrated because i knew i had done everything correctly.

 

i was told to clear my cache and voila, worked perfectly! i could see all of the images that i was wanting to.

 

may not be it but worth a try?

 

lea

Link to comment
Share on other sites

Andrew, can you PM me temporary FTP access to your site to look at your image directories? (If you don't want to, that's fine, but it might help for another set of eyes to look at it.)

 

Don't post the info to the forum though...

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

hi andrew,

 

i had the exact same problem earlier today and i was getting so frustrated because i knew i had done everything correctly.

 

i was told to clear my cache and voila, worked perfectly!  i could see all of the images that i was wanting to.

 

may not be it but worth a try?

 

lea

 

Clear cache? how?

Link to comment
Share on other sites

Andrew, that's definitely not the problem as I couldn't see your images when I just looked, and I didn't have your site in my cache.

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Clear cache? how?

 

if you are using internet explorer, click on tools, then internet options.... in the pop up box click delete files under the temporary internet files section. if you are using mozilla firefox, click on tools, then options.... in the pop up menu select privacy, maximise the cache option and select clear

Link to comment
Share on other sites

:(

 

No change!

Its driving me crazy!

 

Maybe an unnecessary or missing slash or something like that cause my problem.

I should born as a programmer.

 

:'( :'( :'(

Link to comment
Share on other sites

As far as I can tell, your config files look right.

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Andrew,

 

Your images look fine to me, as do the other files I looked at (configuration, application_top, index).

 

The only OTHER thing I can think of is that maybe your languages aren't defined properly in the Admin -> Localization -> Languages screen. If you highlight 'English' in the main column, what does it show as your language path in the column on the right-hand side?

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Andrew,

 

I've taken a look in your admin section, where the language buttons are also broken. When I viewed properties on the language images, MSIE couldn't determine what type of image it is, so my guess is that the images -- even though I could view them -- may not have been transferred in the correct format. Try reloading all of the button images to your server and see if that makes a difference.

 

I'll be online for a while longer, so I'll check back to see if that helps, okay?

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...