Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Issue with WPML with other languages.
- This topic has 12 replies, 2 voices, and was last updated 8 years, 6 months ago by
Ernest Marcinko.
-
AuthorPosts
-
October 23, 2017 at 9:38 am #15246
Springbok
ParticipantGood morning.
I am having issue with WPML compatibility, it works fine with base language. When language change it does not find anything and give the message no result.
Can you look into it how can i resolve this issue?
Regards,
SpringbokOctober 23, 2017 at 9:42 am #15248Springbok
ParticipantYou cannot access this content.
October 23, 2017 at 4:06 pm #15255Ernest Marcinko
KeymasterHi!
Thank you very much for the details, there is indeed an issue there. I’m not exactly sure why, but I suspect that the WPML table name might be incorrectly parsed by the search plugin, I’m not sure though. I’m guessing this, because on Multisites there might be a difference between the table prefix and the base table prefix variables.
Can you please add temporary FTP details as well? I would like to debug through the search code to see how the queries are executed, and why they fail. I should be able to fix it as well, if I can pinpoint the problem.
October 23, 2017 at 4:23 pm #15256Springbok
ParticipantHi Ernest,
Could you please provide us with an IP address so that we can open access from our server?
Thanks
October 23, 2017 at 9:33 pm #15258Ernest Marcinko
KeymasterYou cannot access this content.
October 30, 2017 at 4:02 pm #15347Springbok
ParticipantHi,
Can you please let us know if the IP is still the same?
We are awaiting from our host in the meantime.
Would it be possible to use a File Manager Upload Plugin instead of FTP?
Thanks
October 31, 2017 at 7:50 am #15353Ernest Marcinko
KeymasterHi!
Yes, that could be a solution as well. In that case however please make sure you have a back-up of everything, just in case. Let me know!
November 9, 2017 at 9:44 am #15442Springbok
ParticipantHi Ernest Marcinko,
Sorry for late reply, you can proceed with File Manager plugin, i have made backup. WordPress admin credentials are same, what i sent you last time.
Looking forward to hear from you.
Thanks
November 9, 2017 at 11:40 am #15447Ernest Marcinko
KeymasterHi!
Thank you very much, I have changed the presumably incorrect code, if I was correct it should be working now. Please let me know.
November 9, 2017 at 1:02 pm #15449Springbok
ParticipantHi Ernest Marcinko,
Thanks for your fast help, yes indeed, it started work. But the problem is we are running a multisite, we have same issue on http://www.frisomat.be/aktuelles, there we have 4 languages, and ajax search pro working only for dutch and english, can you please explain me what was the issue in the code, then i can be able to fix it on other sites.
Thanks
November 9, 2017 at 2:08 pm #15450Ernest Marcinko
KeymasterHi,
I have checked your options, and the issue there was not actually the code in this case, but the fact that only the frisomat.nl blog was selected as source on the Multisite options panel: https://i.imgur.com/w8KWVeP.png
I have reset that to default, so the plugin will always use the currently active site only for results.With this adjustment, and the fix in the code it should work now. The file I have changed previously was:wp-content\plugins\ajax-search-pro\includes\classes\search\class-asp-search-cpt.php
This fix however will be included in the next release.
November 9, 2017 at 2:38 pm #15451Springbok
ParticipantIt has been resolved.
Thanks a lot 🙂
November 9, 2017 at 2:49 pm #15452Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.