Probably not the cause of the issue BUTlacepockets wrote: Thu Oct 03, 2024 7:57 pm Support Request Template
What is your board's URL? http://white-mage.net/rp
.white-mage.net
(note the leading dot).I'm sorry, I don't know what this means.warmweer wrote: Thu Oct 03, 2024 8:28 pmProbably not the cause of the issue BUTlacepockets wrote: Thu Oct 03, 2024 7:57 pm Support Request Template
What is your board's URL? http://white-mage.net/rp
http://white-mage.net/rp/ automatically loads https:// but you're not using cookie-secure (+ your domain should be.white-mage.net
(note the leading dot).
I uploaded the cookie.php file, but when I navigate to it I get a 403 Forbidden error. I also get that error now on the forum's page itself.P_I wrote: Thu Oct 03, 2024 10:13 pm Take a look at Knowledge Base - Fixing incorrect cookie settings
Code: Select all
[Fri Oct 04 11:23:12.316443 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, phpbb\\template\\twig\\definition given in /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php:607
[Fri Oct 04 11:23:12.316518 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: Stack trace:
[Fri Oct 04 11:23:12.316520 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #0 /home/[redacted]/white-mage.net/rp/cache/production/twig/a9/a9775ac03032c8f1c5edc34415143a2f4484df3e243dc6d4dd23901851e74a6f.php(264): Twig\\Template->getAttribute(Object(phpbb\\template\\twig\\definition), 'STYLESHEETS', Array)
[Fri Oct 04 11:23:12.316527 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #1 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php(455): __TwigTemplate_d6283af7063873e955f601b215d37e81a59bdb4b0541a420cbeaf473b1cf9f28->doDisplay(Array, Array)
[Fri Oct 04 11:23:12.316529 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #2 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php(422): Twig\\Template->displayWithErrorHandling(Array, Array)
[Fri Oct 04 11:23:12.316532 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #3 /home/[redacted]/white-mage.net/rp/cache/production/twig/51/512aa7e2888f5673c87be71e1cd77212e615f93fef1eab662197401aaadd02d8.php(37): Twig\\Template->display(Array)
[Fri Oct 04 11:23:12.316535 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #4 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php(455): __TwigTemplate_f1e81bf7d140c69c5ed24933f6383b71558947231f5d7bdac78ff90fe6017acf->doDisplay(Array, Array)
[Fri Oct 04 11:23:12.316538 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #5 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php(422): Twig\\Template->displayWithErrorHandling(Array, Array)
[Fri Oct 04 11:23:12.316540 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #6 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php(434): Twig\\Template->display(Array)
[Fri Oct 04 11:23:12.316545 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #7 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/TemplateWrapper.php(47): Twig\\Template->render(Array, Array)
[Fri Oct 04 11:23:12.316547 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #8 /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Environment.php(384): Twig\\TemplateWrapper->render(Array)
[Fri Oct 04 11:23:12.316550 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #9 /home/[redacted]/white-mage.net/rp/phpbb/template/twig/environment.php(224): Twig\\Environment->render('index_body.html', Array)
[Fri Oct 04 11:23:12.316552 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #10 /home/[redacted]/white-mage.net/rp/phpbb/template/twig/environment.php(194): phpbb\\template\\twig\\environment->display_with_assets('index_body.html', Array)
[Fri Oct 04 11:23:12.316554 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #11 /home/[redacted]/white-mage.net/rp/phpbb/template/twig/twig.php(317): phpbb\\template\\twig\\environment->display('index_body.html', Array)
[Fri Oct 04 11:23:12.316557 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #12 /home/[redacted]/white-mage.net/rp/includes/functions.php(4806): phpbb\\template\\twig\\twig->display('body')
[Fri Oct 04 11:23:12.316559 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #13 /home/[redacted]/white-mage.net/rp/index.php(257): page_footer()
[Fri Oct 04 11:23:12.316561 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: #14 {main}
[Fri Oct 04 11:23:12.316563 2024] [fcgid:warn] [pid 2093190:tid 140302583039552] [remote 180.195.202.61:6587] mod_fcgid: stderr: thrown in /home/[redacted]/vendor/twig/twig/src/Template.php on line 607
These warnings/errors are related to the style.lacepockets wrote: Fri Oct 04, 2024 6:34 pm I contacted my domain host's tech support. He told me there is "a fatal error in twig" and gave me this error log (and he said there's nothing they can do on their end because it's a third party application):
It's quite an easy way out for tech support to blame the "software".lacepockets wrote: Fri Oct 04, 2024 6:34 pm I contacted my domain host's tech support. He told me there is "a fatal error in twig" and gave me this error log (and he said there's nothing they can do on their end because it's a third party application):
OP says that he installed a fresh version of phpbb and that had an error (I had him do this when messaging on discord before he made the topic), which implies he's getting this error with a clean cache and an unaltered prosilver.
phpBB 3.3.13 is shipped with the Twig 2.16.0 wherelacepockets wrote: Fri Oct 04, 2024 6:34 pm PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, phpbb\\template\\twig\\definition given in /home/[redacted]/white-mage.net/rp/vendor/twig/twig/src/Template.php:607
twig/src/Template.php
only has 435 lines but the error is thrown on line 607.array_key_exists()
call around line 607.vendor
folder from phpBB 3.2.x.https://white-mage.net/rp/styles/prosilver/style.cfg
says it's phpbb_version = 3.2.9
.Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 444: Undefined array key "user_last_active"
SQL ERROR [ mysqli ]
Unknown column 'user_last_active' in 'field list' [1054]
IIRC user_last_active is a 3.3 field and if your database is 3.2 (the original database?) then it's bound to give an error.lacepockets wrote: Sat Oct 05, 2024 2:15 pm ...
I'm not sure what happened there, but I deleted literally everything in the folder again and uploaded from a fresh (extracted) download of 3.3.13, just to be sure of everything, and edited config.php to look at the original database. Now it's giving this error:
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 444: Undefined array key "user_last_active" SQL ERROR [ mysqli ] Unknown column 'user_last_active' in 'field list' [1054]