Raised This Month: $ Target: $400
 0% 

[L4D] Player Stats (Co-op) v1.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Wildfire
Junior Member
Join Date: Dec 2008
Old 01-24-2009 , 13:35   Re: [L4D] Player Stats (Co-op)
Reply With Quote #151

Quote:
Originally Posted by DevilsReject View Post
i have one problem with the php side of this
http://egamerz.net/stats/playerlist.php
Warning: Division by zero in /home/egamerz/public_html/stats/common.php on line 55
can you help figure this out, i know allot about php but i cant find what is doing this i tried removing this line but it dont help makes it worse.
I get that error when there's blank entries in the database.

From the looks of it, you have many. With the link you've provided try taking a look at the entries 40 - 44, 48 - 51, 54 - 57 etc...
__________________

Last edited by Wildfire; 01-24-2009 at 13:38.
Wildfire is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-24-2009 , 13:39   Re: [L4D] Player Stats (Co-op)
Reply With Quote #152

how does that happen?
is there a way to stop that from happening?
i mean if i delete the blanks fromt he database 2 hours from now i will get them back.
DevilsReject is offline
Wildfire
Junior Member
Join Date: Dec 2008
Old 01-24-2009 , 13:48   Re: [L4D] Player Stats (Co-op)
Reply With Quote #153

Quote:
Originally Posted by DevilsReject View Post
how does that happen?
I'll be honest and say I have no idea why.

Quote:
Originally Posted by DevilsReject View Post
is there a way to stop that from happening?
I do believe a possible fix was provided earlier on within this topic.

Quote:
Originally Posted by DevilsReject View Post
i mean if i delete the blanks fromt he database 2 hours from now i will get them back.
I have only had to deleted the blank entries once, I haven't seen any more appear since.
__________________

Last edited by Wildfire; 01-24-2009 at 13:51.
Wildfire is offline
Wildfire
Junior Member
Join Date: Dec 2008
Old 01-24-2009 , 13:49   Re: [L4D] Player Stats (Co-op)
Reply With Quote #154

Sorry, accidental double post.
__________________
Wildfire is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-24-2009 , 13:55   Re: [L4D] Player Stats (Co-op)
Reply With Quote #155

i deleted all the blanks within the database and i still have 1 error on the top of the page
EDIT::::
I MISSED ONE SO NOW all the errors are gone i will give it some time and see what happens
DevilsReject is offline
L4DHelp
Member
Join Date: Dec 2008
Old 01-24-2009 , 14:06   Re: [L4D] Player Stats (Co-op)
Reply With Quote #156

Quote:
Originally Posted by DevilsReject View Post
i deleted all the blanks within the database and i still have 1 error on the top of the page
EDIT::::
I MISSED ONE SO NOW all the errors are gone i will give it some time and see what happens
After speaking with msleeper, he said he is testing a new version out to see if these blank records appear anymore. We just need to wait for his advice before we can fix it.
__________________
L4DHelp is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-24-2009 , 14:43   Re: [L4D] Player Stats (Co-op)
Reply With Quote #157

Yeah I am kinda stumped as to why it happens, but hopefully the 1.1 release which I am testing right now will fix it.
__________________
msleeper is offline
Jschmuck2
Junior Member
Join Date: Jan 2009
Old 01-25-2009 , 14:46   Re: [L4D] Player Stats (Co-op)
Reply With Quote #158

Deleting the blank entries is easy - no complaints here
Jschmuck2 is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-25-2009 , 15:11   Re: [L4D] Player Stats (Co-op)
Reply With Quote #159

yes it easy but its a daily chore noone said it was hard but when you have visitors visiting your page to views stats you dont want them seeing errors all over the place. its impossible to stay on top of all errors at all times. i have stats on the gamerz forums. i dont want them seeing errors all over and thinking my forums are a sham
__________________
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-26-2009 , 00:59   Re: [L4D] Player Stats (Co-op)
Reply With Quote #160

Quote:
Originally Posted by DevilsReject View Post
yes it easy but its a daily chore noone said it was hard but when you have visitors visiting your page to views stats you dont want them seeing errors all over the place. its impossible to stay on top of all errors at all times. i have stats on the gamerz forums. i dont want them seeing errors all over and thinking my forums are a sham
Did you run the SQL update query on the front page? The ALTER statement?
__________________
msleeper is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode