Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Signatures do not work in Docker environment #253

Open
3 of 7 tasks
mdziekon opened this issue Sep 17, 2022 · 0 comments
Open
3 of 7 tasks

[BUG] Signatures do not work in Docker environment #253

mdziekon opened this issue Sep 17, 2022 · 0 comments
Assignees
Labels
bug:confirmed All bug reports that were reproduced, therefore confirmed to exist bug All bug reports

Comments

@mdziekon
Copy link
Owner

Problem description

When working in Docker environment (introduced in #251), the signatures generator does not work for any players with their stats already calculated.

Looking at the image directly (instead of on the embedded image, which is broken), the following error is being thrown:

Fatal error: Uncaught Error: Call to undefined function imagettfbbox() in /var/www/html/generate_sig.php:167

Engine details

  • Engine version:
  • Custom modifications:
    • Yes
    • No
  • Environment:
    • local
    • testing (inaccessible from the outside)
    • production (accessible from the outside world)
  • Configuration:
    • Game speeds: N/A
    • Debris settings: N/A
    • Any other relevant config entry: N/A

Steps to reproduce

Prerequisites:

  • User X exists
  • User X has their stats already calculated

Steps to reproduce the behavior:

  1. Go to Overview
  2. Scroll down to the Signature

Expected behavior

  • Signature is being displayed correctly, with all statistics being correctly rendered

Actual behavior

  • Signature is broken (invalid image)

Reproduction environment

Game server environment:

@mdziekon mdziekon added bug:confirmed All bug reports that were reproduced, therefore confirmed to exist bug All bug reports labels Sep 17, 2022
@mdziekon mdziekon self-assigned this Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:confirmed All bug reports that were reproduced, therefore confirmed to exist bug All bug reports
Projects
None yet
Development

No branches or pull requests

1 participant