![]() |
I just unpacked the vB 3.5.3 zip file and checked includes/functions_cron.php and it is there.
Bob |
which line are u seeing this on cause i dont see it on mine at all?
|
Fix to show Firefox. Not 100% tested!
Find in database_agent.php: PHP Code:
PHP Code:
|
Quote:
As for the unlock tables line in the functions_cron file. I didn't find it either, but i've downloaded the upgrade a couple of days after the fix and my guess is that they updated the package ;) |
Thanks SmEdD, that does the trick. Firefox shows now :)
|
:ermm:
I totally removed this hack, did the fix on the vB bug, then reinstalled this hack. No MySQL errors at all, but my country stats are a bit questionable, see attachment. :confused: Bob |
Quote:
DementedMindz, http://www.vbulletin.com/forum/bugs3...iew&bugid=2056 |
Well I just tested this on my test board (which is RC3 at the moment) and I'm still getting that @" added to the database username when I run psistats_update.php. Seeing as there's at least one person with this working on 3.5.3 though, I'm at a loss as to why I'm getting this. My test board has very few plugins installed and I have no other scheduled tasks doing this.
|
Psionic Vision
free-bsd = "FreeBSD" net-bsd = "NetBSD" open-bsd = "OpenBSD" sun = "SunOs" Those should be good since thats what the majority of my users will be using (guessing) |
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 |
After upgrade to 1.3.1 all stats get erased?
|
Your folder names changed in this update mate....agent and flag both had "s" on them in a previous version
|
Quote:
Quote:
|
So to upgrade what do I do? I basically uploaded all teh files again and imported the file again...
Still no stats and the bottom links aren't like they were before... http://www.gsnforce.com/forum/psistats.php |
Upgraded, thanks.
One thing I added you might consider - I track the last referrer link into my site for each entry so that instead of click on www.google.com, it clicks to the last google.com referrer link into the site - this shows me what search term was used last to get to my site - or if coming from another website tells me what page actually directed the user to my site. Having just the domain name is nice, but knowing where the referral came from is even nicer. Since I haven't looked at the new caching code, here's what I had under the older code: Code:
$db->query_write(" |
When I try to view an avatar...
I get this error.. Database error in vBulletin 3.5.2: Invalid SQL: SELECT * FROM vb3_psistats_country WHERE code = 'US' LIMIT 1; MySQL Error : Table '*********vb.vb3_psistats_country' doesn't exist Error Number : 1146 Date : Thursday, January 12th 2006 @ 08:27:10 PM Script : http://www.gsnforce.com/forum/image....ine=1137115255 Referrer : http://www.gsnforce.com/forum/image....ine=1137115255 IP Address : 198.68.128.190 Username : Classname : vb_database This is only for uploaded avatars....not ones already on my server that I put through the admincp |
Quote:
Code:
ini_set("max_execution_time", 0); |
I removed the class_core edit...yet I don't know what other edits there were....
Because my avatars are messed up and there is no updates....even after manualy running psistats_update.php |
Vision do you have a copy of the old version so I can manually go back and remove all edits, because reverting templates would be bad for me because I have custom templates and edits.
|
i still get no stats to show up... i guess i may have to uninstall this one...
|
Quote:
|
North America and US IP addresses do not appear to be working properly; I have almost no US traffic being reported whereas before the update it was 70% of my traffic. The stats for IPs also seem low, I'm not so sure this section is working very well and identifying countries as well as it was in the previous version. (I have 6x the traffic from Trinidad and Tobago than the US according to my current stats!)
One thing to check if you get no stats - if you already had a cron job #14, the insert for this cron would have failed and you'd never get a stats update. I would suggest putting a NULL in place of the 14 as cron's cronid field is an auto increment and you do not need to specify the cron job number. Code:
INSERT INTO cron |
More IP info. I get data like this (when printing out some added debug code to see them $item['count'] for each entry:
Code:
211540739 -> US -> 1 ->17 Code:
$updatecache["country_||_$coucode"] = array($existingcache["country_||_$coucode"]['count'], $item['count'], $existingcache["country_||_$coucode"]['cmisc']); I changed it to this: Code:
if (isset($database_country["$coucode"])) I also added line for all the other totals - I'm working to confirm this is works. Code:
// MDP Code:
// MDP Code:
// MDP Code:
// MDP |
MPDev, thanks that fixed it with me. I am just curious why we should do it to the rest of them as well as I have had no problem . . .
|
I added them just to be sure, I didn't want to run verifications across each data type to see if there are cases where more than 1 record exists for each item.
i.e. if the browser cache has more than one entry per browser (as there was more than one entry per country), then the numbers in the browser cache are also not correct. If there is only 1 browser record, 1 os record, then it wouldn't be a problem. However, I am faily sure my Windows XP stats were way too low, so I added it to be sure. |
LOL @ Win XP . . . I didn't even relize it but mine are really low too. Thanks for the fixes and hope you get your search string text ported over soon.
|
Quote:
The stats are way off, no Firefox, hardly any windows users and not that many people from the US. How can I trust any of the other stats? But more importantly I keep getting DB errors from time to time, I am not saying that psiStats has anything to do with it, but since I installed it I have been getting emails about lost connections. I will comeback and check in a few weeks, hopefully the beta testing would have been done. FFMG |
You need to make the Firefox fix on the previous page for Firefox to get picked up.
|
Yep, that did the trick, I can confirm that.
I'm sticking with this hack. I'm sure Psionic Vision is gonna improve it. It is looking good and when he gets feedback he can improve the hack. But when everybody is uninstalling he doesn't get feedback :) I've installed the updates as mentioned above and that seemes to work. |
Quote:
But the problem with the database is proving too much for me. How can I keep a hack running when it _might_ be the one causing db errors. Also, this hack is about statistics, how can I use it, (and in turn help improving it), when most of the stats I have already gathered are useless to me. Even putting aside the bugs, the actual gathering of the data is incorrect, what other stats could be wrong? My referrer? FFMG |
I don't see any database errors cropping up and I run 1,000+ users online at a time.
Another issue I noticed, the region percentage don't add up. In looking at psistats.php there are two lines: Code:
$total_count = fetch_sum($getcountries); Code:
$total_count += $country['count']; |
One more suggestion, please add Mozilla as a browser to the list
|
You people don't get a simple thing. I'll write it in big font, maybe that will help you understand it.
Aside from coding, I have a LOT of other things to do in my life. The fact that I do not respond does not mean that you haven't been heard. There is no need to post the same suggestion more than once. Those of who you, who are speaking in a demanding tone (and I am not speaking about anyone specifically, you know who you are), you are most likely one of those pathetic people who has no life, who sits at the computer 24/7, and for whom a delayed update - where "delayed" stands for "less frequent than 2 hours" - is an "omg #$^ it's the #$&@^$% end of the world". If that's the case - that's your problem, not mine. Just know that you are (or soon will be) the one and only reason that I will forfeit support of ALL my free hacks, or make this hack the last free hack you'll ever see coming from me. If I do so, you'll regret it for the rest of your life, esspecially things that will come henceforth. If you do not want that to happen, sit the **** back and be patient. Now that I said it, thanks to those of you who have given suggestions and code fixes - you know who you are - I will review (and, if needed, address) them whenever I have time. And the latter might not happen until after two or three weeks. Thank you for your patience and understanding. |
hello
What could be the reason why my stats don't show no visits at all ? thanks |
Quote:
|
FYI, to get freebsd to show up make the following change:
Look for : Code:
'Free BSD' => 'free-bsd', Code:
'Free BSD' => 'freebsd', |
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|