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

[TF2][DEAD] Ranking and Item Logger (REDUX)


Post New Thread Reply   
 
Thread Tools Display Modes
koscar12
Member
Join Date: Jan 2014
Old 01-23-2015 , 21:17   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #31

Quote:
Originally Posted by Sarabveer View Post
Redownload the config.php.

You removed a colon (;) somewhere.

const STEAM_APIKEY = 'xxxx3BD96A3ACD13A818A1E93BEDxxxx';

.. what's the problem with this line?
koscar12 is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-23-2015 , 21:35   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #32

Quote:
Originally Posted by koscar12 View Post
const STEAM_APIKEY = 'xxxx3BD96A3ACD13A818A1E93BEDxxxx';

.. what's the problem with this line?
You have to put your Steam Web API key there.
__________________
Sarabveer is offline
senorbomber
SourceMod Donor
Join Date: May 2014
Location: Austria
Old 01-25-2015 , 10:09   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #33

I am not sure if I am just too stupid to find a fix, but somehow some images are missing on the new items.
At the Items --> method: found items page.

here's the site: http://stats-server3.tlsd-community....p?method=Found

Does anyone know how to update the pictures?
senorbomber is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 01-28-2015 , 18:47   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #34

Quote:
Originally Posted by koscar12 View Post
Why i get this error when i try to go MYWEBSITE/STATS/INSTALL/
Parse error: syntax error, unexpected T_CONST in C:\APM_Setup\htdocs\stats\inc\config.php on line 45

Hellllp.....
I just go the exact same error. I was using php 5.2 but I I believe you need at least 5.3 for const. I tried to screw around with php.ini and .htaccess files/settings to get my main site to keep using 5.2 while stats install to use 5.4 but in the end this is what I did and seems to be working:

Code:
//const STEAM_APIKEY  = 'whateveryourownkeyis'';
define('STEAM_APIKEY', 'whateveryourownkeyis');
Source:

http://stackoverflow.com/questions/1...sing-constants

So check your php version and update if doesn't break anything else...and you should be good OR change that line of code. Someone with ALOT more experience can probably shed some light on whether this should be ok or not but like I said everything seems ok so far.

UPDATE:
Every things seems to be going well except getting a lot of "spam" in TF2STATS_WEAPONERRORS.log

Spoiler

Going to assume these weapons aren't added...jar_milk, etc..didn't find these in weapons.sql ?

Just looked at the install/sql directory..I see items and weapons.sql are more extensive than in /sql folder. The 'wiki' says to import all sql files from/ sql directory but no mention of files in install/sql directory. I am going to assume to import these sql files (the more complete ones). Do I do anything with Players and Player_backup.sql files? Thanks

UPDATE #2: Anyone else having problems with "webrank" command...says cannot find when I am in the database. !rank works fine.

Last edited by MaloModo; 01-29-2015 at 16:18.
MaloModo is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-30-2015 , 07:31   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #35

Quote:
Originally Posted by koscar12 View Post
another error when i click "player update"
*Fatal error*: Class 'PDO' not found in *C:\APM_Setup\htdocs\tf2_stats\inc\database.c lass.php* on line *17*
Sir, I'm going to ask you to update your PHP version to a version that has PDO and const.
__________________
Sarabveer is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 01-30-2015 , 14:49   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #36

LMAO
MaloModo is offline
koscar12
Member
Join Date: Jan 2014
Old 01-30-2015 , 22:22   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #37

Warning: Cannot modify header information - headers already sent by (output started at C:\APM_Setup\htdocs\tf2_stats\install\index.p hp: 30) in C:\APM_Setup\htdocs\tf2_stats\install\index.p hp on line 122

Maybe I have to give up.....

Last edited by koscar12; 01-30-2015 at 22:23.
koscar12 is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-30-2015 , 22:24   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #38

Quote:
Originally Posted by koscar12 View Post
Warning: Cannot modify header information - headers already sent by (output started at C:\APM_Setup\htdocs\tf2_stats\install\index.p hp0) in C:\APM_Setup\htdocs\tf2_stats\install\index.p hp on line 122

Maybe I have to give up.....
Can you please update your PHP version. Also, are you hosting on a webhost or on your computer?
__________________
Sarabveer is offline
koscar12
Member
Join Date: Jan 2014
Old 01-31-2015 , 00:35   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #39

Quote:
Originally Posted by Sarabveer View Post
Can you please update your PHP version. Also, are you hosting on a webhost or on your computer?
solved that problem.
I wrote ob_start();

+add

get other error
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\APM_Setup\htdocs\stats\inc\database.class. php on line 19

Last edited by koscar12; 01-31-2015 at 05:55.
koscar12 is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 01-31-2015 , 08:37   Re: [TF2] Ranking and Item Logger (REDUX)
Reply With Quote #40

Srsly, stop modifying the webpanel to work with your PHP version, just download the latest one here: http://windows.php.net/download/

I recommend you getting 5.5.21
After that redownload the webpanel. Also, its in the OP, U need PHP 5.5 or higher
__________________

Last edited by Sarabveer; 01-31-2015 at 08:40.
Sarabveer 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 11:16.


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