Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Just go with the flow control, roll with the crunches, and, when you get a prompt, type like hell.


computers / Rocksolid Nodes Help / Re: p.s. - update - rslite error - page 'common/register.php' shows no

SubjectAuthor
* rslite error - page 'common/register.php' shows no registrationsugarbug
`* p.s. - update - rslite error - page 'common/register.php' shows nosugarbug
 +- p.p.s. - update - rslite error - page 'common/register.php' showssugarbug
 `* p.s. - update - rslite error - page 'common/register.php' showsRetro Guy
  `* p.s. - update - rslite error - page 'common/register.php' showssugarbug
   `* p.s. - update - rslite error - page 'common/register.php' shows noRetro Guy
    +- p.s. - update - rslite error - page 'common/register.php' showssugarbug
    `* p.s. - update - rslite error - page 'common/register.php' showssugarbug
     `* p.s. - update - rslite error - page 'common/register.php' shows noRetro Guy
      `* p.s. - update - rslite error - page 'common/register.php' showssugarbug
       `- p.s. - update - rslite error - page 'common/register.php' shows noRetro Guy

1
rslite error - page 'common/register.php' shows no registration form

<tvbif1$4r8$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=241&group=rocksolid.nodes.help#241

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.166.70.207.2!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: rslite error - page 'common/register.php' shows no registration
form
Date: Tue, 21 Mar 2023 01:22:46 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvbif1$4r8$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 06:22:25 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="166.70.207.2";
logging-data="4968"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Tue, 21 Mar 2023 06:22 UTC

These are the steps taken on a local test box:

- configured apache2 and php.
- ran the debian install script with default options.
- accepted and saved default config at 'common/setup.php'.
- ran the first cron command manually without networking on

The file 'common/register.php has the page header in web browser but no
registration form. The rest of the page is blank. I viewed html source.
There are no form elements in the html.

I did all the usual: clear cache and cookies, restart everything,
reboot. Still no registration form appears on the page.

Did I miss a setting in the setup or something in a config file?

Here is cron.php output (ignore the connection errors):

command
=======

$> cd /var/www/html/rocksolid/spoolnews/ && sudo bash -lc "php
/etc/rocksolid/scripts/cron.php"

output
======

Updated user count
Sending articles
<p><font color="red">Error:</font></p><p>The connection to the
Newsserver failed</p>Refreshed spoolnews Expired articles
Sending articles
<p><font color="red">Error:</font></p><p>The connection to the
Newsserver failed</p>Refreshed spoolnews Expired articles
RSS Feeds updated
Log files rotated
Keys rotated

p.s. - update - rslite error - page 'common/register.php' shows no registration form

<tvbuvi$s41$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=242&group=rocksolid.nodes.help#242

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.tor-exit-15.zbau.f3netze.de!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: p.s. - update - rslite error - page 'common/register.php' shows no
registration form
Date: Tue, 21 Mar 2023 04:56:23 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvbuvi$s41$1@novabbs.org>
References: <tvbif1$4r8$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 09:56:02 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="tor-exit-15.zbau.f3netze.de:2a0b:f4c0:16c:15::1";
logging-data="28801"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Tue, 21 Mar 2023 09:56 UTC

After syncing a couple groups with the novabbs server, the html pages
rendered by the local rslight install are still missing elements and
data.

The registration page is blank, with just the header and no
registration form.

The main index page does not list the groups or messages. It shows the
header, then the table headings, and then "Total messages" but shows no
links to the messages or groups.

The mail and login pages do show the login form, unlike the
registration page, which is blank with just the header.

Here is the full HTML output of 'common/register.php' in the web
browser:

<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=">

<html>
<head>
<script type="text/javascript">
if (navigator.cookieEnabled)
document.cookie = "tzo="+ (- new Date().getTimezoneOffset())+";
path=/";
</script>
<link rel="stylesheet" type="text/css" href="../common/themes/Default
Theme/style.css"> </head>
<body>
<table width="100%" valign="middle">
<tr>
<td width="30%">
<a href="/rocksolid/index.php"><img
src="../common/images/rocksolidlight.png" alt="Rocksolid Light" class="responsive_image"></a>
</td>
<td>

<p align="left"><small>
<font class="np_title">
SugarBug News Forum
</font>
</small></p>
</td>
<td align="right">
<a href="/spoolnews/mail.php">mail</a>&nbsp;&nbsp<a
href="/spoolnews/files.php">files</a>&nbsp;&nbsp<a href="/common/register.php">register</a>&nbsp;&nbsp<a href="/common/nodelist.php">nodelist</a>&nbsp;&nbsp<a href="/common/faq.txt">faq</a>&nbsp;&nbsp<a href="../spoolnews/user.php">login</a> </td>
</tr>
</table>
<p align="center"><table cellpadding="0" cellspacing="0"
class="np_header_bar_large"><tr><td><form target="" action="../rocksolid"><button class="np_header_button_link" type="submit">rocksolid</button></form></td></tr></table><table cellpadding="0" cellspacing="0" class="np_header_bar_small"><tr><td><form target="" action="../rocksolid"><button class="np_header_button_link" type="submit">rocksolid</button></form></td></tr></table></p></body></html>
<hr></head>

p.p.s. - update - rslite error - page 'common/register.php' shows no registration form

<tvc03v$s41$2@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=243&group=rocksolid.nodes.help#243

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.tor-exit-15.zbau.f3netze.de!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: p.p.s. - update - rslite error - page 'common/register.php' shows
no registration form
Date: Tue, 21 Mar 2023 05:15:48 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvc03v$s41$2@novabbs.org>
References: <tvbif1$4r8$1@novabbs.org>
<tvbuvi$s41$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 10:15:28 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="tor-exit-15.zbau.f3netze.de:2a0b:f4c0:16c:15::1";
logging-data="28801"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Tue, 21 Mar 2023 10:15 UTC

Ugh, I hit send before providing all the information ... doh!

arch: Debian Bullseye
server: apache2
php: php7.4

The same errors occur installed with sqlite or tradspool storage.

Here is the full phpinfo() dump minus the time data and latitude /
longitude data:

PHP Version 7.4.33

System Linux dev 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1
(2023-01-21) x86_64
Build Date Feb 22 2023 20:07:47
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/7.4/apache2
Loaded Configuration File /etc/php/7.4/apache2/php.ini
Scan this dir for additional .ini files /etc/php/7.4/apache2/conf.d
Additional .ini files parsed
/etc/php/7.4/apache2/conf.d/10-opcache.ini,
/etc/php/7.4/apache2/conf.d/10-pdo.ini,
/etc/php/7.4/apache2/conf.d/15-xml.ini,
/etc/php/7.4/apache2/conf.d/20-calendar.ini,
/etc/php/7.4/apache2/conf.d/20-ctype.ini,
/etc/php/7.4/apache2/conf.d/20-dom.ini,
/etc/php/7.4/apache2/conf.d/20-exif.ini,
/etc/php/7.4/apache2/conf.d/20-ffi.ini,
/etc/php/7.4/apache2/conf.d/20-fileinfo.ini,
/etc/php/7.4/apache2/conf.d/20-ftp.ini,
/etc/php/7.4/apache2/conf.d/20-gettext.ini,
/etc/php/7.4/apache2/conf.d/20-iconv.ini,
/etc/php/7.4/apache2/conf.d/20-json.ini,
/etc/php/7.4/apache2/conf.d/20-mbstring.ini,
/etc/php/7.4/apache2/conf.d/20-pdo_sqlite.ini,
/etc/php/7.4/apache2/conf.d/20-phar.ini,
/etc/php/7.4/apache2/conf.d/20-posix.ini,
/etc/php/7.4/apache2/conf.d/20-readline.ini,
/etc/php/7.4/apache2/conf.d/20-shmop.ini,
/etc/php/7.4/apache2/conf.d/20-simplexml.ini,
/etc/php/7.4/apache2/conf.d/20-sockets.ini,
/etc/php/7.4/apache2/conf.d/20-sqlite3.ini,
/etc/php/7.4/apache2/conf.d/20-sysvmsg.ini,
/etc/php/7.4/apache2/conf.d/20-sysvsem.ini,
/etc/php/7.4/apache2/conf.d/20-sysvshm.ini,
/etc/php/7.4/apache2/conf.d/20-tokenizer.ini,
/etc/php/7.4/apache2/conf.d/20-xmlreader.ini,
/etc/php/7.4/apache2/conf.d/20-xmlwriter.ini,
/etc/php/7.4/apache2/conf.d/20-xsl.ini
PHP API 20190902
PHP Extension 20190902
Zend Extension 320190902
Zend Extension Build API320190902,NTS
PHP Extension Build API20190902,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling enabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support available, disabled
Registered PHP Streams https, ftps, compress.zlib, php, file, glob,
data, http, ftp, phar
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, tls,
tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters zlib.*, string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, dechunk,
convert.iconv.*
[2]Zend logo This program makes use of the Zend Scripting Language
Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
__________________________________________________________________

