• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

AAC Gesior 2012 - Errors after migrating to Ubuntu

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
1,101
Solutions
17
Reaction score
83
Location
Brazil
Hello everyone, everything good?

I had the support of some people (including @Gesior.pl, thanks) to migrate my project from Windows Server 2008 to Ubuntu 18, but I noticed that I now have some constant errors in the apache2 log. Could someone who went through this help me? Apparently it's not affecting the functioning, but it's not an expected enterprise. The error.log file follows.

[Thu Dec 09 13:46:06.353985 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:46:06.354103 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:46:06.354120 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:46:06.354130 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:46:06.354170 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:46:06.354191 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:46:06.354212 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:46:06.354230 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:46:06.354276 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 13:46:06.381574 2021] [php7:warn] [pid 3572] [client 185.191.171.22:29514] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Thu Dec 09 13:52:04.125613 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:52:04.125770 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:52:04.125796 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:52:04.125816 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:52:04.125897 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:52:04.125929 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:52:04.125953 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:52:04.125975 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:52:04.125997 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 13:52:04.229505 2021] [php7:warn] [pid 3577] [client 185.191.171.19:5198] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Thu Dec 09 13:53:08.896763 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:53:08.896843 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:53:08.896858 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:53:08.896869 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:53:08.896927 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:53:08.896944 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:53:08.896956 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:53:08.896987 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:53:08.896998 2021] [php7:warn] [pid 3568] [client 74.122.197.98:54090] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 13:53:36.055535 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:53:36.055637 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:53:36.055664 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:53:36.055686 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:53:36.055753 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:53:36.055772 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:53:36.055783 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:53:36.055793 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:53:36.055803 2021] [php7:warn] [pid 3567] [client 74.122.197.98:54346] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 13:53:40.520797 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:53:40.520917 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:53:40.520946 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:53:40.520967 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:53:40.521035 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:53:40.521062 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:53:40.521083 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:53:40.521100 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:53:40.521208 2021] [php7:warn] [pid 3571] [client 74.122.197.98:54388] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 13:53:42.505870 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:53:42.505944 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:53:42.505958 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:53:42.505968 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:53:42.506007 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:53:42.506022 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:53:42.506033 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:53:42.506043 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:53:42.506053 2021] [php7:warn] [pid 3569] [client 74.122.197.98:54426] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 13:54:24.794207 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 13:54:24.794294 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 13:54:24.794321 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 13:54:24.794341 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 13:54:24.794405 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 13:54:24.794433 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 13:54:24.794454 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 13:54:24.794472 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 13:54:24.794490 2021] [php7:warn] [pid 3577] [client 185.191.171.25:15360] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
 

Attachments

OP
OP
potinho

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
1,101
Solutions
17
Reaction score
83
Location
Brazil
@potinho
Acc. maker folder cache needs rights to write/create files in it:
Code:
chmod -R 777 /var/www/html/cache
already did @Gesior.pl , but gotting errors in load.compat.php, look:


