vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) (https://vborg.vbsupport.ru/showthread.php?t=104213)

Loki12 01-08-2006 11:37 AM

Version 1.3.0 seems to be slowing my page loading time... :ermm:

bashy 01-08-2006 11:46 AM

EDIT: Psionic didnt appreciate it

My apologies

Bashy

akanevsky 01-08-2006 11:54 AM

Quote:

Version 1.3.0 seems to be slowing my page loading time...
That can't be happening, it's just two simple insert queries..
The most likely reason is the improper ajax code, I am researching that...

Quote:

This is a little off topic
It indeed is. And I do not appreciate it.

Loki12 01-08-2006 11:56 AM

Quote:

Originally Posted by Psionic Vision
The most likely reason is the improper ajax code, I am researching that...

Yes, most likely. If I look at "Who's Online", then I see all users (and guests) are "viewing" the stats, even those who have no permission to do so.

I am going to uninstall until this is fixed.

firstrebel 01-08-2006 12:14 PM

Did this
Quote:

$vbulletin->db->query_write("TRUNCATE TABLE `" . TABLE_PREFIX . "psistats_cache`");
instead of
$vbulletin->db->query_write("TRUNCATE TABLE `psistats_cache`");
now got this error:
Quote:

Invalid SQL:
UNLOCK TABLES;

MySQL Error :
Error Number :
Date : Sunday, January 8th 2006 @ 01:25:17 PM
Script : http://www.volvoclub.org.uk/forum/cron.php?&rand=864757
Referrer : http://www.volvoclub.org.uk/forum/usercp.php
Bob

firstrebel 01-08-2006 12:17 PM

Quote:

("TRUNCATE TABLE `" . TABLE_PREFIX . "psistats_cache`");
Are the quotes correct?

Bob

bashy 01-08-2006 12:39 PM

This is definately not recording the stats for the Display Colours & Resolutions any more since the update all the rest is fine and working well!

Bashy

firstrebel 01-08-2006 12:59 PM

Quote:

Originally Posted by bashy
This is definately not recording the stats for the Display Colours & Resolutions any more since the update all the rest is fine and working well!

Bashy

Mine is logging stats OK, just get that 'LOCK TABLES' SQL error each time cron runs.

Bob

akanevsky 01-08-2006 01:15 PM

Please stop posting messages about the same errors. I already said that I'll fix those. Also, if you "are going to uninstall", I don't need to know about that. Thanks.

Loki12 01-08-2006 01:18 PM

Quote:

Originally Posted by Psionic Vision
Please stop posting messages about the same errors. I already said that I'll fix those. Also, if you "are going to uninstall", I don't need to know about that. Thanks.

Look, we all appreciate your hack. It is nothing personal. I am looking forward to the fix as these stats are very useful.

msimplay 01-08-2006 01:41 PM

Quote:

Originally Posted by bashy
This is definately not recording the stats for the Display Colours & Resolutions any more since the update all the rest is fine and working well!

Bashy

quick fix for that is to add the psistats_update.php to vbulletin scheduled task
set for 1 hour

Its not in the instructions but maybe it was supposed to be :P

akanevsky 01-08-2006 01:42 PM

Quote:

Its not in the instructions but maybe it was supposed to be :P
The cron gets added automatically.

bashy 01-08-2006 01:55 PM

Cheers msimplay

But as Psionic says, it was automaticaly created :)

Quote:

Originally Posted by Psionic Vision
The cron gets added automatically.

Bashy

akanevsky 01-08-2006 02:17 PM

:banana: UPDATE 1.3.1 :banana:

Re-upload ./psistats.php
Re-upload ./includes/cron/psistats_update.php
Re-do template change: headinclude

Done.

Loki12 01-08-2006 02:22 PM

Quote:

Originally Posted by Psionic Vision
:banana: UPDATE 1.3.1 :banana:

Re-upload ./psistats.php
Re-upload ./includes/cron/psistats_update.php
Re-do template change: headinclude

Done.

Thanks! :) Will try it now...

Loki12 01-08-2006 02:32 PM

Yup, I can confirm it works great for me now! :up:

bashy 01-08-2006 02:39 PM

Excellent Psionic....

All seems to be working very well...
Congrats on a job well done :)

Regards

Bashy

klaush 01-08-2006 05:02 PM

I had to uninstall, may be i missed one version number and no changelog is available, so i got a lot of sql-errors because of missing sql-tables.

What a pitty, because the hack is great and worked great til this release. :

akanevsky 01-08-2006 05:06 PM

Quote:

What a pitty, because the hack is great and worked great til this release. :
It's working fine, trust me. You probably have forgotten to undo the class_core changes.
Wheneever you upgrade any of my hacks, you must follow through each "new version" announcement that came out since the release of the version that you have installed.

klaush 01-08-2006 05:10 PM

Quote:

Originally Posted by Psionic Vision
It's working fine, trust me. You probably have forgotten to undo the class_core changes.
Wheneever you upgrade any of my hacks, you must follow through each "new version" announcement that came out since the release of the version that you have installed.

I will try a fresh install.

firstrebel 01-08-2006 05:14 PM

Thanks for your work. I am still getting this error
Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:
UNLOCK TABLES;

