From Newsgroup: rocksolid.nodes.help
On Sat, 13 Jul 2024 2:25:27 +0000, Anonymous wrote:
I am passing along a bug for Retro Guy. This bug happened during a
fresh install on a clean Debian container. I am able to troubleshoot
somewhat and I will get it running. As courtesy I am informing you
about problem encountered.
Thank you!
Debian Bookworm latest all packages up-to-date with all rslight deps installed.
BUG: /common/setup.php inaccessible after install due to fortunes bug.
FIX: I resolved this by setting fortunes enabled to 'false' in config/fortunes.conf.
With fortunes enabled the setup.php page never shows the admin password
field and setup cannot continue.
With fortunes disabled the full page loads and shows the admin password
entry field.
Fortunes packages are all installed.
Here is the PHP error log entries for the server. Identifying
information is scrubbed. Notice that 'rslight.url' is a placeholder and
not the actual domain in the install or the config. It is placed to
scrub identity information.
AH01797: client denied by server configuration: /home/rslight.url/htdocs/server-status
[proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Fatal error:
Uncaught Error: Call to undefined function passthru() in /home/rslight.url/rslight_data/config/fortunes.conf:24\nStack
trace:\n#0 /home/rslight.url/htdocs/common/header.php(131):
include()\n#1 /home/rslight.url/htdocs/common/head.inc(15): include('...')\n#2 /home/rslight.url/htdocs/common/setup.php(4): include('...')\n#3 {main}\n thrown in /home/rslight.url/rslight_data/config/fortunes.conf
on line 24'
This appears to be the error -> "Call to undefined function passthru()".
function passthru() should be part of php. I run my test server on
Debian Bookworm and passthru seems to be there by default. I just did a
test fresh install, and all went well. I'm running php8.2.
I do see that passthru can be disabled in php config, but the error
would be different:
"passthru() has been disabled for security reasons", which is not the
error you're seeing.
Does someone know why passthru() might not be available? Or am I
misreading the error message?
--
Retro Guy
--- Synchronet 3.21a-Linux NewsLink 1.2