Skip Navigation

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 0 replies, has 0 voices.

Last updated by reneK-25 3 days, 11 hours ago.

Assisted by: Bruno Kos.

Author Posts
December 16, 2024 at 11:38 am

reneK-25

Background of the issue:
I was trying to update WPML and WPML String Translation. After the update, I encountered errors on the site. It seems the system is trying to reach a non-existent path: /www/doc/www.l10n.phpuntica.sk instead of /www/doc/www.mountica.sk. Please see the attached error. When I turn off the WPML String Translation, the error disappears. Link to a page where the issue can be seen: hidden link

Symptoms:
I am receiving multiple 'open_basedir restriction in effect' warnings indicating that files are not within the allowed paths. Additionally, there are warnings about 'Cannot modify header information - headers already sent'.

Questions:
Do you have any idea how to fix it?

December 16, 2024 at 12:21 pm
December 16, 2024 at 1:50 pm #16517634

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Can you please try the following:

1. **Revert to an Earlier Version of String Translation**
If possible, revert to the version of String Translation you were using prior to the update to check if the errors disappear. This will help identify if the issue is caused by the update. You can get it here https://wpml.org/download/wpml-string-translation/?section=changelog

2. **Check PHP `open_basedir` Setting**
- Add a `phpinfo()` file to the root of your site. To do this:
- Create a file named `phpinfo.php` with the following content:

 <?php
       phpinfo();
       ?>

- Upload the file to the root directory of your site.
- Visit the file in your browser (`yoursite.com/phpinfo.php`) and check the current setting for `open_basedir`. Note down or share the result for further analysis.

Let us know the outcome of these steps for further investigation.

December 17, 2024 at 3:15 pm #16522470

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

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

Can you check this?
https://wpml.org/errata/php-warning-file_exists-open_basedir-restriction-in-effect-warning-possible-with-current-string-translation/

December 26, 2024 at 7:03 am #16546303

reneK-25

Hello,

Sorry for the late reply. I tried the last topic you sent with replacing the line and it works.

Thanks for your help.