[pmwiki-users] Fatal error in upgrading from 2.2.45

Petko Yotov 5ko at 5ko.fr
Fri Sep 18 10:19:16 CDT 2015

Both issues you mention, Backlinks and PageActions, are related to the 
old use of {$Variable} instead of currently {*$Variable}, see the page 

   (section starting with "Version 2.2.10")

The page "Upgrades" contains the most important changes that may require 
some admins to do something on their wiki when upgrading. You should 
read that page when you upgrade (or when you import pages or whole 
groups from old wikis). There may be other changes that concern you on 
that page.

These and other important changes, most of which should not require an 
action from you on upgrade, are in the Release notes, it is also a good 
idea to read the release notes between your previous version and the one 
you're installing:



On 2015-09-18 14:55, Donald Z. Osborn wrote:
> Thank you Petko, This has worked out well, though I did manually 
> install so
> not sure what moving pages have or have not been updated. Will return 
> to
> the rss / feed issue later, as it involves a number of pages.
> I changed the skin for all but one wikigroup to Triad, but there are 
> two
> issues:
> 1) I have a "backlinks" link at the top of the sidebar, which used to 
> act
> on the page viewed, not the sidebar, but in this skin it acts on the
> sidebar (giving me backlinks to the sidebar, not the page being 
> viewed).
> I'm guessing this is because of how Triad handles sidebars. In any 
> event,
> is there an easy way to modify this code to point to the page viewed 
> rather
> than the sidebar in which the code is placed?
> [[{$Name}?action=search&q=link={$FullName}+list=all | $[Backlinks]]]
> That's on the sidebar at
> http://www.bisharat.net/wikidoc/pmwiki.php/PanAfrLoc/
> 2) In the one wikigroup where I did not change the skin, the "edit" and
> other tabs point not to the page viewed but always to Site/PageActions. 
> I
> think this is a problem with older skins using the latest PmWiki 
> upgrade -
> I also noted it in the old skin for the rest of the wiki before 
> switching
> to Triad. Am hoping there is a relatively easy fix to the skin to 
> correct
> this.
> See tabs at 
> http://www.bisharat.net/wikidoc/pmwiki.php/Marrakech/HomePage
> By way of background, this is an effort to resurrect a wiki that was 
> part
> of two successive projects (2005-11), but which went offline when the
> second project's funding ended and site closed.
> All the best,
> Don Osborn
> On Wed, Sep 16, 2015 at 12:39 PM, Petko Yotov <5ko at 5ko.fr> wrote:
>> On 2015-09-16 15:40, Donald Z. Osborn wrote:
>>> Thank you Petko. I had gone about this backwards it seems. All 
>>> working
>>> now.
>>> One question - the new version does not include rss.php in the 
>>> scripts
>>> folder, but when I took it out of my installation, the wikipages had 
>>> error
>>> messages at top indicating this file was not found. I simply re-added 
>>> it,
>>> which seems to have solved that issue, but wondered if there is 
>>> another
>>> way
>>> I should have addressed this or any longer term issues with rss.php.
>> The new core file with RSS functions is scripts/feeds.php. See this 
>> page:
>>   http://www.pmwiki.org/wiki/PmWiki/WebFeeds
>> My advice is to disable rss.php which is no longer supported and use
>> feeds.php.
>> Next task is more complex - I have an old installation - 2.0 - on 
>> another
>>> site and need to either update it or simply remove it (the wiki 
>>> contents
>>> are obsolete) and install new. The object will be to receive contents 
>>> of
>>> another wiki of about the same generation that went offline when the 
>>> host
>>> site went offline (complicated story, but it boils down to funding 
>>> ending
>>> for the project that sponsored it).
>>> I'm tempted just to start fresh with a new installation and hope the
>>> wiki-d
>>> files work.
>> Yes, this would be my way to do it.
>> Or would it make more sense to import wiki.d, config, and skin,
>>> and then do an update from 2.0? Any advice or experience of others
>>> would be appreciated.
>> Have backups in case something breaks.
>> I'd fresh install the latest version of PmWiki and the wiki.d pages.
>> On the first run, PmWiki will likely prompt you to accept some updates
>> (moving pages) -- accept them. See what works, what doesn't -- read
>> Upgrades and ReleaseNotes. Get the latest versions of all 
>> recipes/skins you
>> used and enable them one after another to see if there are warnings or
>> errors. Your original skin might still work, or you may have to add 
>> some
>> markers in it like <!--HTMLHeader-->; if you cannot make the old skin 
>> work,
>> maybe try another skin.
>> If you have any difficulty, tell us and we'll help you.
>> Petko

Change log     :  http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes  :  http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade :  http://www.pmwiki.org/wiki/PmWiki/Upgrades

More information about the pmwiki-users mailing list