PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Elderberry
New Member
New Member


Joined: Aug 13, 2002
Posts: 20

PostPosted: Sat Oct 04, 2003 4:40 pm Reply with quote Back to top

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? Very Happy
View user's profile Send private message Visit poster's website
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 4:59 pm Reply with quote Back to top

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 5:04 pm Reply with quote Back to top

Laughing No toes to step on here! I welcome the help and hope that more of you will become active Forum answerers!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Elderberry
New Member
New Member


Joined: Aug 13, 2002
Posts: 20

PostPosted: Sat Oct 04, 2003 5:14 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 5:15 pm Reply with quote Back to top

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
View user's profile Send private message
Elderberry
New Member
New Member


Joined: Aug 13, 2002
Posts: 20

PostPosted: Sat Oct 04, 2003 5:52 pm Reply with quote Back to top

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. Smile I'm going to get a beer and forget about it till tomorrow! Thanks for the suggestions.
View user's profile Send private message Visit poster's website
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 6:35 pm Reply with quote Back to top

sry that i could not help any further
thanks
Fury
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 6:38 pm Reply with quote Back to top

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? Very Happy
That's a long-standing nuke bug. I have published a fix for it.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum