Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Conflict with QTranslate-X
- This topic has 15 replies, 2 voices, and was last updated 10 years, 7 months ago by
Ernest Marcinko.
-
AuthorPosts
-
October 18, 2015 at 3:49 am #6339
sendohzk
ParticipantAfter installing and activating the plugin, no results was found for any search at all. I’m using the the qtranslate-x plugin. I’ve looked through the support forum and it seems that a slight modification is required for qtranslate-x work with your plugin. Please advise. Thanks.
– Zhi Kai
-
This topic was modified 10 years, 7 months ago by
sendohzk.
October 19, 2015 at 10:16 am #6344Ernest Marcinko
KeymasterHi!
No changes are required whatsoever. I just tested the plugin with the latest version of Qtranslate X and it’s working on my test servers without issues.
Make sure you have the compatibility functions enabled on the Qtranslate X integration tab: http://i.imgur.com/AQLcSIP.png
A few more questions:
- Does the results start appearing if the Qtranslate X is disabled? If not, then it’s most likely a plugin configuration issue.
- Are there any error messages displayed on the back-end or the front end?
- What type of content are you searching? (posts, pages, products, categories or tags, maybe attachments, etc..?)
Can you also provide temporary admin and FTP details so I can check on the problem and debug the code directly?
To safely add the details you can edit your initial post in this thread, or upload a .txt file attachment. Both methods are safe and visible to only me and you.
October 20, 2015 at 10:33 am #6368sendohzk
ParticipantI’m not able to provide temporary admin or FTP. Will you be able to provide some instructions for me to debug?
I’ve already deactivated all plugin, changed the theme to twentyfifteen but search is still not working. It does show “No Results” and if I enable redirecting to a result page, results are shown. But no result is show if I want it to return the result via AJAX. I’ve also turned an the compatibility functions as mentioned by you.
I’m searching a custom post type created by my theme. I’ve attached my theme files below. Thanks.
October 20, 2015 at 10:38 am #6370Ernest Marcinko
KeymasterIn that case can you please go to the Import/Export menu and export all your search instances? I will import them and check the search options.
Please copy the exported contents to a .txt file, do not paste it here directly (lot’s of content).
October 21, 2015 at 5:19 am #6388sendohzk
ParticipantAttached. Thank you.
October 21, 2015 at 10:23 am #6391Ernest Marcinko
KeymasterEverything looks fine to me on the configuration. I’m getting results.
One thing though: on the General Options -> Behavior panel the Show exact matches only? option is enabled. Can you please try turning it off and trying it again? Exact matches will only match multiple keywords if they are in the exact order in the text.
October 21, 2015 at 4:01 pm #6395sendohzk
ParticipantI’ve submitted the admin access. Please do take a look. Thanks a lot.
October 21, 2015 at 4:10 pm #6396Ernest Marcinko
KeymasterThanks, but can you also link me to a page where the search is active? I cannot see it anywhere.
And please can you enable the debug mode in the wp-config.php file, to see if there are any error messages supressed.
October 21, 2015 at 4:52 pm #6399sendohzk
ParticipantYou can try this page: http://staging.bwm.org.sg/en/guang-lun/%E7%AC%AC%E4%B8%80%E7%99%BE%E5%8D%B7-b%E9%9D%A2/ .
All the posts (post type = sermon) are in Chinese. You can just try to search for the title which is in Chinese.
I will try to turn on debug mode as there is currently some issues with the FTP.
October 21, 2015 at 5:30 pm #6400Ernest Marcinko
KeymasterThanks! I see an error 500 at the ajax response with no error message. It can be anything. Let me know if you can turn on error reporting or provide temporary FTP, and I will check again 🙂
October 22, 2015 at 8:07 am #6412sendohzk
ParticipantI’ve switched on Debug mode. Thanks.
October 22, 2015 at 9:07 am #6413Ernest Marcinko
KeymasterI’m getting a 404 default server error pages on the URLs provided. I’m guessing you are moving/changing things: http://i.imgur.com/xOXQFZK.png
Let me know when it’s finished and I will try again.
October 23, 2015 at 8:52 am #6428sendohzk
ParticipantDo try again. Thanks.
October 23, 2015 at 9:02 am #6429Ernest Marcinko
KeymasterHi!
Thank you for enabling the debug, I can already see the problem. I’m getting this error:
[code]Call to undefined function mb_strtolower() in ….[/code]
This means, that multibyte string functions are disabled on your server. I can suggest 2 possible solution to this issue:
1. Enabling multibyte string (mbstring) module – It’s widely used, many plugins are using these functions, and are very helpful. Especially in your case – whereas your language does indeed use multibyte strings. Here are some guides how you can enable mbstring in your php.ini file:
If you don’t know how to make these changes, please contact your server administrator.
2. Turning off the Display the description context? option on the Layout Options -> Results layout panel: http://i.imgur.com/HMNgVG1.png
This way you bypass the code conducting the error.
Let me know if any of this helped.
October 23, 2015 at 9:32 am #6430sendohzk
ParticipantThanks for the help. I will be switching my web host soon, thus will only be making the changes with the new web host. By the way, your support is really awesome. I’ve just given the plugin a 5 stars rating in Themeforest.
-
This topic was modified 10 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.