Configuration

apache2handler

Apache Version Apache/2.4.54 (Debian)
Apache API Version 20120211
Server Administrator webmaster@localhost
Hostname:Port 127.0.1.1:80
User/Group www-data(33)/33
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server Yes
Server Root /etc/apache2
Loaded Modules core mod_so mod_watchdog http_core mod_log_config
mod_logio mod_version mod_unixd mod_access_compat mod_alias
mod_auth_basic mod_authn_core mod_authn_file mod_authz_core
mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir
mod_env mod_filter mod_mime prefork mod_negotiation mod_php7
mod_reqtimeout mod_setenvif mod_status
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment

Variable Value
HTTP_HOST localhost
HTTP_ACCEPT text/html, text/plain, text/sgml, */*;q=0.01
HTTP_ACCEPT_LANGUAGE en
HTTP_USER_AGENT Lynx/2.9.0dev.6 libwww-FM/2.14 SSL-MM/1.4.1
GNUTLS/3.7.1
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.54 (Debian) Server at localhost
Port 80</address>
SERVER_SOFTWARE Apache/2.4.54 (Debian)
SERVER_NAME localhost
SERVER_ADDR ::1
SERVER_PORT 80
REMOTE_ADDR ::1
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX no value
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/hello.php
REMOTE_PORT 60754
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /hello.php
SCRIPT_NAME /hello.php

HTTP Headers Information

HTTP Request Headers
HTTP Request GET /hello.php HTTP/1.0
Host localhost
Accept text/html, text/plain, text/sgml, */*;q=0.01
Accept-Language en
User-Agent Lynx/2.9.0dev.6 libwww-FM/2.14 SSL-MM/1.4.1
GNUTLS/3.7.1 HTTP Response Headers

calendar

Calendar support enabled

Core

PHP Version 7.4.33
Directive Local Value Master Value
allow_url_fopen On On
allow_url_include Off Off
arg_separator.input & &
arg_separator.output & &
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset UTF-8 UTF-8
default_mimetype text/html text/html
disable_classes no value no value
disable_functions
pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_w
ifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_
wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_sig
nal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcnt
l_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_set
priority,pcntl_async_signals,pcntl_unshare,
pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_w
ifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_
wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_sig
nal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcnt
l_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_set
priority,pcntl_async_signals,pcntl_unshare,
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
enable_post_data_reading On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 22527 22527
expose_php Off Off
extension_dir /usr/lib/php/20190902 /usr/lib/php/20190902
file_uploads On On
hard_timeout 2 2
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/php .:/usr/share/php
input_encoding no value no value
internal_encoding no value no value
log_errors On On
log_errors_max_len 1024 1024
mail.add_x_header Off Off
mail.force_extra_parameters no value no value
mail.log no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
max_input_vars 1000 1000
max_multipart_body_parts -1 -1
memory_limit 128M 128M
open_basedir no value no value
output_buffering 4096 4096
output_encoding no value no value
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 4096K 4096K
realpath_cache_ttl 120 120
register_argc_argv Off Off
report_memleaks On On
report_zend_debug On On
request_order GP GP
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision -1 -1
short_open_tag Off Off
SMTP localhost localhost
smtp_port 25 25
sys_temp_dir no value no value
syslog.facility LOG_USER LOG_USER
syslog.filter no-ctrl no-ctrl
syslog.ident php php
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
zend.assertions -1 -1
zend.detect_unicode On On
zend.enable_gc On On
zend.exception_ignore_args On On
zend.multibyte Off Off
zend.script_encoding no value no value
zend.signal_check Off Off


Click here to read the complete article
Re: p.s. - update - rslite error - page 'common/register.php' shows no

<20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=244&group=rocksolid.nodes.help#244

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows
no
Date: Tue, 21 Mar 2023 13:06:24 -0700
Organization: Rocksolid Light
Message-ID: <20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com>
References: <tvbif1$4r8$1@novabbs.org>
<tvbuvi$s41$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="11754"; mail-complaints-to="usenet@i2pn2.org"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: Retro Guy - Tue, 21 Mar 2023 20:06 UTC

On Tue, 21 Mar 2023 04:56:23 -0500
sugarbug <sugarbug3883@mail.ru> wrote:

> After syncing a couple groups with the novabbs server, the html pages
> rendered by the local rslight install are still missing elements and
> data.
>
> The registration page is blank, with just the header and no
> registration form.
>
> The main index page does not list the groups or messages. It shows the
> header, then the table headings, and then "Total messages" but shows no
> links to the messages or groups.
>
> The mail and login pages do show the login form, unlike the
> registration page, which is blank with just the header.

Well, that's disappointing!

Thanks for sending so much info, it is helpful.

1. The main index of groups will not show any groups for a while after first
install. It takes maybe 60 minutes of cron.php running every 5 minutes or so
to start displaying information on the page. I'm hoping that this is the issue
with the main index page.

2. The register.php page is odd. It looks like it's just stopping at a random location
and I don't know why.

Questions:

Did you install the latest version from Github? https://github.com/novabbs/rocksolid-light/archive/refs/heads/master.zip

What does the version say at the bottom of a page (if that even displays)?

What browser/version are you using?

Do you have any useful apache error logs when you try to load register.php? Or any page?

I'm running php7.4 on some of my sites, so that shouldn't be a problem. I'm NOT running
apache (using nginx), so have not tested apace in several years.

I'm going to create a bullseye/apache2 VM and try an install myself.

If the main groups page eventually loads ok, is it then ONLY register.php that's not working?

--
Retro Guy <retroguy@novabbs.com>

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<tvdaq2$ut3$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=246&group=rocksolid.nodes.help#246

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.2a0b:f4c2:1::1!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows
no
Date: Tue, 21 Mar 2023 17:24:25 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvdaq2$ut3$1@novabbs.org>
References: <tvbif1$4r8$1@novabbs.org>
<tvbuvi$s41$1@novabbs.org>
<20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 22:24:02 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="2a0b:f4c2:1::1";
logging-data="31651"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Tue, 21 Mar 2023 22:24 UTC

On Tue, 21 Mar 2023 13:06:24 -0700
Retro Guy <retroguy@novabbs.com> wrote:

