Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Custom Player Stats v1.4B121


Post New Thread Reply   
 
Thread Tools Display Modes
DmanWCG
Member
Join Date: Aug 2008
Old 02-18-2010 , 22:54   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #361

This is the error:

Warning: fopen(population.usa.csv) [function.fopen]: failed to open stream: No such file or directory in /home/*****/public_html/l4d2/common.php on line 91

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/*******/public_html/l4d2/common.php on line 92

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/*******/public_html/l4d2/common.php on line 92

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/*******/public_html/l4d2/common.php on line 92

******Is my FTP I believe
__________________
DmanWCG is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 02-19-2010 , 02:05   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #362

Quote:
Originally Posted by mrnatural View Post
do i add this-

"l4dstats"
{
"driver" "mysql"
"host" "shayne1970.db.3943171.hostedresource.com "
"database" "db_name_here"
"user" "db_user_here"
"pass" "db_pass_here"
}

plus my db name and password ect.....
The syntax is correct, but the validity is unknown. The validity may be checked quite easily, but most likely only by you.

Quote:
Originally Posted by DmanWCG View Post
This is the error:

Warning: fopen(population.usa.csv) [function.fopen]: failed to open stream: No such file or directory in /home/*****/public_html/l4d2/common.php on line 91

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/*******/public_html/l4d2/common.php on line 92

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/*******/public_html/l4d2/common.php on line 92

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home/*******/public_html/l4d2/common.php on line 92

******Is my FTP I believe
Sorry about asking the obvious, but you do have file population.usa.csv located in the root of your web stats folder? If it's there, you have to check if it has public read access. If it's not there, you'll have to download the web stats again.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
mrnatural
Junior Member
Join Date: Feb 2010
Old 02-19-2010 , 08:35   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #363

how do i check the validity?
im just logging unto my server and checking to see if their is players online.
thank you sir for your replies.
mrnatural is offline
DmanWCG
Member
Join Date: Aug 2008
Old 02-19-2010 , 09:47   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #364

Quote:
Sorry about asking the obvious, but you do have file population.usa.csv located in the root of your web stats folder? If it's there, you have to check if it has public read access. If it's not there, you'll have to download the web stats again.
Yes, it was missing. re-uploaded and all good. Not to good at this stuff as you can tell
__________________
DmanWCG is offline
mrnatural
Junior Member
Join Date: Feb 2010
Old 02-19-2010 , 17:51   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #365

Quote:
Originally Posted by mrnatural View Post
how do i check the validity?
im just logging unto my server and checking to see if their is players online.
thank you sir for your replies.
it seems to not work. it dont read write and execute to it. i tried to chmod it to 666 and 777.

im getting no mysql errors.

i set the min play time to ten minutes.

maybe their is something i am overlooking but i doubt it.

this is what my database.cfg looks like.

i just changed the top portion to reflect my server and still dont work.

"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "mysql"
"host" "shayne1970.db.3943171.hostedresource.com "
"database" "shayne1970"
"user" "shayne1970"
"pass" "Mypassword"
//"timeout" "0"
//"port" "0"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}

"l4dstats"
{
"driver" "mysql"
"host" "shayne1970.db.3943171.hostedresource.com "
"database" "shayne1970"
"user" "shayne1970"
"pass" "mypassword"
}
mrnatural is offline
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 02-19-2010 , 18:05   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #366

Like I mentioned, trying to ping that host url always times out, so communicating to the database seems to be the issue.

Did you set up remote sql in cpanel?
.=QUACK=.Major.pain is offline
Gunblazer 42
Junior Member
Join Date: Apr 2009
Old 02-19-2010 , 19:04   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #367

I'm probably just being a moron here since I'm noob to site building and stuff, but how would I go about making a web page with the stats available for viewing? Unless it makes one automatically after the plugin is used for the first time?
Gunblazer 42 is offline
mrnatural
Junior Member
Join Date: Feb 2010
Old 02-19-2010 , 19:04   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #368

Quote:
Originally Posted by .=QUACK=.Major.pain View Post
Like I mentioned, trying to ping that host url always times out, so communicating to the database seems to be the issue.

Did you set up remote sql in cpanel?
no......would i do this through my cpanel on my hosting service for my website?

thank you.
mrnatural is offline
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 02-19-2010 , 20:08   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #369

It's in your cpanel - Remote MySql.
This was in the instructions.

Put your game server IP to allow the 2 servers to communicate.
You can put your game server or use wild card.

Ours: 69.31.134.120 or 69.31.134.%
.=QUACK=.Major.pain is offline
mrnatural
Junior Member
Join Date: Feb 2010
Old 02-20-2010 , 08:53   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #370

Quote:
Originally Posted by .=QUACK=.Major.pain View Post
It's in your cpanel - Remote MySql.
This was in the instructions.

Put your game server IP to allow the 2 servers to communicate.
You can put your game server or use wild card.

Ours: 69.31.134.120 or 69.31.134.%
ok im missing something......
what cpanel?

im adding this to the confiq file

$game_addresses[] = array("Dead Again", "208.122.48.110:27015");

where oh where is my cpanel gone.....oh where oh where can it be?

haha.

thanks in advance.
mrnatural 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 02:03.


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