Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
After updating WPML String Translation to version 3.2.16, changes made on the original page, such as updating a picture, do not reflect on translated pages. Additionally, a 'basedir restriction in effect' error occurs, preventing file access within allowed paths.
Solution:
If you're experiencing similar issues after updating WPML String Translation, we recommend checking the temporary workaround available at https://wpml.org/errata/php-warning-file_exists-open_basedir-restriction-in-effect-warning-possible-with-current-string-translation/.

This solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.

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.

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by janT-26 5 days, 6 hours ago.

Assisted by: Marcel.

Author Posts
December 8, 2024 at 5:53 pm #16490276

janT-26

Background of the issue:
I updated WPML String translation to version 3.2.16 on my site hidden link. After the update, I encountered issues and had to switch the plugin off. Now, when I make changes to the original page, such as changing a picture, the changes do not reflect on other pages, and I might need to translate everything again.

Symptoms:
basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/sitepress-multilingual-cms/locale/sitepress-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173. Header information - headers already sent by (output started at /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php:173) in /www/doc/www.jachymoff.cz/www/wp-admin/includes/misc.php on line 1438.

Questions:
How do I recognize the original page which all the other translations are derived from?

December 9, 2024 at 6:29 pm #16494677

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

The String Translation plugin is mandatory, so WPML works with Elementor. In your case, we need to first solve the issue with WPML's String Translation plugin. Please visit the link below, click on "Download WPML manually", download the latest version of String Translation and upload it to your website.

Let us know if with the plugin active, the changes behave as expected, after updating the original page and the translations.

If that does not help, one of my colleagues will soon come to continue support.

December 17, 2024 at 7:25 am #16519913

janT-26

HI Lucas,
you wrote visit the link below. But you did not provide any link.
I have updated the WPML plugin via WordPress to version 3.2.17 and the issue is still the same.

When I activate the WPML String Translation plugin I get following:
basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/sitepress-multilingual-cms/locale/sitepress-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/sitepress-multilingual-cms/sitepress-multilingual-cms-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/wp-seo-multilingual/wp-seo-multilingual-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/phastpress/phastpress-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/wp-meteor/languages/wp-meteor-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/wp-sweep/wp-sweep-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/wpml-media-translation/wpml-media-translation-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/wpml-string-translation/wpml-string-translation-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/sitepress-multilingual-cms/locale/wpml-translation-management-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/wpml-media-translation/locale/wpml-media-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php:173) in /www/doc/www.jachymoff.cz/www/wp-admin/includes/misc.php on line 1438

Warning: Cannot modify header information - headers already sent by (output started at /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php:173) in /www/doc/www.jachymoff.cz/www/wp-includes/functions.php on line 7137

Warning: file_exists(): open_basedir restriction in effect. File(/www/doc/www.jachyl10n.phpff.cz/www/wp-content/plugins/tag-manager-header-body-footer/languages/tag-manager-header-body-footer-cs_CZ.l10n.php) is not within the allowed path(s): (/www/doc/www.jachymoff.cz:/disk2/doc/www.jachymoff.cz:/usr/share/php:/www/tmp:/tmp) in /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /www/doc/www.jachymoff.cz/www/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php:173) in /www/doc/www.jachymoff.cz/www/wp-admin/admin-header.php on line 9

December 17, 2024 at 7:36 am #16519925

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

Thank you for your report. I received a similar case regarding this issue yesterday evening, and it’s already being addressed. For more details, please refer to the following link:
Function fallbackDefaultTranslations breaks website if domain contains string .mo.

I’ll keep you updated here as soon as we have a solution.

Best regards,
Marcel

December 17, 2024 at 12:30 pm #16521636

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

you can find a temporary workaround here: https://wpml.org/errata/php-warning-file_exists-open_basedir-restriction-in-effect-warning-possible-with-current-string-translation/.

Best Regards,
Marcel

December 17, 2024 at 2:06 pm #16522075

janT-26

The workaround somehow works. However, because it was messed I cannot "Complete Translation". I dont know if it is due to this issue.

Thus, when I change in Elementor original page (ie a picture) I cannot see it in translated pages as I cannot complete the translation even I did not touch any text.