Skip to content

Missing column awardvalue #137

@Wolvan

Description

@Wolvan

Attempting to run the stats.pl script seems to work fine, but ends up throwing the following error

[FATAL]* Called from main(363)->PS::Game(1088)->PS::Award::player(109)->PS::DB(371)->PS::DB(603) >>>
Error executing DB query:
SELECT  awardvalue, plr.*, pp.* FROM (ps_plr_data data, ps_plr plr) LEFT JOIN ps_plr_profile pp ON pp.uniqueid=plr.uniqueid LEFT JOIN ps_plr_data_source_tf2 mdata ON mdata.dataid=data.dataid WHERE plr.plrid=data.plrid AND plr.allowrank AND (statdate BETWEEN '2026-05-01' AND '2026-05-31') GROUP BY data.plrid ORDER BY 1 desc LIMIT 1 
Unknown column 'awardvalue' in 'SELECT'
--end of error--

Trying to check through the .sql files in both the ps_tf2 as well as the main repository I cannot find where the awardvalue column should be created.

We did have the weird phenomenon during installation where, despite the DB getting intialized, it never progressed to the next step, I had to restart the installation and skip database init after the system told me everything looks good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions