| Author |
Message |
Elderberry New Member


Joined: Aug 13, 2002 Posts: 20
|
Posted:
Sat Oct 04, 2003 4:40 pm |
|
I'm baaaaaccckkk!
Site info block is running fine except for two things. The number of page hits shown in site info is 26137 but page hits shown in stats module is 32345. Why the difference? Not a biggie but I'm curious.
The users avatar doesn't show up when he logs in. I see there is a long thread about that that I need to work through though. I'll probably find the fix in it.
Don't you just love setting up new sites?  |
|
|
|
 |
fury Worker


Joined: Sep 09, 2003 Posts: 165
|
Posted:
Sat Oct 04, 2003 4:59 pm |
|
I may be stepping on Ravens toes here and I do apologize for it but if you could check this it may be a quick fix.
Check in your administration panel and in Preferences check to see what the site start date is set to.
If it is after you had started your site and you are getting you other numbers from webstats or something of that nature please try to adjust date to the date you started your site and see if that fixes it.
Thanks
Fury |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Oct 04, 2003 5:04 pm |
|
No toes to step on here! I welcome the help and hope that more of you will become active Forum answerers! |
|
|
|
 |
Elderberry New Member


Joined: Aug 13, 2002 Posts: 20
|
Posted:
Sat Oct 04, 2003 5:14 pm |
|
Site start date in preferences is October 2001. That's what shows in Site Info and on the Statistics page. I'm not sure what you mean about where the numbers are coming from. Both site info and statistics get the numbers from the nuke DB.
A little explanation is in order here. The site is new with a vanilla upload of PHPNuke v6.9. However the data base was loaded with a dump from the site I'm replacing. That's why the October 2001 start date.
I realize that could be the cause of the discrepancy but since both modules query from the same data base I'm wondering why the different numbers. As I said, it's not a biggie and I can live with it but I'd sure like to know why. |
|
|
|
 |
fury Worker


Joined: Sep 09, 2003 Posts: 165
|
Posted:
Sat Oct 04, 2003 5:15 pm |
|
one other thing looking at ravens perfect code is if you had a site up prior to nuke or had to reinstall your database for any reason it is calling on the hits from the sql from the site
| Code: | $content .= "<small>"._PAGESVIEWS."<br />$startdate</small></center>";
$content .= "<hr noshade>";
$content .= "<center>"._BHITS." "._BTD.": <b><a href=\"stats.html&op=DailyStats&year=$t_year&month=$t_month&date=$t_date\">$today</a></b><br />";
$content .= ""._BHITS." "._BYD.": <b><a href=\"stats.html&op=DailyStats&year=$y_year&month=$y_month&date=$y_date\">$yesterday</a></b><br /></center>"; |
This is the code i refer to:
If you have every cleared this or redone your database that is where the discrepancy may be for it only calls from the sql hits.
I may be wrong (as usuall)
Thanks
Fury |
|
|
|
 |
Elderberry New Member


Joined: Aug 13, 2002 Posts: 20
|
Posted:
Sat Oct 04, 2003 5:52 pm |
|
| fury wrote: | If you have every cleared this or redone your database that is where the discrepancy may be for it only calls from the sql hits.
|
I have not cleared/redone it so I don't think that is the problem. I suspect the only way I'm gonna know is to look at the code to see where each is pulling the number from. I was just hoping someone would know.
But, I've been fooling with this stuff all day and I'm tired of it. I'm going to get a beer and forget about it till tomorrow! Thanks for the suggestions. |
|
|
|
 |
fury Worker


Joined: Sep 09, 2003 Posts: 165
|
Posted:
Sat Oct 04, 2003 6:35 pm |
|
sry that i could not help any further
thanks
Fury |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Oct 04, 2003 6:38 pm |
|
| Elderberry wrote: | I'm baaaaaccckkk!
The users avatar doesn't show up when he logs in. I see there is a long thread about that that I need to work through though. I'll probably find the fix in it.
Don't you just love setting up new sites? | That's a long-standing nuke bug. I have published a fix for it. |
|
|
|
 |
|
|
|
|