WordPress.org

Ready to get started?Download WordPress

Forums

Ajax Search Lite
[resolved] Getting a white page in search results (4 posts)

  1. Leandro
    Member
    Posted 1 year ago #

    Hi,

    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: http://img22.imageshack.us/img22/6253/lyte.png

    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: http://imageshack.us/a/img189/6599/b5x4.png

    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: http://leandroprz.com.ar/buscador/

    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.

    Thanks!

    http://wordpress.org/plugins/ajax-search-lite/

  2. Leandro
    Member
    Posted 1 year ago #

    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; }

    To:

    #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...

  3. wpdreams
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    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!

  4. Leandro
    Member
    Posted 1 year ago #

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

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic