Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 45 replies, has 2 voices.

Last updated by Kor 1 year, 2 months ago.

Assisted by: Kor.

Author Posts
May 28, 2024 at 5:05 pm #15679953

yannay

any attempt to update any page without even making any changes results in non responsive server and this error on the backend of the page: "Updating failed. The response is not a valid JSON response."

May 28, 2024 at 5:24 pm #15680051

yannay

The server has no issues when WPML & WCML are deactivated....
Same server is running the live site well.

The server error log indicated:
Auto Index is disabled for....

The server administrator suggested to enable autoindex in htaccess
I currently have this code in htaccess added:

<Files .htaccess>
Order deny,allow
Deny from all
</Files>
#
Options +Indexes
DirectoryIndex index.php
IndexIgnore *

and implemented your suggestion in https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/
in functions.php

still any attempt to update any page without even editing it results in non responsive server

May 28, 2024 at 6:11 pm #15680282

yannay

intermittently the server starts responding. I'm not sure what is causing this. by deactivating WPML the server returns to normal.
Is there an option to define pages' language and match default language pages with their translated pages, Other than by editing and updating the pages?

May 28, 2024 at 6:21 pm #15680291

yannay

"Connect with translations" does not bring up any pages. It takes a while "loading..." and presents and empty window in the "Choose a page to assign".
Why is that?

Screen Shot 2024-05-28 at 12.19.09.png
May 28, 2024 at 8:10 pm #15680825

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to me.

From what I observed in the console logs, it appears that there are numerous Error 500 internal server errors occurring on this page hidden link , as depicted in the attached screenshot. These ongoing server issues seem to be hindering the proper functioning of the site. Have you reached out to your hosting provider for assistance with this matter?

Screenshot_137.png
May 28, 2024 at 11:25 pm #15681244

yannay

Yes I have. The answer they provided is that one of the plugins either WPML or WCML is modifying the htaccess file likely due to their improper coding.
The error generated is - disallowed auto index
I see this error is not unique to my site but users on wpml forum mentioned it as error 500 generator and it does ‘break’ sites.
Does WPML have a solution?
The same server runs the site well when these plugins are deactivated. Same server runs the live site. This error only affects the stage site when these plugins are enabled

May 29, 2024 at 10:48 am #15682975

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

May 31, 2024 at 7:03 pm #15693846

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for responding.

I've received the site copy, and I'll conduct a comprehensive review. I'll follow up with you afterward.

June 3, 2024 at 7:58 pm #15699236

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for responding.

After importing your Website to my local dev site, I've confirmed it works smoothly without any problems. It appears that the issue may be specific to your end for unknown reasons. Let me proceed to escalate this to our 2nd tier Support for additional assistance.

June 4, 2024 at 5:03 pm #15703561

yannay

I may have solved the issue by downgrading to PHP 8 from 8.3. Also reduced max response time from 3000 to 30 default. This solved the server timeouts and ALB not loading.

I have one page I translated with the WPML Translation Editor. However Both language versions of it show a + in the alternate language column and a + in each of the pages Edit>Translate this Document, as if the translation does not exist.
How do I link these two pages? No 'connect with translation' option displayed.

If I am to manually create translations, do I still need the String Translation plugin active?

June 4, 2024 at 5:26 pm #15703801

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for responding.

I'm pleased that you resolved it. Could you specify the page you're working on? I'll investigate why the connect translation option isn't appearing.

Regarding "manually creating translations," please ensure that the string translation plugin remains activated.

June 5, 2024 at 2:39 pm #15707604

yannay

hidden link
hidden link

should be linked as translations

Thank you

June 5, 2024 at 3:10 pm #15707818

yannay

Also, when translating via the WPML translation editor, how do I skip a text for translation? In case there is an english paragraph I do not want to include in the translation, Is there a way to skip it and not get "translation not complete"?
Thank you

June 5, 2024 at 6:23 pm #15708520

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

It's connected now and could you please check?

June 10, 2024 at 4:16 pm #15723165

yannay

Yes the translation is linked now. Thank you. What was the issue?

The topic ‘[Closed] Running WPML & woocommerce on stage.ranigilat.com’ is closed to new replies.