> On Tue, 21 Mar 2023 04:56:23 -0500
> sugarbug <sugarbug3883@mail.ru> wrote:
>
> > After syncing a couple groups with the novabbs server, the html
> > pages rendered by the local rslight install are still missing
> > elements and data.
> >
> > The registration page is blank, with just the header and no
> > registration form.
> >
> > The main index page does not list the groups or messages. It shows
> > the header, then the table headings, and then "Total messages" but
> > shows no links to the messages or groups.
> >
> > The mail and login pages do show the login form, unlike the
> > registration page, which is blank with just the header.
>
> Well, that's disappointing!
>
> Thanks for sending so much info, it is helpful.
>
> 1. The main index of groups will not show any groups for a while
> after first install. It takes maybe 60 minutes of cron.php running
> every 5 minutes or so to start displaying information on the page.
> I'm hoping that this is the issue with the main index page.
>
> 2. The register.php page is odd. It looks like it's just stopping at
> a random location and I don't know why.
>
> Questions:
>
> Did you install the latest version from Github?
> https://github.com/novabbs/rocksolid-light/archive/refs/heads/master.zip
>
> What does the version say at the bottom of a page (if that even
> displays)?

version is: rocksolid light 0.7.2

commit 832316a13e0719b78401674b0b64d66fa4fdbcd7

Version does not display on register page. It was the latest version,
freshly pulled from github last evening.

>
> What browser/version are you using?

Every browser tested. All the same. Firefox, Chromium,
Falkon.

>
> Do you have any useful apache error logs when you try to load
> register.php? Or any page?

Yes, the imagecreate() func and others are failing due to uncompface
call.

:~$ which uncompface
/usr/bin/uncompface

[php7:error] [pid 790] [client
::1:59434] PHP Fatal error: Uncaught Error: Call to undefined function
imagecreatefromxbm() in
/var/www/html/rocksolid/lib/message.inc.php:637\nStack trace:\n#0
/var/www/html/rocksolid/article-flat.php(154): message_show()\n#1
{main}\n thrown in /var/www/html/rocksolid/lib/message.inc.php on line
637, referer: http://localhost/rocksolid/overboard.php? sh: 1:
uncompface: not found

[php7:error] [pid 818] [client
127.0.0.1:42816] PHP Fatal error: Uncaught Error: Call to undefined
function imagecreate() in /var/www/html/common/register.php:434\nStack
trace:\n#0 /var/www/html/common/register.php(463): generateImage()\n#1
/var/www/html/common/register.php(29): prepareCaptcha()\n#2 {main}\n
thrown in /var/www/html/common/register.php on line 434, referer:
http://localhost/rocksolid/index.php root@local:/var/log/apache2#

There was also an error about the fortune cookies due to missing
dependency and installing 'fortunes' cleared that up. That didn't seem
to break the site, however.
> I'm running php7.4 on some of my sites, so that shouldn't be a
> problem. I'm NOT running apache (using nginx), so have not tested
> apace in several years.
>
> I'm going to create a bullseye/apache2 VM and try an install myself.
>
> If the main groups page eventually loads ok, is it then ONLY
> register.php that's not working?

No, the main index page lists nothing in the messages section. It has a
overboard button but lists nothing. The list of groups is empty. If I
click the overboard button it takes me to latest pages list. But no
list of groups.

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=247&group=rocksolid.nodes.help#247

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows no
Date: Wed, 22 Mar 2023 02:01:35 +0000
Organization: Rocksolid Light
Message-ID: <047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org>
References: <tvbif1$4r8$1@novabbs.org> <tvbuvi$s41$1@novabbs.org> <20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com> <tvdaq2$ut3$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="21741"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$4yrmjJK/h4fleWxYwKmhS.QXdN5Sy8pZxR3xd4XX0gwlX0Yox0CVO
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
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|
 by: Retro Guy - Wed, 22 Mar 2023 02:01 UTC

sugarbug wrote:

> On Tue, 21 Mar 2023 13:06:24 -0700
> Retro Guy <retroguy@novabbs.com> wrote:

