Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterI did a few tests, and most of them was under 2 seconds, here you can see it: http://i.imgur.com/lHrtCjR.png
Additionaly here is a gif video of another test, take a look: http://i.imgur.com/fLQ6chc.gif
Every request was under 2 seconds.Are you sure it wasn’t a server outage? What kind of server are you using? Is it apache, nginx? How many websites are running on that server? Is the server load low if you check it via SSH?
The 2 seconds respond time is more than excellent for any wordpress ajax application.
Ernest Marcinko
KeymasterI don’t understand what you mean, but I suppose you should use the plugin now.
Place the search shortcode somewhere, or use the search widget.
But because the plugin has like 300 options and hundreds of features I suggest to go through the documentation, for better understanding: http://wp-dreams.com/demo/wp-ajax-search-pro3/docs/
For frequent issues and questions you can check the knowledgebase: https://wp-dreams.com/knowledgebase/
Feel free to experiment with the options, there is a lot of them, as you can see on the backend.
Ernest Marcinko
KeymasterThanks, no problem.
I have re-initialized the plugin, I think there was a very tiny server outage during the installation and the default configuration was incorrect. You should try the plugin now, I think it will work.
Ernest Marcinko
KeymasterAre you sure your url is correct? I’m getting an internal server error (error 500) when trying to access it: http://i.imgur.com/lpOK8oZ.png
Ernest Marcinko
KeymasterHi!
It looks like the input field is getting overwritten by the theme to 0 pixels. Try to add the following rules to the Custom CSS field, which you can find on the search plugin Theme Options -> Custom CSS panel. (http://i.imgur.com/v8EnvAv.png)
[html]
.proinput input {
height: 27px !important;
}
[/html]Ernest Marcinko
KeymasterHi!
Sorry about the delay. I have found something that might help. You will need to modify one file though.
1. Go to wp-content/plugins/ajax-search-pro/includes/search_content.class.php and open that file.
2. Replace the file contents with this: http://pastebin.com/raw.php?i=YHAsD3ZA
3. Open up the General options -> Behaviour panel and change the “Keyword Logic” option to AND. (https://i.imgur.com/Q9SGAGa.png)After saving the options the characters without accents should work as well.
I hope it will work!
Ernest Marcinko
KeymasterThanks. Well I don’t know how the theme looks like, but I’ve made a few variations where I put the shortcode to random places which I assumed might be good based on the php file. The shorcode I used uses search instance number 1. Here are 3 variations I made:
- http://pastebin.com/raw.php?i=AbZRX5NV
- http://pastebin.com/raw.php?i=6BzJYhMR
- http://pastebin.com/raw.php?i=dBR2yx6L
I honestly have no idea how these might look. If you are lucky, then one of the might be in the right place 😉
Just replace the header.php code with them, and you should see the search somewhere.
Ernest Marcinko
KeymasterHi!
I think the php file got removed because of some security check. Could you please zip it and attach it to your next response?
Ernest Marcinko
KeymasterOkays. I will remember someone had a similar request before, tomorrow when I get back to the office I will dig it up. It’s going to a be a temporary solution, but in the upcoming update this issue won’t exist anymore 😉
November 10, 2014 at 7:08 pm in reply to: White screen after activation (all other plugins work fine) #2929Ernest Marcinko
KeymasterOh, thank you for linking me there, I will get in contact with the dev!
I was just leaving the office when I got your mail, I thought we can fix it quickly together 😉
November 10, 2014 at 6:53 pm in reply to: White screen after activation (all other plugins work fine) #2927Ernest Marcinko
KeymasterMy guess was right, altough it’s not the theme, it’s an irresponsible plugin code.
Sure it’s fixable. Altough it’s not exactly the ajax search pro causing the problem. All you need to do is open up the wp-content/plugins/wp-rss-multi-importer/inc/options.php file, go to line 1294 where you should see the isEmpty() function declaration, I guess something like:
[php]
function isEmpty() {
// The function code is here
}
[/php]All you need to do is wrap that code with a function check, so it won’t try to declare the same function again:
[php]
if (!function_exists("isEmpty")) {
function isEmpty() {
// The function code is here
}
}
[/php]Then it should work without issues.
November 10, 2014 at 6:45 pm in reply to: White screen after activation (all other plugins work fine) #2925Ernest Marcinko
KeymasterHi!
The white screen indicates that the error reporting is turned off. Try to turn it on in the wp-config.php file, then you should see the problem printed there. My guess is that it’s a function re-declaration in the theme functions.php file without checking the function existence. But that’s just a guess. Let me know what the error says after enabling the error reporting.
Ernest Marcinko
KeymasterHi!
Try to turn on the “Use fulltext search when possible” option on the Fulltext Search Settings menu. It should solve this issue. (http://i.imgur.com/X6tiiWA.png)
Ernest Marcinko
KeymasterHi!
1. It’s probably because the blogs are flagged differently for the parser. There is a very quick solution, that helped someone last week. In the next version this is changed of course:
i) Open up the wp-content/plugins/ajax-search-pro/functions.php and go to line 245, where you should see this:
[php]
$blogs = $wpdb->get_results( $wpdb->prepare("SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d AND public = ‘1’ AND archived = ‘0’ AND mature = ‘0’ AND spam = ‘0’ AND deleted = ‘0’ ORDER BY registered DESC", $wpdb->siteid), ARRAY_A );
[/php]ii) Modify that line to:
[php]
$blogs = $wpdb->get_results( $wpdb->prepare("SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d ORDER BY registered DESC", $wpdb->siteid), ARRAY_A );
[/php]2. The search speed highly depends on the database size and server speed. So if you have a larger database, then the best performance tweaks for the search configuration are the following:
– Disable the search in terms – the terms table can be insanely big if you have thousands of posts: (General Options -> Sources http://i.imgur.com/VCIlQ6e.png)
– Disable the search in content and excerpt – if you have long content strings, it may take a while for the database to respond. (General Options -> Sources http://i.imgur.com/E2ESzWB.png)
– Disable the relevance ordering – this is highly related to the previous two. In some cases it helps a lot, in some cases it has no effect, but it’s worth a try: (Relevance Options -> Sort results by relevance)
– Enable fulltext search – this option is is mainly for big databases. It’s worth a try. (You can find it under the Fulltext Search settings submenu)
One or a combination of these options will definitely make a difference. Thank you for the login details, I haven’t used them yet. Let me know if these options make any difference.
Ernest Marcinko
KeymasterHi!
I just checked that link, and everything looks normal and it’s working for me. I tried several search terms, and I got results back without problems.
-
AuthorPosts