Support » Plugin: Ajax Search Lite » Getting a white page in search results

  • Resolved Leandro



    I just installed the plugin and I have a strange problem with the results it’s showing. I’m getting a white page and I can only see the images.

    Take a look at this:

    In that screenshot I’m using Touchfolio theme. I also tried with Twenty Twelve theme and I’m getting the same results, a white page:

    I noticed the results are there and are clickable, I just can’t see them (I only see the images as I said before).

    I also noticed it has to do with the amount of results I set (“Max. results” under plugin settings). If I choose a number below the number I set in “Results box viewport”, I will not see that white page and everything works fine. If I choose a number higher than what I set in “Results box viewport”, I’ll get a scroll bar in the results and that’s when the problem occurs, when there are more results than what I set in “Results box viewport”.

    If I choose a very high number for “Results box viewport”, then the plugin will make the WordPress results page “create” a scroll bar for the whole page itself. Then if I do a search, I get a white page, but since there’s a scroll bar in the WordPress page, when I move the bar, it automatically shows the results. It’s weird.

    I tried disabling ALL my plugins and tried on Firefox 22.0, IE 10.0.9200.16635 and Chrome 28.0.1500.95 m. In every browser I get the same problem.

    I’m using WordPress 3.6.0, Ajax Search 1.4 and Windows 7 x64 SP1.

    Here’s my search page:

    Do a test search with “via lactea”, you’ll get lots of results and a white page. Do another test search with “vaca” and you’ll get only a few hits and no problem at all.

    If you need access to my WordPress dashboard just let me know. Hope you can help me.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Leandro


    I fixed this, but since I don’t know anything about CSS, I’m not sure if it’s considered a good fix. It’s working fine on every browser I tried, though.

    I edited the file /plugins/ajax-search-lite/css/style.css

    And changed this line:

    #ajaxsearchliteres .scrollbar { position: relative; float: right; width: 15px; border-radius: 20px; background: #eee; }


    #ajaxsearchliteres .scrollbar { position: relative; float: right; width: 15px; border-radius: 20px; background: #eee; margin-right:-27px; }

    Hope this helps anyone having the same problem.

    It’s worth mentioning the developer pretty much ignored my messages…

    Plugin Author wpdreams



    I have possibly fixed this in version 1.5, which I just uploaded. I could not test properly, because I haven’t experienced this issue myself. I’ve tried to debug on your site, all I could determine, is that the javascript calculation of the content width is wrong. This resulted the “invisibility” of the search results text and title.

    It seemed like the scrollbar is not calculated into the overall width of the content, but it was. So the final solution is the delayed (only 50ms, not visible) declaration of the scrollbar. I’m 99% sure, that this will fix the issue.

    Let me know!

    Thread Starter Leandro


    I just tested it. It’s working fine now.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting a white page in search results’ is closed to new replies.