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.

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 9 months ago.

Assisted by: Mohamed Sayed.

Author Posts
October 14, 2023 at 12:08 pm #14576991

mahmoudA-39

Hi

THere is one page with Payment Options, these options have images. The Images show in default language Arabic page but do not show in English page.

Contacted both Plugin author and the host and both identified the issue is due to WPML. It seems prefix "e" is added in the images path.

Plugin Response:
"the routing functions since when relative paths are used the /en/ (for the English language) is prefixed. This means that the base path is being overridden. Your base path should be your domain name (www.example.com), without any adding (in your case /en/ is being added for the English language, so your base path is hidden link)."

See Attachments

Regards

Host Response.jpg
English not correct.png
Arabic correct.png
October 16, 2023 at 1:24 pm #14585387

Mohamed Sayed

Hi Mahmoud,
Thanks for contacting WPML support.

First of all, sorry for the late reply due to a higher workload.

I have created this clean sandbox setup on our servers here:
hidden link (one-click login)

I would need you to please set up WPML + the WPML add-ons as you have them on your site (they are already installed) and also install the payment options plugin and try to replicate the issue (WooCommerce is already installed and activated).

Please don't install anything else like plugins that are not necessary, on a clean sandbox we try to use just the WPML plugins and the plugin/theme that's part of the issue

If the issue is going to take place on this clean setup on our servers too, then I can check this with our compatibility department.

Please let me know how that goes and what you are able to find.

Kind regards,
Mohamed

October 16, 2023 at 4:07 pm #14586753

mahmoudA-39

Hi Mohamed

Is staging site Ok instead of the sandbox?

Regards

October 16, 2023 at 10:00 pm #14589087

mahmoudA-39

Hi Mohamed

I made the setup for WPML and downloaded the Plugin Vikbooking. But payments need the pro version. I can not install as it is already installed in alyalkw.com
Not using WooCommerce

Regards

October 17, 2023 at 6:53 am #14590169

Mohamed Sayed

Please provide temporary access to the staging site where the issue is replicated.

Your next answer will be private, which means only you and I have access to it.

❌ Please backup your database and website before providing us with access details ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

✙ I would also need your permission to take a local copy of your site to debug the issue locally if needed.

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

October 18, 2023 at 8:43 pm #14608903

Mohamed Sayed

I couldn't find any clues, so I escalated this issue to the 2nd tier support team and will update you once I get their reply.

Kind regards.

October 18, 2023 at 9:45 pm #14609043

mahmoudA-39

Noted

October 19, 2023 at 3:32 pm #14617327

Mohamed Sayed

It seems a compatibility issue with VikBooking plugin, please note that it's not listed on the WPML compatibility list for the plugins - https://wpml.org/plugin/ so it's not tested by our compatibility team.

Kindly contact the plugin authors and ask them to enable the payments and replicate the issue on our testing site here hidden link

Also please ask them to join our Go Global program which allows them to work with our compatibility team to make the plugin compatible with WPML, they join from this link: https://wpml.org/documentation/support/go-global-program/

October 19, 2023 at 10:45 pm #14619563

mahmoudA-39

Hi

Issue resolved by adding in .htaccess file rule:

"RewriteRule ^en/wp-content/uploads/(.*)$ /wp-content/uploads/$1 [R=301,L]"

Regards

October 22, 2023 at 12:31 pm #14630739

Mohamed Sayed

Hi,
Sorry for the late reply due to the weekend.

I'm glad to hear that you managed to fix this issue. Thanks for sharing the solution with us, this might help other clients if they have the same issue.

Kind regards,
Mohamed