Open Wolfseye opened 6 years ago
It's a configuration problem on your end. You need to allow write permission for the folder /cache/SQL.
There are many tuts out there for this. But for a quick test you could try to change the cache location
From FileSystemCache::$cacheDir = $dir.'/../cache'; To FileSystemCache::$cacheDir = '/tmp/player_analytics';
in app.php https://github.com/theChaosCoder/player_analytics/blob/master/inc/app.php#L34
Thanks, the first reply solved it all. Funny was just, there was no cache folder. And I didnt read that there had to be one in any of the documentation. Now its solved, both issues. ;)
Perfect. There was no folder, because it couldn't create one ;-)
Although now that I installed the plugin on multiple on my Servers, i notice that it works as in players etc is counted. Although it still says in the list of Servers only one server, the one i tested it with internally last night. So that IP / Port is in the list. Why, now that it is running on multiple servers, and multiple players already playing with the plugin running, are the other server ips not listed yet ? Any idea maybe ?
In those colored fields, it now say 4 Servers, but in that drop down list, there is still only the one. Does it take time for a server to get in there ?
try to delete all cache files
I'm pretty sure that I cache the servers ips since it is an expensive query on large DBs. I had over 4mio entries.
Cant get rid of the cache files because they have different user/permission on FTP since they were created by the script. And if I change owner permission of that folder, I am not sure if it still works with the writing the cache. So far in the pull down menu, its still only 1 server. On the colored fields, all the servers are now correctly counted.
See more in the Forum:
https://forums.alliedmods.net/showpost.php?p=2574370&postcount=336
I would appreciate any help. Thank you.