<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks, Peter, I will check that! - Regards, Michael<br>
<br>
<div class="moz-cite-prefix">Am 20.03.2019 um 18:58 schrieb Peter
Kay:<br>
</div>
<blockquote type="cite"
cite="mid:CADYA+TDEhYXT+5Z7r=nBTBJM7U4n3iuMNM++LGm8GEx9QvdEsQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Actually, checking what skin you are using is an excellent
idea.</div>
<div><br>
</div>
<div>--Peter<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2019 at 12:30
PM Kevin R. Bulgrien <<a
href="mailto:kevinb@systemsdesignusa.com"
moz-do-not-send="true">kevinb@systemsdesignusa.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----
Original Message -----<br>
> From: "Michael Lang" <<a
href="mailto:miclang@arcor.de" target="_blank"
moz-do-not-send="true">miclang@arcor.de</a>><br>
> To: <a href="mailto:pmwiki-users@pmichaud.com"
target="_blank" moz-do-not-send="true">pmwiki-users@pmichaud.com</a><br>
> Sent: Wednesday, March 20, 2019 10:26:27 AM<br>
> Subject: Re: [pmwiki-users] Problems with my PMWiki Site
after Update to PHP7.2 (from PHP5.6)<br>
> <br>
> There is no error.log file!<br>
> <br>
> Am 19.03.2019 um 17:04 schrieb Mikhail Ustinov:<br>
> > Usually it is in the root of the site (/public_html
or may be<br>
> > /public_html/pmwiki).<br>
> ><br>
> > You need ssh or ftp access to the site.<br>
> ><br>
> > 19.03.2019 18:29, Michael Lang пишет:<br>
> >> Where do I find the file error.log?<br>
> >><br>
> >> Am 19.03.2019 um 16:18 schrieb Mikhail Ustinov:<br>
> >>> Check your error.log<br>
> >>><br>
> >>> May be you use some recipes that doesn't
work under PHP7.2<br>
> >>> because<br>
> >>> uses obsoleted PHP functions.<br>
> >>><br>
> >>> BR<br>
> >>> Mike Ustinov<br>
> >>><br>
> >>> 19.03.2019 18:10, Michael Lang пишет:<br>
> >>>> Hi,<br>
> >>>> my provider did an update to PHP7.2
(from PHP5.6) - after this I<br>
> >>>> had severe problems with my PM Wiki
site; all pages have been<br>
> >>>> empty; the sidebar wasn't visible.. I
had a small window to go<br>
> >>>> back<br>
> >>>> to PHP5.6 and I did an PM Wiki update to
2.2.113 (from 2.2.14) -<br>
> >>>> under PHP5.6 everything was fine, but
after my provider finaly<br>
> >>>> switched to PHP7.2 I had the same
problem. Any advice?<br>
> >>>> Regards, Michael<br>
<br>
I had to resurrect a pmwiki when I updated from PHP 5.6 to PHP
7.2 on<br>
RHEL. The problems were entirely related to plugins or
skins. Many<br>
required updating, but many of them in use were no longer
currently<br>
maintained, so it ended up that they had to be fixed or
removed. It<br>
wasn't easy to remove them, so fixing became the best option,
and the<br>
patched files were uploaded to the relevant plugin pages on
the<br>
PMWiki project wiki.<br>
<br>
There is no information given about what plugins or skins
might have<br>
been in use, etc. It seems unlikely for help to be possible
with so<br>
little effort given to providing information.<br>
<br>
Was a backup of the wiki made at any time? Providers like
Softaculous<br>
offer backups being made before updates. Even if not made
before an<br>
update, a backup made after would potentially allow for
dropping<br>
the files on a local system or VM to debug if the web host
does<br>
not allow shell access. Did you ask for shell access?<br>
<br>
Here are brief notes about the site I fixed:<br>
<br>
KB: 2018/12:<br>
<br>
The pmwiki site broke completely after upgrading from
PHP 5.6 to PHP 7.2.<br>
The breakage appeared to be exclusively due to
“Warning: preg_replace(): The<br>
/e modifier is no longer supported” issues.<br>
<br>
To address the issues, first, the site was upgraded
to: pmwiki-2.2.110<br>
<br>
The triad skin was updated to the newest available at
the time of the repair.<br>
<br>
Numerous cookbook files were either upgraded from the
pmwiki site, or were<br>
locally patched. In most cases, locally patched files
were uploaded to the<br>
pmwiki site (<a
href="https://pmwiki.org/wiki/Cookbook/" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://pmwiki.org/wiki/Cookbook/</a>)
pages pertinent to the files<br>
that were edits, though in two cases, the pmwiki
recipe pages were themselves<br>
affected by the preg_replace error, and changes could
not be shared at the<br>
time they were made. The list of cookbook's modified:<br>
<br>
-rw-r--r--. 1 SDwiki apache 3395 Dec 7 15:19
includeurl.php<br>
-rw-r--r--. 1 SDwiki apache 2568 Dec 7 15:14
handytoc.php<br>
-rw-r--r--. 1 SDwiki apache 21858 Dec 7 15:03 zap.php<br>
-rw-r--r--. 1 SDwiki apache 33265 Dec 7 15:00
wikilog.php<br>
-rw-r--r--. 1 SDwiki apache 42757 Dec 7 14:32
pmcal.php<br>
-rw-r--r--. 1 SDwiki apache 36879 Dec 7 14:24
markup.php<br>
-rw-r--r--. 1 SDwiki apache 8822 Dec 7 14:02
emenu2.php<br>
-rw-r--r--. 1 SDwiki apache 1744 Dec 7 13:53
emenu.php<br>
-rw-r--r--. 1 SDwiki apache 6985 Dec 7 13:41
break_page.php<br>
-rw-r--r--. 1 SDwiki apache 10681 Dec 7 13:38
AdvancedTableDirectives.php<br>
-rw-r--r--. 1 SDwiki apache 5661 Dec 7 13:34
convert-html.php<br>
-rw-r--r--. 1 SDwiki apache 46369 Dec 7 13:14
zaptoolbox.php<br>
-rw-r--r--. 1 SDwiki apache 43836 Dec 7 11:43
totalcounter_1_9_2.php<br>
-rw-r--r--. 1 SDwiki apache 3706 Dec 7 11:24
menus.php<br>
-rw-r--r--. 1 SDwiki apache 3700 Dec 7 10:59
numtoc.php<br>
-rw-r--r--. 1 SDwiki apache 5391 Dec 7 10:33
feralsimplecalendar.php<br>
-rw-r--r--. 1 SDwiki apache 1248 Dec 7 10:31
treemenu.php<br>
<br>
Naturally, your site will not be identical, but if you have
things in the<br>
cookbook folder, probably they should be checked first and
upgraded or<br>
edited as needed. When looking for upgrades, don't just
download the<br>
plugin/skin tarball. Many plugins have individual files
posted when a<br>
maintainer is not actively maintaining them.<br>
<br>
Other places for files that needed fixing were pub/* folders
associated<br>
with plugins or skins, though for me, only handytoc put files
there<br>
that needed changing.<br>
<br>
You should probably enabled diagnostics by uncommenting a line
in the<br>
local/config.php file:<br>
<br>
# $EnableDiag = 1; # enable remote diagnostics<br>
<br>
There were only a few types of changes that had to be made.
Provided that<br>
they turn out to be relevant, you could also look at how I
changed the<br>
aforementioned files by examining what was uploaded to the
plugin page<br>
and comparing it to the original published file.<br>
<br>
Good luck. Without more facts, actual help is hard to give.<br>
<br>
Kevin<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank"
moz-do-not-send="true">pmwiki-users@pmichaud.com</a><br>
<a
href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>