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

query #8

Open
zxnhrdz opened this issue Jun 23, 2024 · 6 comments
Open

query #8

zxnhrdz opened this issue Jun 23, 2024 · 6 comments

Comments

@zxnhrdz
Copy link

zxnhrdz commented Jun 23, 2024

This feature is not supported on ubuntu systems? Keeps showing empty maps!

image

@Helias
Copy link
Member

Helias commented Jun 25, 2024

Hi, it works on Ubuntu, you probably miss some configuration in config/playermap_config.php.

@virgo77
Copy link

virgo77 commented Jul 6, 2024

Hi!
I'm afraid he's right.

My SQL Server is reachable on this IP Address: 192.168.1.250:3306
The "Auth DB" name is: azerothcore_auth
The "Characters DB" name is: azerothcore.original_characters
The "World DB" name is: azerothcore.playerbots.spp_world

The RealmID of my running server is: 9
The server is reachable on port: 8089
image

I configured the ./config/playermap_config.php:
image

Then I configured ./pomm_config.php with the RealmID:
image

And...:
image

The server where the 'playermap' is hosted can ping both these IP Addresses:

  • 192.168.1.250 (MariaDB Server)
  • 192.168.0.236 (where 'authserver' and 'worldserver' runs and are reachable)
    image

Just about the 'playermap_config.php', it is said the "db_type = mysql". If running MariaDB, should it be changed?

About my configuration:

  • Debian 11 Bullseye, x64
  • nginx + SSL
  • php-8.3 (FileInfo / fpm / gd / gmp / Mbstring / Mysqli / Mysqlnd / SimpleXML)
  • MariaDB 10.6.18

Thanks for your help :)

Regards,
V.

@Helias
Copy link
Member

Helias commented Jul 8, 2024

not sure what you are doing wrong, I know that the playermap config are not easy to set, the best way to solve this is debugging the issue, try to print everything enabling the errors/warnings using the following code in the top of index.php

ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);

[source]

@virgo77
Copy link

virgo77 commented Jul 8, 2024

Hi!
There's no onscreen output :(

I enabled the display_errors = On in my /etc/php/8.3/fpm/php.ini file, then restarted nginx and still no results

@virgo77
Copy link

virgo77 commented Jul 8, 2024

ok so I got news... it's a PHP issue!

In fact, PlayerMap works at least with PHP7.4 / PHP8.0, but not with PHP8.1/2/3

With PHP7.4 / PHP8.0, the index can show the players, even if they are bots.
But with PHP8.1/2/3, the playermap is unable to work

So, as your code is not updated since 4 years, do you think you can update it and make it working with recent PHP versions?

Thanks a lot.

Best Regards,
V.

@virgo77
Copy link

virgo77 commented Jul 8, 2024

PHP 8.0.30:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants