Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

You know how to win a victory, Hannibal, but not how to use it. -- Maharbal


rocksolid / Programming / Re: php 7.0-7.3 (debian)

SubjectAuthor
* php 7.0-7.3 (debian)Retro Guy
`- Re: php 7.0-7.3 (debian)Retro Guy

1
Subject: php 7.0-7.3 (debian)
From: Retro Guy
Newsgroups: rocksolid.programming
Organization: Unconfigured rslight site
Date: Tue, 4 Aug 2020 07:50 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.programming
Subject: php 7.0-7.3 (debian)
Date: Tue, 4 Aug 2020 07:50:51 +0000
Organization: Unconfigured rslight site
Message-ID: <7eab950a909f6605153332cc5dc0144c$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="26264"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs-new-nyc1
X-Rslight-Site: $2y$10$huoUargXGBR7df26F.VQq.Xl6QauJCcL7j8p.fV/aclIFMo918nLe
View all headers
It looks like libphp-phpmailer has changed a bit from 7.0 to 7.3. I'll now need to keep two copies of 'rsusers.php' for rslight, or at least determine during install and install the correct script.

In the $phpmailer_path, things have moved and been renamed:

class.phpmailer.php is now src/PHPMailer.php
class.smtp.php is now src/SMTP.php

It is also necessary to specifically 'use' PHPMailer:

Maybe I can just put the entire script names and paths in config, just need to write it properly for each version, and if you upgrade 7.0 to 7.3, email will no longer work until you change it.

Retro Guy

--
Posted on: Unconfigured rslight site
www.novabbs.com


Subject: Re: php 7.0-7.3 (debian)
From: Retro Guy
Newsgroups: rocksolid.programming
Organization: novaBBS
Date: Mon, 10 Aug 2020 09:41 UTC
References: 1
Path: i2pn2.org!.POSTED!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: php 7.0-7.3 (debian)
Date: Mon, 10 Aug 2020 09:41:48 +0000
Organization: novaBBS
Message-ID: <05744272712dec6521b2df96827e10ec$1@www.novabbs.com>
References: <7eab950a909f6605153332cc5dc0144c$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="26204"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs-new-nyc1
X-Rslight-Site: $2y$10$yGsjsLKQEOG5vxsHt40HtehfBzsRj3MCgpScBOT0POaoeBuCbZAPy
View all headers
Retro Guy wrote:

It looks like libphp-phpmailer has changed a bit from 7.0 to 7.3. I'll now need to keep two copies of 'rsusers.php' for rslight, or at least determine during install and install the correct script.

In the $phpmailer_path, things have moved and been renamed:

class.phpmailer.php is now src/PHPMailer.php
class.smtp.php is now src/SMTP.php

It is also necessary to specifically 'use' PHPMailer:

Maybe I can just put the entire script names and paths in config, just need to write it properly for each version, and if you upgrade 7.0 to 7.3, email will no longer work until you change it.

Seems it's the change from phpMailer pre and post 6.0.

Retro Guy
--
Posted on: novaBBS
www.novabbs.com


1

rocksolid light 0.8.3
clearneti2ptor