Blank results are being returned
Howdy. I may have caused this, because I can't find a record of this occuring in any other post.
Anyway, I'm getting search results that are blank. Example: http://search.aodojo.com/search.php?...t&lim_start=10 You will see a few times on the search results "- 0.0 k" How I may of caused this: The search engine is going to be independently linked, and also linked through a 404 error, reading the attempted url and parsing it through the engine to find a good match. If it finds a "Direct Hit" verbatim, it will redirect there, if it doesn't find it verbatim, it will suggest the page, then display the rest of the search results. An example of this can be found by going to http://search.aodojo.com/ and searching "ships" That is a non-verbatim return. If you search "ship" it will redirect you instantly to the ships page. Why I don't think I caused this: I didn't touch anything mySql, and I didn't mess that much around in the files... I had 5 sites on index, and deleted 4 and left the big one, the root aodojo.com. Deleting these sites did nothing in removign the odd results. |
Hi. Are there any files in the text_content directory that have zero filesize? If you can run grep -ci saga * from shell, how many files in the text_content directory have at least one instance of saga?
|
No, the smallest is 274 b though. I have shell access, never used it on this account though so I'll need to wait a day or so for them to enable it. I'll get back to you then.
|
Apperently 67.
|
>> You will see a few times on the search results "- 0.0 k"
>> No, the smallest is 274 b though. Hi. Try running the following query: Code:
select count(*) from spider where filesize = 0; |
SQL result
Host: localhost Database : mononex_phpdig Generation Time: Jan 09, 2004 at 11:47 PM Generated by: phpMyAdmin 2.5.2 SQL-query: SELECT count( * ) FROM spider WHERE filesize = 0; count( * ) 0 |
Hi. It seems that the results that are getting unset somehow might wind up back in the search results. What text output do you get if you do the following in search.php and then search on saga?
PHP Code:
|
Nothing out of the ordinary. Perhaps I inserted it wrong into search.php?
PHP Code:
|
Hi. That looks fine. It didn't return any blank results? What template are you using?
|
Hi. I tried dojo.php as my template. Of course, I can't get the actual PHP but the HTML output from dojo.php seems to work okay. Can you set your search up so dojo.php is just the HTML from http://search.aodojo.com/templates/dojo.php and then search on saga? Does it still return blank results?
|
I changed it to dojo.html. I hadn't added any php to the layout yet, but it is changed to .html now.
Blank results are still being returned. Matt |
Should I just try reinstalling phpdig?
|
Hi. Where any blank results returned when you used print_r($my_test_array); in the search.php file?
Also, what happens if you use the below template? Code:
<html> |
The print_r thing did not remove the blank results.
The updated template did not remove the blank results, although it did as some interesting things at the bottom of the page. Your template is still in use if you wish to look. |
Hi. Thanks, feel free to put your template back in place. Did you make any mods to the search_function.php file? If so, can you attach the file in a post?
|
All times are GMT -8. The time now is 01:53 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.