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.

This topic contains 5 replies, has 2 voices.

Last updated by tuomasL 1 year, 5 months ago.

Assisted by: Alejandro.

Author Posts
August 22, 2023 at 11:46 am #14270709

tuomasL

Tell us what you are trying to do? Trying to use string translation "Translate texts in admin screens »" but after loading some time it goes to 404 page.

Below is the error from error.log:

[Tue Aug 22 14:26:57.972829 2023] [fastcgi:error] [pid 58263:tid 140103527601920] (104)Connection reset by peer: [client 2001:14ba:a487:1400:585c:bb94:4d87:37ba:63816] FastCGI: comm with server "../webxxx/cgi-bin/php-fcgi-*-443-liikehairio.fi" aborted: read failed, referer: hidden link
[Tue Aug 22 14:26:57.975820 2023] [fastcgi:error] [pid 58263:tid 140103527601920] [client 2001:14ba:a487:1400:585c:bb94:4d87:37ba:63816] FastCGI: incomplete headers (0 bytes) received from server "../webxxx/cgi-bin/php-fcgi-*-443-liikehairio.fi", referer: hidden link

Issue was in wp 6.2.2 tried upgrading to 6.3 and do "Option 1: Go to “WPML > String Translation”, find and delete the strings belonging to “default” textdomain. (recommended)" so it didn't work on either wp version.

August 23, 2023 at 8:20 am #14275653

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hello!

May i know what did you want to achieve, specifically? activating "Translate texts in admin screens" should open a new page so it should be a bit different from what you did.

However, the error that you sent suggests that the database wasn't readable or maybe that there is a permissions issue, a restriction or something in either the server files or the database.

Would it be possible to ask your hosting to check the database privileges and check if the user assigned to that database has all the privileges?

at the same time, can you ask or check yourself if the permissions on the site are 755 for directories and 644 for files? if they are different, can you let me know what permissions they have? your hosting might be able to help you with this as well.

Let me know so i can understand what to do next.

August 23, 2023 at 1:19 pm #14278613

tuomasL

Hey Alejandro,

Trying to translate breadcrumb NavXt home breadcrumb. String translation can't find the correct one without the "Translate texts in admin screens" which I have used in couple other sites.

In the webxxx/content is 755 on folders and 644 in files. There is bedrock and the wordpress core files are 750 on folders and 644 in files. This should not be issue because the "Translate texts in admin screen" works on different website.
Same owner in every file and folder.

August 23, 2023 at 3:18 pm #14279145

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Ok, good to know you use bedrock, so at least i know we're working with a different structure.

If you enable the log, do you get any error when the site can't find the page? and also, you mention the error is a 404 one, can you compare the site that works and the one that doesn't and check if they have different URLs by any chance?

i'm asking this mainly because i have seen cases where bedrock makes some redirections and it could be that for some reason something failed in one site, but i don't really know where are they created or how, it's part of their internal rerouting to make things work with the different structure.

August 24, 2023 at 7:38 am #14282247

tuomasL

Here are the urls:
hidden link
hidden link

Owner/user privileges are also same in both websites.

Wp debug shows the following errors on attachment.

wp_debug.jpg
August 24, 2023 at 8:08 am #14282455

tuomasL

After some testing WeePie Cookie Allow seemed to be the problem here. Disabling the plugin string translation started working.