![]() |
when a user goes to check their private messages they get the following error
Fatal error: Call to a member function on a non-object in C:\WebSites\cesirae\private.php on line 14 Line14 looks like this $res1 = $DB_site->query("UPDATE afterburner_stat SET newpms = newpms+1 WHERE time = '$time_today'"); im sure its a simple fix can anybody help |
I appear to have a problem? It's split today's stats in three! :(
http://www.racesimcentral.com/images/stats.gif |
I think the picture shows what's happened, here's another one to prove it didn't dissapear into Tuesday.
What I'm going to do is have a look in the database and manually correct the stats. (I assume that the lower two just require deleting and are not 'real' stats which should be added to the top one). Here's the shot: http://www.racesimcentral.com/images/stats2.gif Here was the table entries (by the time I got there - stats for Tuesday changed of course): time memberson newthreads newposts maxuserontime maxuseron newpms newregs 1028412000 1048 46 433 1028484532 258 16 17 1028498400 1691 85 1031 1028573074 212 33 30 1028498400 153 24 203 1028573074 212 4 5 1028498400 153 24 203 1028573074 212 4 5 1028584800 392 6 95 1028585062 165 0 2 I just deleted these: 1028498400 153 24 203 1028573074 212 4 5 1028498400 153 24 203 1028573074 212 4 5 So the stats now show correctly. Just wondering... could this be because I haven't got a full 7 days yet? |
okay, the hack works great, and my members LOVE it (as do i) but when is it ever going to bust into multipages? I mean, check it out, its getting a little long dont ya think..
|
Thanks Afterburner! I must of been stoned earlier....
|
@ hypedave
please recheck the code in the private.php above: PHP Code:
PHP Code:
@ Tim Wheatley dont know the reson, maybe your provider changes the timesettings at this time, does it work correctly now ? @ snyx 15 days will shown before splitting o multible |
I love this hack but I have one problem, the last 4 days, my new users count has remained at 0 when we have usually 25-30 new members. How can I fix this?
It worked fine the first 3 days. Odil |
thats no problem of the hack, you have to enable the post count in each forum
|
Quote:
Odil |
please check the code in the register.php if you upgraded to vB 2.2.7 or an other version
|
All times are GMT. The time now is 11:53 AM. |
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:
|