>> On Tue, 21 Mar 2023 04:56:23 -0500
>> sugarbug <sugarbug3883@mail.ru> wrote:
>>
>> > After syncing a couple groups with the novabbs server, the html
>> > pages rendered by the local rslight install are still missing
>> > elements and data.
>> >
>> > The registration page is blank, with just the header and no
>> > registration form.
>> >
>> > The main index page does not list the groups or messages. It shows
>> > the header, then the table headings, and then "Total messages" but
>> > shows no links to the messages or groups.
>> >
>> > The mail and login pages do show the login form, unlike the
>> > registration page, which is blank with just the header.
>>
>> Well, that's disappointing!
>>
>> Thanks for sending so much info, it is helpful.
>>
>> 1. The main index of groups will not show any groups for a while
>> after first install. It takes maybe 60 minutes of cron.php running
>> every 5 minutes or so to start displaying information on the page.
>> I'm hoping that this is the issue with the main index page.
>>
>> 2. The register.php page is odd. It looks like it's just stopping at
>> a random location and I don't know why.
>>
>> Questions:

>>
>> Do you have any useful apache error logs when you try to load
>> register.php? Or any page?

> Yes, the imagecreate() func and others are failing due to uncompface
> call.

> :~$ which uncompface
> /usr/bin/uncompface

> [php7:error] [pid 790] [client
> ::1:59434] PHP Fatal error: Uncaught Error: Call to undefined function
> imagecreatefromxbm() in
> /var/www/html/rocksolid/lib/message.inc.php:637nStack trace:n#0
> /var/www/html/rocksolid/article-flat.php(154): message_show()n#1
> {main}n thrown in /var/www/html/rocksolid/lib/message.inc.php on line
> 637, referer: http://localhost/rocksolid/overboard.php? sh: 1:
> uncompface: not found

> [php7:error] [pid 818] [client
> 127.0.0.1:42816] PHP Fatal error: Uncaught Error: Call to undefined
> function imagecreate() in /var/www/html/common/register.php:434nStack
> trace:n#0 /var/www/html/common/register.php(463): generateImage()n#1
> /var/www/html/common/register.php(29): prepareCaptcha()n#2 {main}n
> thrown in /var/www/html/common/register.php on line 434, referer:
> http://localhost/rocksolid/index.php root@local:/var/log/apache2#

I should add a check for compface as it's not critical, but it looks
like you have it. Is it in your web server's path?

Do you have php-gd installed? For captcha in register.php.

Could you try to edit /var/www/html/rocksolid/lib/message.inc.php
at line 635, adding the full path for your machine? If that works,
I'll fix the code:

Line 635:
$uncompface = 'uncompface -X '.$facefile.' '.$xbmfile;
To:
$uncompface = '/usr/bin/uncompface -X '.$facefile.' '.$xbmfile;

> There was also an error about the fortune cookies due to missing
> dependency and installing 'fortunes' cleared that up. That didn't seem
> to break the site, however.

I should also run a check for fortunes.

>> I'm running php7.4 on some of my sites, so that shouldn't be a
>> problem. I'm NOT running apache (using nginx), so have not tested
>> apace in several years.
>>
>> I'm going to create a bullseye/apache2 VM and try an install myself.
>>
>> If the main groups page eventually loads ok, is it then ONLY
>> register.php that's not working?

> No, the main index page lists nothing in the messages section. It has a
> overboard button but lists nothing. The list of groups is empty. If I
> click the overboard button it takes me to latest pages list. But no
> list of groups.

This could be php-gd missing, or not running long enough. Other than that,
it should work fine.

I'll have the VM running tomorrow (Wed) and will try to duplicate the issues.

--
Retro Guy

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<tvduot$99f$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=248&group=rocksolid.nodes.help#248

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.2001:67c:289c::25!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows
no
Date: Tue, 21 Mar 2023 23:05:07 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvduot$99f$1@novabbs.org>
References: <tvbif1$4r8$1@novabbs.org>
<tvbuvi$s41$1@novabbs.org>
<20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com>
<tvdaq2$ut3$1@novabbs.org>
<047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 Mar 2023 04:04:45 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="2001:67c:289c::25";
logging-data="9519"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Wed, 22 Mar 2023 04:05 UTC

On Wed, 22 Mar 2023 02:01:35 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> Do you have php-gd installed? For captcha in register.php.

