Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Try to relax and enjoy the crisis. -- Ashleigh Brilliant


rocksolid / Rocksolid Nodes Help / rslight bug report - install - setup.php borked by fortunes function

SubjectAuthor
* rslight bug report - install - setup.php borked by fortunes functionAnonymous
`- Re: rslight bug report - install - setup.php borked by fortunes functionRetro Guy

1
Subject: rslight bug report - install - setup.php borked by fortunes function
From: Anonymous
Newsgroups: rocksolid.nodes.help
Organization: To protect and to server
Date: Sat, 13 Jul 2024 02:25 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!newsfeed.bofh.team!paganini.bofh.team!tor-network!not-for-mail
From: invalid@example.com (Anonymous)
Newsgroups: rocksolid.nodes.help
Subject: rslight bug report - install - setup.php borked by fortunes
function
Date: Fri, 12 Jul 2024 21:25:27 -0500
Organization: To protect and to server
Message-ID: <v6soj5$1lldj$1@paganini.bofh.team>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 Jul 2024 02:25:41 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1758643"; posting-host="oRYf9lpokOa+sQF2SPRxMQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
X-Notice: Filtered by postfilter v. 0.9.3
X-TOR-Router: sha256:MjYwNTo2NDAwOjMwOmY1MWE6ZjgyNjplY2ZjOjQ3YjY6OTJhOQ== --
View all headers

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.

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'

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'

[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'

Subject: Re: rslight bug report - install - setup.php borked by fortunes function
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Sat, 13 Jul 2024 11:18 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: rslight bug report - install - setup.php borked by fortunes function
Date: Sat, 13 Jul 2024 11:18:39 +0000
Organization: Rocksolid Light
Message-ID: <f7a28bdb6faaadf613d4cc4657976b5f@www.novabbs.org>
References: <v6soj5$1lldj$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3132391"; mail-complaints-to="usenet@i2pn2.org";
posting-account="gg+dDWHMzVrdxGO9Gmt8aqyeWDXqlxfqiuS0jX/WMXY";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$ZEujDP01ZjczV6IzPOVF3uRVO65xAAZsF856seU.Ug0L1En4b.Vu6
X-Rslight-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
View all headers

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

1

rocksolid light 0.9.8
clearnet tor