Thanks @slaw for the fast answerHi,
there was an error on the page.
1. Change in config.local.php
$config['env'] = 'dev';
2. Refresh page.
3. Post the error here.
Warning: require_once(D:\xampp1\htdocs//tools/achievements.php): failed to open stream: No such file or directory in D:\xampp1\htdocs\system\pages\characters.php on line 469
Fatal error: require_once(): Failed opening required 'D:\xampp1\htdocs//tools/achievements.php' (include_path='D:\xampp1\php\PEAR') in D:\xampp1\htdocs\system\pages\characters.php on line 469
Notice: Undefined index: achievements_base in D:\xampp1\htdocs\system\pages\characters.php on line 471
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined index: achievements_base in D:\xampp1\htdocs\system\pages\characters.php on line 471
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined index: achievements_base in D:\xampp1\htdocs\system\pages\characters.php on line 471
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined index: achievements_base in D:\xampp1\htdocs\system\pages\characters.php on line 471
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined index: achievements_base in D:\xampp1\htdocs\system\pages\characters.php on line 471
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined variable: insertAchievement in D:\xampp1\htdocs\system\pages\characters.php on line 486
Notice: Undefined variable: country in D:\xampp1\htdocs\system\pages\characters.php on line 499
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined variable: insertAchievement in D:\xampp1\htdocs\system\pages\characters.php on line 486
The query on line 472 returned false (no results). You need to wrap lines 474 -> 484 in a if statement checking for $achievementPlayer like so:Thanks @slaw for the fast answer!
here are the errors:
Post automatically merged:
now character info shows but still having this errors:
Post automatically merged:
this is the whole code
View attachment 73518
and these are the erros now:
if($achievementPlayer){
...
}
already added that but these are the new errorsAdd in config.php:
'achievements_base' => 300000,
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Trying to access array offset on value of type bool in D:\xampp1\htdocs\system\pages\characters.php on line 474
Notice: Undefined variable: insertAchievement in D:\xampp1\htdocs\system\pages\characters.php on line 486
The query on line 472 returned false (no results). You need to wrap lines 474 -> 484 in a if statement checking for $achievementPlayer like so:
PHP:if($achievementPlayer){ ... }
The query on line 472 returned false (no results). You need to wrap lines 474 -> 484 in a if statement checking for $achievementPlayer like so:
PHP:if($achievementPlayer){ ... }
Yes exactlyalready added that but these are the new errors
Post automatically merged:
View attachment 73522
I think they are already wrapped?
Post automatically merged:
View attachment 73523
you mean doing like this?
thanks! fixedThat line needs to be moved 3 lines to top, just after "];" (next line)