[Thu Dec 09 18:19:04.068005 2021] [php7:warn] [pid 4700] [client 185.191.171.1:29740] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:20:41.737440 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:20:41.737537 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:20:41.737567 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:20:41.737588 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:20:41.737654 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:20:41.737680 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:20:41.737700 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:20:41.737721 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:20:41.737739 2021] [php7:warn] [pid 4605] [client 157.55.39.16:8640] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:21:01.847237 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:21:01.847327 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:21:01.847355 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:21:01.847379 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:21:01.847490 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:21:01.847512 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:21:01.847536 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:21:01.847567 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:21:01.847591 2021] [php7:warn] [pid 4702] [client 157.55.39.154:34752] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:24:11.855064 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:24:11.855164 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:24:11.855180 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:24:11.855191 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:24:11.855233 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:24:11.855249 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:24:11.855261 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:24:11.855272 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:24:11.855282 2021] [php7:warn] [pid 4385] [client 66.249.72.139:39751] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:24:30.663863 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:24:30.663933 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:24:30.663947 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:24:30.663958 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:24:30.663995 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:24:30.664009 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:24:30.664030 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:24:30.664041 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:24:30.664051 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:24:30.671832 2021] [php7:warn] [pid 4613] [client 185.191.171.33:44098] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Thu Dec 09 18:30:01.556870 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:30:01.556955 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:30:01.556970 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:30:01.556981 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:30:01.557021 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:30:01.557036 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:30:01.557048 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:30:01.557059 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:30:01.557069 2021] [php7:warn] [pid 4690] [client 66.249.72.139:60844] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:31:41.872761 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:31:41.872868 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:31:41.872885 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:31:41.872896 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:31:41.872952 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:31:41.872969 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:31:41.872981 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:31:41.872993 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:31:41.873004 2021] [php7:warn] [pid 4702] [client 66.249.72.141:58663] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
[Thu Dec 09 18:34:41.065522 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fopen(cache/DONT_EDIT_serverstatus.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 266
[Thu Dec 09 18:34:41.065616 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 273
[Thu Dec 09 18:34:41.065632 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 274
[Thu Dec 09 18:34:41.065643 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 275
[Thu Dec 09 18:34:41.065682 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fopen(cache/DONT_EDIT_usercounter.txt): failed to open stream: Permission denied in /var/www/html/system/load.compat.php on line 282
[Thu Dec 09 18:34:41.065698 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 283
[Thu Dec 09 18:34:41.065710 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 285
[Thu Dec 09 18:34:41.065721 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 286
[Thu Dec 09 18:34:41.065731 2021] [php7:warn] [pid 4613] [client 185.191.171.10:20052] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/system/load.compat.php on line 287
 
OP
OP
potinho

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
1,101
Solutions
17
Reaction score
83
Location
Brazil
Now im gotting this erros:

[Fri Dec 10 10:58:23.545828 2021] [php7:warn] [pid 8801] [client 74.122.197.98:58608] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Fri Dec 10 11:00:35.520971 2021] [php7:warn] [pid 8796] [client 177.100.191.9:59012] PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /var/www/html/system/load.login.php on line 16, referer: Accountmanagement - ExtremeOT (https://extremeot.com.br/?subtopic=accountmanagement)
[Fri Dec 10 11:00:37.178536 2021] [php7:warn] [pid 8793] [client 177.100.191.9:59016] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286, referer: Accountmanagement - ExtremeOT (https://extremeot.com.br/?subtopic=accountmanagement)
[Fri Dec 10 11:00:43.766511 2021] [php7:warn] [pid 8800] [client 177.100.191.9:59018] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286, referer: Characters - ExtremeOT (https://extremeot.com.br/?subtopic=characters&name=Leeon)
[Fri Dec 10 11:00:46.154695 2021] [php7:warn] [pid 8800] [client 177.100.191.9:59018] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286, referer: Characters - ExtremeOT (https://extremeot.com.br/?subtopic=characters&name=Compadre%20Washington)
[Fri Dec 10 11:00:47.470945 2021] [php7:warn] [pid 8796] [client 177.100.191.9:11725] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286, referer: Characters - ExtremeOT (https://extremeot.com.br/?subtopic=characters&name=Tomy%20Hits)
[Fri Dec 10 11:00:49.837003 2021] [php7:warn] [pid 8799] [client 177.100.191.9:59020] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286, referer: Characters - ExtremeOT (https://extremeot.com.br/?subtopic=characters&name=Godofredo)
[Fri Dec 10 11:00:59.268222 2021] [php7:warn] [pid 8799] [client 177.100.191.9:59034] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286, referer: Highscores - ExtremeOT (https://extremeot.com.br/?subtopic=highscores)
[Fri Dec 10 11:01:10.564401 2021] [php7:warn] [pid 8800] [client 157.55.39.154:35776] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/whoisonline.php on line 37



Follow my characters.php
 

Attachments

Last edited:
OP
OP
potinho

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
1,101
Solutions
17
Reaction score
83
Location
Brazil
Still gotting this error:

[Tue Dec 14 14:16:16.158564 2021] [php7:warn] [pid 29173] [client 216.244.66.227:47474] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:17:31.855104 2021] [php7:warn] [pid 29174] [client 216.244.66.227:59804] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:17:32.692801 2021] [php7:warn] [pid 28702] [client 185.191.171.3:62528] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:18:59.149313 2021] [php7:warn] [pid 28752] [client 216.244.66.227:51162] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:36:54.773542 2021] [php7:warn] [pid 28702] [client 51.222.253.2:50040] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:39:55.814733 2021] [php7:warn] [pid 28838] [client 186.219.190.155:48827] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/whoisonline.php on line 37, referer: Wiki - ExtremeOT (https://extremeot.com.br/?subtopic=wiki)
[Tue Dec 14 14:40:58.220821 2021] [php7:warn] [pid 28702] [client 185.191.171.37:8116] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:47:33.122124 2021] [php7:warn] [pid 29172] [client 185.191.171.14:59846] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:50:46.619260 2021] [php7:warn] [pid 29173] [client 185.191.171.22:62056] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:55:31.218967 2021] [php7:warn] [pid 28844] [client 185.191.171.8:21438] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:56:24.692964 2021] [php7:warn] [pid 28702] [client 66.249.70.141:38906] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 14:58:28.798296 2021] [php7:warn] [pid 29335] [client 216.244.66.227:40268] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 15:01:57.873556 2021] [php7:warn] [pid 28838] [client 216.244.66.227:37066] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 15:02:14.592674 2021] [php7:warn] [pid 28844] [client 185.191.171.38:54490] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 15:06:34.250176 2021] [php7:warn] [pid 29335] [client 185.191.171.43:36734] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 15:10:07.458524 2021] [php7:warn] [pid 29172] [client 185.191.171.36:27402] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 15:15:15.775139 2021] [php7:warn] [pid 29335] [client 185.191.171.18:38768] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
[Tue Dec 14 15:15:54.758304 2021] [php7:warn] [pid 28838] [client 157.55.39.11:28288] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
 

slaw

MyAAC Creator
Joined
Aug 27, 2007
Messages
3,442
Solutions
111
Reaction score
880
Location
Germany
GitHub
slawkens
Twitch
PL_Flamaster
I wish you really much luck and prey to the God that someone helps you with this old software, that is not supported anymore.
Post automatically merged:

I suggest migrating to Znote or MyAAC.
 
OP
OP
potinho

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
1,101
Solutions
17
Reaction score
83
Location
Brazil
I wish you really much luck and prey to the God that someone helps you with this old software, that is not supported anymore.
Post automatically merged:

I suggest migrating to Znote or MyAAC.
thanks for tip, but made a lot of changes, will continue with Gesior ^^
 

slaw

MyAAC Creator
Joined
Aug 27, 2007
Messages
3,442
Solutions
111
Reaction score
880
Location
Germany
GitHub
slawkens
Twitch
PL_Flamaster
@Gesior.pl already told you the solution, your have problem with file privileges.

You need to set correct permissions.

So just execute this command he posted.

I post it here one more time:

Bash:
chmod -R 777 /var/www/html/cache

This command set all permissions (777) for folder and all subfolders and subfiles.
This is not the best solution for this problem, but if it works, then why not.

If you have executed it, then you shouldn't have any warning/error logs any more.

BUT

If that still doesn't work, then show me what following command outputs:
Bash:
ls -lha /var/www/html/
 
OP
OP
potinho

potinho

Well-Known Member
Joined
Oct 11, 2009
Messages
1,101
Solutions
17
Reaction score
83
Location
Brazil
@Gesior.pl already told you the solution, your have problem with file privileges.

You need to set correct permissions.

So just execute this command he posted.

I post it here one more time:

Bash:
chmod -R 777 /var/www/html/cache

This command set all permissions (777) for folder and all subfolders and subfiles.
This is not the best solution for this problem, but if it works, then why not.

If you have executed it, then you shouldn't have any warning/error logs any more.

BUT

If that still doesn't work, then show me what following command outputs:
Bash:
ls -lha /var/www/html/
Already did permission thing (first thing i done)

1640084294806.png

Output for your command:

1640084335377.png
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,743
Solutions
86
Reaction score
2,740
Location
Poland
GitHub
gesior
About count() warnings:
Code:
 PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/pages/characters.php on line 286
If you are not planning to rewrite most of acc. maker: disable warnings in PHP.
In Gesior2012 there is already code to disable 'notices' ( Gesior2012/index.php at master · gesior/Gesior2012 (https://github.com/gesior/Gesior2012/blob/master/index.php#L3) )
Code:
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);
You can add there ^ E_WARNING to disable warnings:
Code:
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE ^ E_WARNING);
 
Top