AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: abcart_ecm on June 14, 2014, 07:49:06 AM

Title: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 14, 2014, 07:49:06 AM
Hello,
Product pictures show up good in German part of shop front but not in English and Spanish.
If I click on a product picture in English or Spanish part of shop front,
only the thumb picture stays with text Loading...
Seems that it is loading the big product picture forever but never shows up
and the thumb picture just stays there.
What can be the problem ?
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abantecart on June 15, 2014, 08:56:28 AM
Can you share the link to this problem?
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abolabo on June 15, 2014, 12:29:58 PM
probably you have no titles of pictures for other languages. Try to copy all of them on language edit page in menu->system->localisation->languages
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 06:25:55 AM
Hi,
Here are some example links:

http://server.pcdoit.com/index.php?rt=product/product&product_id=200&language=de

Product picture shows up ok in German

Now go to top left of page and select English

or go directly to this link for same product but in English

http://server.pcdoit.com/index.php?rt=product/product&product_id=200&language=en

As you can see only the product thumb shows up with message "Loading ..." that stays for ever.

Same happens in Spanish

http://server.pcdoit.com/index.php?rt=product/product&product_id=200&language=es

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

Another example:
When I go to Catalog => Products => Select any product => go to the right and Edit
=> Second Tab from the Left: Media => Edit => Resource Library
When I select German a black process bar is moving for a second and then
the product picture shows up, everything ok.

When I select English same black process bar is moving for a second but ends with blanc screen, no picture shows up and no edit.

Same with Spanish, same black process bar moving for a second but ends with blanc screen and no picture.

When I enter a title things get even worse because then even the thumbnail does not show up anymore.

Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abolabo on June 16, 2014, 06:35:19 AM
yes. i. c.
Again:
Try to copy all of them on language edit page in menu->system->localisation->languages

you can copy all descriptions of RL, products etc from main language to another there.


Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 06:37:39 AM
Can you give me an example of how to do this ?
Ok I get only following messages:
Total: 0 language entries cloned for any table

Total: 0 language entries cloned for table banner_descriptions
Total: 0 language entries cloned for table block_descriptions
Total: 0 language entries cloned for table category_descriptions
Total: 0 language entries cloned for table content_descriptions
Total: 0 language entries cloned for table country_descriptions
Total: 0 language entries cloned for table coupon_descriptions
Total: 0 language entries cloned for table download_descriptions
Total: 0 language entries cloned for table field_descriptions
Total: 0 language entries cloned for table field_values
Total: 0 language entries cloned for table fields_group_descriptions
Total: 0 language entries cloned for table form_descriptions
Total: 0 language entries cloned for table global_attributes_descriptions
Total: 0 language entries cloned for table global_attributes_groups_descriptions
Total: 0 language entries cloned for table global_attributes_type_descriptions
Total: 0 language entries cloned for table global_attributes_value_descriptions
Total: 0 language entries cloned for table language_definitions
Total: 0 language entries cloned for table length_class_descriptions
Total: 0 language entries cloned for table order_data_types
Total: 0 language entries cloned for table order_statuses
Total: 0 language entries cloned for table page_descriptions
Total: 0 language entries cloned for table product_descriptions
Total: 0 language entries cloned for table product_filter_descriptions
Total: 0 language entries cloned for table product_filter_ranges_descriptions
Total: 0 language entries cloned for table product_option_descriptions
Total: 0 language entries cloned for table product_option_value_descriptions
Total: 0 language entries cloned for table product_tags
Total: 0 language entries cloned for table resource_descriptions
Total: 0 language entries cloned for table stock_statuses
Total: 0 language entries cloned for table store_descriptions
Total: 0 language entries cloned for table tax_class_descriptions
Total: 0 language entries cloned for table tax_rate_descriptions
Total: 0 language entries cloned for table url_aliases
Total: 0 language entries cloned for table weight_class_descriptions
Total: 0 language entries cloned for table zone_descriptions
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 06:51:27 AM
Do I have to upload a product picture only 1 time, or 3 times for every language,
If I re-upload a product picture for english and spanish everything seems to be ok.
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abolabo on June 16, 2014, 06:58:32 AM
Can you give me an example of how to do this ?

open language edit page and you'll see form:

Load missing language data
   Source Language:     - choose language
   Text translation method:  - copy
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 07:12:13 AM
Thanks will try that. Can you tell me why this is doing something good ?
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abolabo on June 16, 2014, 07:21:46 AM
Thanks will try that. Can you tell me why this is doing something good ?

cause is you added new language after image upload. so you have no language descriptions for new language of image.
i remember that we already fixed this issue in 1.1.9  (by the way, what version of abantecart do you use?)

try and let me know.
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 07:45:09 AM
Thanks for replying so fast, appreciate it. I am using abantecart version 1.1.8
Don't tell me that this problem no longer exists in version 1.1.9 ????

Seems that my suffering has ended. I did twice what you proposed:

1.
System => Localization => Languages => German
Load  missing language data : source language = english

2.
System => Localization => Languages => English
Load  missing language data : source language = german

Now all of a sudden all product pictures show up, thumbs plus big product picture
not only in german but now also in english and spanish

I really hope this is going to stay like this.

This error comes back everytime
Error! Default language with code "de" is not available or disabled.
Loading German language to keep system operating. Check your settings
for default language. in /home/www/server.pcdoit.com/core/engine/language.php on line 300

But it seems this error message does not really harm anything.





Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 07:48:34 AM
One last question about this problem.
What is the best way to upload new products and product pictures ?
Upload in German admin or in English admin ?

Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abolabo on June 16, 2014, 08:02:47 AM
One last question about this problem.
What is the best way to upload new products and product pictures ?
Upload in German admin or in English admin ?

the best way is filling all variants of title for image after upload. After file uploaded you can change it's descriptions.
If you decide to add new language - copy descriptions for it from you general language.
Also you can to install translation extension such as google translate and translate missing description "on the fly". (is adds itself to selectbox with copy method)
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: Basara on June 16, 2014, 08:04:10 AM
cause is you added new language after image upload.

For new product's image use any admin language  (German or English). Both should work
Title: Re: Product pictures only showing up in German - not in English and Spanish
Post by: abcart_ecm on June 16, 2014, 01:52:14 PM
Ok guys - I tested a couple of hours and everything now stays good.
All product pictures now stay showing up correct not only in german
but also in english and spanish. Thanks a lot for your help.