Re: Can't edit pages after upgrade
Petko Yotov <[email protected]> Sat, 12 Apr 2025 06:11:09 +0200
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
You already did reasonable diagnostics, this will help. What were your previous PmWiki version and PHP version? Sometimes, if after the upgrade there are older PHP files that somehow were not updated, you can see weird things like this. So check the times and sizes of pmwiki.php and the files in pmwiki/scripts. When upgrading check the page Upgrades to see if there are any changes that may potentially affect your wiki, if so we document what variables can be set to restore a previous default behavior. Also see if there are recipes and skins that have more recent versions and can be upgraded. For example in the past, calling the htmlspecialchars() function on text with international characters or typographical punctuation could cause blank pages or sections (we added the PHSC helper function to prevent this). After all that, if you still have troubles, check the page Troubleshooting with generic steps to search for what could be the reason - disabling all customizations, recipes, skins, then enable them one after another to see what breaks it: https://www.pmwiki.org/Troubleshooting If we can identify a problem with the core, I'd be very interested to work to fix it ASAP. Petko -- If you upgrade : https://www.pmwiki.org/Upgrades On 12/04/2025 03:43, Madhu Siddalingaiah wrote: > Hi. I've been using PmWiki for a *very* long time. > Recently, I upgraded to version 2.43 as the previous version was not > compatible with the upgraded PHP version on the host. > > The site looks normal, although some minor details, such as (:notabs:) > is obsolete. > When I try to edit an existing page, the edit textarea is blank. It's > as if it's a new page. > I checked folder permissions, which are OK. > If I create a new page, the page is created, but no content is saved. > The file is saved, but the text attribute is empty. > > I see this warning in the logs: > > PHP Warning: Undefined array key "title" in > ...pub/skins/monobook/monobook.php on line 98' > > I tried the default PmWiki skin, but that didn't help. > The server is running PHP 8.3.19 > > Any help would be appreciated. > Thanks!