This was not installed. After install of php-gd, and restart of
apache2, then the register.php page with captcha renders in the browser.

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<tve011$frd$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=249&group=rocksolid.nodes.help#249

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.tor-exit-16.zbau.f3netze.de!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows
no
Date: Tue, 21 Mar 2023 23:26:26 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tve011$frd$1@novabbs.org>
References: <tvbif1$4r8$1@novabbs.org>
<tvbuvi$s41$1@novabbs.org>
<20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com>
<tvdaq2$ut3$1@novabbs.org>
<047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 Mar 2023 04:26:09 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="tor-exit-16.zbau.f3netze.de:2a0b:f4c0:16c:16::1";
logging-data="16237"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Wed, 22 Mar 2023 04:26 UTC

On Wed, 22 Mar 2023 02:01:35 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> This could be php-gd missing, or not running long enough. Other than
> that, it should work fine.
>
> I'll have the VM running tomorrow (Wed) and will try to duplicate the
> issues.

The 'php-gd' install appears to fix it.

One more detail: what is the exact name of the required phpmailer
package on Debian? I have: 'libphp-phpmailer' installed. I assume that
rslite doesn't fall back to the php mail() function if this package is
absent. Is that right?

:~$ apt show libphp-phpmailer
Package: libphp-phpmailer
Version: 6.2.0-2
Priority: optional
Section: php
Maintainer: Debian PHP PEAR Maintainers
<pkg-php-pear@lists.alioth.debian.org> Installed-Size: 378 kB
Depends: php-common
Suggests: mail-transport-agent, php-mbstring,
php-hayageek-oauth2-yahoo, php-league-oauth2-google, php-psr-log,
php-stevenmaguire-oauth2-microsoft Homepage:
https://github.com/PHPMailer/PHPMailer Tag: implemented-in::php,
mail::transport-agent, protocol::smtp, role::program, role::shared-lib,
works-with::mail Download-Size: 76.5 kB APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian bullseye/main amd64 Packages

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<7aaedc23d28cff55edddf5369b7f7744@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=251&group=rocksolid.nodes.help#251

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows no
Date: Wed, 22 Mar 2023 15:07:51 +0000
Organization: Rocksolid Light
Message-ID: <7aaedc23d28cff55edddf5369b7f7744@news.novabbs.org>
References: <tvbif1$4r8$1@novabbs.org> <tvbuvi$s41$1@novabbs.org> <20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com> <tvdaq2$ut3$1@novabbs.org> <047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org> <tve011$frd$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="13870"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$OWiZ1C5w/xbRH8zrUHi/VeOSnpuhetbcMpasJIkgT8XTOqpRWFW4e
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
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|
 by: Retro Guy - Wed, 22 Mar 2023 15:07 UTC

sugarbug wrote:

> On Wed, 22 Mar 2023 02:01:35 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>> This could be php-gd missing, or not running long enough. Other than
>> that, it should work fine.
>>
>> I'll have the VM running tomorrow (Wed) and will try to duplicate the
>> issues.

> The 'php-gd' install appears to fix it.

Great!

> One more detail: what is the exact name of the required phpmailer
> package on Debian? I have: 'libphp-phpmailer' installed. I assume that
> rslite doesn't fall back to the php mail() function if this package is
> absent. Is that right?

It is libphp-phpmailer, as you list above.

rslight does NOT fall back to php mail(). Maybe in the future, but the
chances of mail being accepted are less, especially considering that a huge
majority of people registering email are @gmail.com, which is picky and
will reject quite easily.

Do you have the file /etc/rslight/phpmailer.inc.php? If you don't, let me
know and I'll send it to you. It's the config file.

--
Retro Guy

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<tvfm6o$i2u$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=253&group=rocksolid.nodes.help#253

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.2a0b:f4c2:1::1!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows
no
Date: Wed, 22 Mar 2023 14:51:08 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvfm6o$i2u$1@novabbs.org>
References: <tvbif1$4r8$1@novabbs.org>
<tvbuvi$s41$1@novabbs.org>
<20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com>
<tvdaq2$ut3$1@novabbs.org>
<047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org>
<tve011$frd$1@novabbs.org>
<7aaedc23d28cff55edddf5369b7f7744@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 Mar 2023 19:50:48 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="2a0b:f4c2:1::1";
logging-data="18526"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Wed, 22 Mar 2023 19:51 UTC

On Wed, 22 Mar 2023 15:07:51 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> sugarbug wrote:
>
> > On Wed, 22 Mar 2023 02:01:35 +0000
> > retro.guy@rocksolidbbs.com (Retro Guy) wrote:
>
> >> This could be php-gd missing, or not running long enough. Other
> >> than that, it should work fine.
> >>
> >> I'll have the VM running tomorrow (Wed) and will try to duplicate
> >> the issues.
>
> > The 'php-gd' install appears to fix it.
>
> Great!
>
> > One more detail: what is the exact name of the required phpmailer
> > package on Debian? I have: 'libphp-phpmailer' installed. I assume
> > that rslite doesn't fall back to the php mail() function if this
> > package is absent. Is that right?
>
> It is libphp-phpmailer, as you list above.
>
> rslight does NOT fall back to php mail(). Maybe in the future, but the
> chances of mail being accepted are less, especially considering that
> a huge majority of people registering email are @gmail.com, which is
> picky and will reject quite easily.
>
> Do you have the file /etc/rslight/phpmailer.inc.php? If you don't,
> let me know and I'll send it to you. It's the config file.

Yes, the file is there. Can I configure it in a text editor or with a
sed script? I don't see anything about it in the setup page, can I do it
manually?

Re: p.s. - update - rslite error - page 'common/register.php' shows no

<efcaf087834db18e3c0ef71ebfc5c773@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=254&group=rocksolid.nodes.help#254

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: p.s. - update - rslite error - page 'common/register.php' shows no
Date: Wed, 22 Mar 2023 20:02:24 +0000
Organization: Rocksolid Light
Message-ID: <efcaf087834db18e3c0ef71ebfc5c773@news.novabbs.org>
References: <tvbif1$4r8$1@novabbs.org> <tvbuvi$s41$1@novabbs.org> <20230321130624.838c4f2dcd00ee70bbf34e35@novabbs.com> <tvdaq2$ut3$1@novabbs.org> <047d616d49d4c92b54913fc020fb9fdd@news.novabbs.org> <tve011$frd$1@novabbs.org> <7aaedc23d28cff55edddf5369b7f7744@news.novabbs.org> <tvfm6o$i2u$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="20859"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$QeIF6F/atRNl10TF6.K53OdAd1nBwBv7WkIlRrtgRIT6tE8z1HhiS
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
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|
 by: Retro Guy - Wed, 22 Mar 2023 20:02 UTC

sugarbug wrote:

> On Wed, 22 Mar 2023 15:07:51 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>> sugarbug wrote:

>> > One more detail: what is the exact name of the required phpmailer
>> > package on Debian? I have: 'libphp-phpmailer' installed. I assume
>> > that rslite doesn't fall back to the php mail() function if this
>> > package is absent. Is that right?
>>
>> It is libphp-phpmailer, as you list above.
>>
>> rslight does NOT fall back to php mail(). Maybe in the future, but the
>> chances of mail being accepted are less, especially considering that
>> a huge majority of people registering email are @gmail.com, which is
>> picky and will reject quite easily.
>>
>> Do you have the file /etc/rslight/phpmailer.inc.php? If you don't,
>> let me know and I'll send it to you. It's the config file.

> Yes, the file is there. Can I configure it in a text editor or with a
> sed script? I don't see anything about it in the setup page, can I do it
> manually?

There is no setup script for phpmailer so it needs to be configured
manually. Should be self-explanatory but let me know if it is not.

--
Retro Guy


computers / Rocksolid Nodes Help / Re: p.s. - update - rslite error - page 'common/register.php' shows no

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor