|
04-20-2005, 11:49 PM | #1 |
Green Mole
Join Date: Mar 2005
Posts: 4
|
No most searched terms, biggest results, most 0 results, last search queries, etc.
Hello all,
PhpDig is working perfectly, but when in the Admin panel when clicking on statistics and then on the most searched terms or biggest results or most 0 results or last search queries or response time by hour or on lastclicks gives no results at all. Clicking on most keywords or on richest pages gives results. We are using version 1.8.7. In config.php is the following: define('PHPDIG_LOGS',true); //write logs define('LOG_CLICKS',true); //log clicks Can somebody tell me how to get this working? Kind regards, Age de Jong |
04-21-2005, 07:20 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Try doing a search and then look at the statistics. What do you see?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
04-21-2005, 12:05 PM | #3 |
Green Mole
Join Date: Mar 2005
Posts: 4
|
The same as above...
Searching works perfect except for the above statistics. Regards, Age |
04-21-2005, 02:50 PM | #4 |
Green Mole
Join Date: Apr 2005
Posts: 9
|
This happened to me when i did significant modifications as i had changed the search url i had to change the following in search_functions.php
if (PHPDIG_LOGS == true && !$browse && !$refine && $adlog_flag == 0) { i took out the "!$refine &&" this is the place where the logs are written so check the vars it wants and doesent want and see if that helps. You should see if the logs are actually been written or if its the stats display problem. |
04-22-2005, 07:14 AM | #5 |
Green Mole
Join Date: Mar 2005
Posts: 4
|
The table phpdig_logs is empty, so I will take a look at the search_functions.php file.
Can't do it today, but will do it tomorrow. Tnx, Age |
04-22-2005, 08:24 AM | #6 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Yes, boyd is correct. The relevant code is in the seach_function.php file:
Code:
if (PHPDIG_LOGS == true && !$browse && !$refine && $adlog_flag == 0) { if (is_array($final_result)) { phpdigAddLog ($id_connect,$option,$strings,$exclude,count($final_result),$search_time); } else { phpdigAddLog ($id_connect,$option,$strings,$exclude,0,$search_time); } }
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
04-22-2005, 10:43 AM | #7 |
Green Mole
Join Date: Mar 2005
Posts: 4
|
I couldn't wait till tomorrow! So I did it at work.
It's working perfectly after cutting out "!$refine &&", tnx for your help! Regards, Age |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Restricting search results by URL at the search form level | innerfire | How-to Forum | 3 | 08-01-2005 08:36 AM |
Pulling search results into existing search system. | satcom | How-to Forum | 2 | 05-03-2005 10:58 AM |
Easy way to add most & last searched queries to web page? | guinessec | How-to Forum | 0 | 12-01-2004 11:08 AM |
Bold Search Terms | phirschybar | How-to Forum | 6 | 11-21-2004 08:09 AM |
Searchfeed results displayed with phpdig results | Nosmada | How-to Forum | 1 | 01-04-2004 11:39 AM |