MySQL Error :
Error Number :
Date : Sunday, January 8th 2006 @ 06:25:11 PM
Script : http://www.volvoclub.org.uk/forum/cron.php?&rand=398114
Referrer :
Any ideas please?

Bob

akanevsky 01-08-2006 05:19 PM

Quote:

Invalid SQL:
UNLOCK TABLES;
I have no idea. That doesn't happen for me on vB 3.5.2... But I'll see what's the matter with 3.5.3.

klaush 01-08-2006 05:41 PM

Quote:

Originally Posted by Psionic Vision
It's working fine, trust me. You probably have forgotten to undo the class_core changes.
Wheneever you upgrade any of my hacks, you must follow through each "new version" announcement that came out since the release of the version that you have installed.


O.k., fresh install works fine til now!

firstrebel 01-08-2006 05:46 PM

Never had this many unknown browers before.

Bob

akanevsky 01-08-2006 06:00 PM

Quote:

Never had this many unknown browers before.
Majority unknown browsers is normal.

Zelda-King 01-08-2006 07:31 PM

Well I just made a fresh installation on 3.5.3 and most of the fields are blank. The only sections with data are: General | Style Usage | Top Threads & Forums.

akanevsky 01-08-2006 07:46 PM

That's how it's supposed to be. The other stats are to be collected in time :)

firstrebel 01-08-2006 07:54 PM

In psistats_update.php
Quote:

$vbulletin->db->unlock_tables();
Should this be:
Quote:

$vbulletin->db->unlock tables();
without the underscrore?
I have made this change and manually run the cron and not had the error email.

Bob

Zelda-King 01-08-2006 07:54 PM

Quote:

That's how it's supposed to be. The other stats are to be collected in time
Ah, I should have figured that when I saw the cron. Looking very nice though. I decided to give it its own navbar link to show it off better.

fuldon 01-08-2006 09:01 PM

Psionic Vision
Not work "?do=home"

Invalid SQL:

SELECT userid, username, usergroupid, membergroupids, joindate, lastpost, pmtotal, referrerid
FROM user
ORDER BY joindate DESC;

MySQL Error : Lost connection to MySQL server during query

Alteran Ancient 01-08-2006 09:30 PM

I had to add the Cron manually; the Plugin XML did not do the job!

akanevsky 01-08-2006 09:42 PM

Quote:

without the underscrore?
I have made this change and manually run the cron and not had the error email.
No, without underscore the code doesn't make any sense. The underscore should be there. I don't know yet why it's causing the error. Looking into it...

Quote:

I had to add the Cron manually; the Plugin XML did not do the job!
It did for me.

Mith 01-08-2006 09:51 PM

Your last update didn't come with any upgrade instructions... do you have to uninstall the product first and then add the new product, or just overwrite? Which files have changed do you upload the lot and overwrite or delete the previous etc

I overwrote product and all files and i get the error:

Code:

Database error in vBulletin 3.5.3:
 
Invalid SQL:
UNLOCK TABLES;
 
MySQL Error :
Error Number :
Date : Sunday, January 8th 2006 @ 09:28:23 PM
Script : http://www.bla.com/forums/cron.php?&rand=659508
etc

hope that helps you to debug

S@NL - BlackBik 01-08-2006 10:47 PM

Awesome hack :)
Installed.
Had to add the cron manualy though ;)

Rickie3 01-09-2006 02:40 AM

the unknown browser is firefox,yet in earlier versions this was showing firefox ok

S@NL - BlackBik 01-09-2006 12:25 PM

OK, the stats are logged in the psistats_cache table.
But the psistats_data table isn't updated.
I have the cron in place, but it seemes to do nothing.
So all is working well accept the hourly update.

Unfortunately I'm not the one who gets the database error emails. And I can't reache the guy who does. So at this moment I don't know what error causes the data table not to be updated.

Yorixz 01-09-2006 01:10 PM

Weird, previously this hack was perfectly working, now I upgraded from 1.3.0 to 1.3.1 and nearly all my stats are gone, it just doesn't show anything. The "standard" stats seem to work perfectly, such as the top posts etc but the stats that are collected; countries etc don't appear at all.

MThornback 01-09-2006 01:53 PM

Quote:

Originally Posted by Yorixz
Weird, previously this hack was perfectly working, now I upgraded from 1.3.0 to 1.3.1 and nearly all my stats are gone, it just doesn't show anything. The "standard" stats seem to work perfectly, such as the top posts etc but the stats that are collected; countries etc don't appear at all.


Same problem here

Zelda-King 01-09-2006 02:54 PM

Well, with a fresh install on 3.5.3 it's been nearly a day now and there's still no data on those aforementioned sections so I added a cron job in the admin cp. But when I try to run psistats_update.php via the scheduled tasks manager I get;

Invalid SQL:
LOCK TABLES psistats_cache READ, psistats_data READ;

MySQL Error : Access denied for user: 'username@%' to database 'databasename'
Error Number : 1044
Date : Monday, January 9th 2006 @ 09:51:26 AM
Script : http://www.domain.com/etc/admincp/cr...cron&cronid=19
Referrer :
Classname : vb_database


Evidently the problem appears to be that it's adding "@%" to the username.

Rover416 01-09-2006 03:12 PM

EDIT: nvm,fixed it.


All times are GMT. The time now is 04:50 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
  • Page Generation 0.01738 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete