Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our next available supporter will start replying to tickets in about 5.62 hours from now. Thank you for your understanding.

This topic contains 15 replies, has 3 voices.

Last updated by Vitaliy 6 years, 3 months ago.

Assigned support staff: Harshad.

Author Posts
November 4, 2013 at 11:19 am #286271

Vitaliy

Hi.
I'm using WPML plugin in different site. Everything is working perfect. Thanks for great plugin.
I bought “WP Pro Real Estate 5” theme, and there was written, that this plugin is “WPML Compatible”. When I translate/duplicate usually pages or post (for example “news”) everything is working perfect. But I found problem when I post estate “listings”. It show estate pictures only on Russian version site, but in other languages NO PICTURES.
Here is the example:
Russian version: hidden link
English version: hidden link
Latvian version: hidden link

Dou you have any idea how to resolve this issue? Many thanks.

Here is access to website:
hidden link

Edited: Please do not disclose your username and password in an open forum.

November 4, 2013 at 1:16 pm #286384

Bruno
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Dear Vitaliy,

You are using WPML Media? If not, please download within its client area and install it.

Please let me know if this solves the problem and if I can help with anything else.

Thank you.

November 4, 2013 at 1:24 pm #286393

Vitaliy

Hi.
Thank you for answers.

Yes, sure, I have WPML Media. I know how it works, but not working on current site.

November 5, 2013 at 8:31 pm #287363

Bruno
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Dear Vitaliy,

I am forwarding your ticket to 2nd tier support.

Soon they will get in touch.

Thank you.

November 6, 2013 at 8:55 am #287549

Harshad

Dear Vitaliy,

Can you please try this:
go to wordpress admin -> wpml -> support, click on the troubleshooting link at the bottom of the page.

On troubleshooting page
1) Click "Remove ghost entries from translation table" button.
2) Click "General clean up" button.
3) Click "Set language information" button.

November 6, 2013 at 9:25 am #287576

Vitaliy

Hi.
Thank you for naswer, but I couldn't do it.
When I click on the troubleshooting link I can see just white page without any information.
I try it on different web-browser, I try it on different site where I use this plugin, I also deactivated all other plugin, but always had only white page without any option. 🙁

You cansee it on attachment.

Vitaliy

November 6, 2013 at 9:54 am #287615

Harshad

Can you please enable a PHP error log file and check what's there?

From this page:
http://wpml.org/documentation/support/debugging-wpml/

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

This will create an error_log.txt file in your site's root directory. Let's see what it includes.

November 6, 2013 at 11:21 am #287719

Vitaliy

Done.
here is the link: hidden link

November 6, 2013 at 1:54 pm #287841

Harshad

Dear Vitaliy,

You can edit /plugins/sitepress-multilingual-cms/menu/troubleshooting.php file on line number 401 replace following block

$term_taxonomy_ids = array_map( function ( $term_object ) {
						return $term_object->term_taxonomy_id;
					}, $terms_objects );

with

$term_taxonomy_ids = array_map( term_object($term_object), $terms_objects );

And just above
/* DEBUG ACTION */

Write the following function

function term_object( $term_object )  {
						return $term_object->term_taxonomy_id;
					}

After you have edited the file, upload it and perform the steps suggested here
http://wpml.org/forums/topic/not-displaying-pictures-in-different-languages/#post-287549

November 6, 2013 at 2:30 pm #287875

Vitaliy

Thank you Harshad.
My issue is starting to resolve. but still need to be fixed.

I've done everyting you asked and you can see result:

Here you can see one picture displeyed, but no carousel.
hidden link

Here is no more any pictures:
hidden link

November 7, 2013 at 6:27 am #288181

Harshad

Dear Vitaliy,

I have enabled the private details box option which will ask you for ftp and wordpress admin details, Can you please fill the information which will help me to debug into your problem.

November 7, 2013 at 9:17 am #288284

Vitaliy

Ok. Sure.

November 7, 2013 at 12:33 pm #288502

Harshad

Dear Vitaliy,

Sorry the wordpress admin details supplied by you don't work, Can you please recheck the details?

November 7, 2013 at 12:38 pm #288508

Vitaliy

Sorry. It was my fall.
I've update password. Everything have to work now.

November 7, 2013 at 2:47 pm #288618

Harshad

Dear Vitaliy,

Can you please check your site now
hidden link
hidden link

There was a problem in aq_resize() function in your theme which was not working in following functions in your theme

function ct_slider_carousel_images() {
	$photos = ct_get_images('full');
	if ($photos) {
		foreach ($photos as $photo) { ?>
			<li data-thumb="<?php echo $photo;//aq_resize($photo,300); ?>">
                <img src="<?php echo $photo;//aq_resize($photo,300); ?>" title="<?php the_title(); ?>" />
			</li>
		<?php }
	}	
}

and

function ct_slider_images() {
	$photos = ct_get_images('full');
	if ($photos) {
		foreach ($photos as $photo) { ?>
			<li data-thumb="<?php echo $photo;//aq_resize($photo,960); ?>">
                <img src="<?php echo $photo;//aq_resize($photo,960); ?>" title="<?php the_title(); ?>" />
			</li>
		<?php }
	}	
}

in /themes/realestate-5/admin/theme-functions.php file, So I have commented the call to aq_resize function and gave direct call to $photo which stores the address of image location.