01500: no TOC

Summary: no TOC
Created: 2024-04-05 20:18
Status: Closed
Category: Bug
Assigned:
Priority: 3
Version: 2.3.32
OS: 6.3.8-200.fc38.x86_64, PHP Version 8.2.17

Description: in 2.3.28, auto toc worked fine ($PmTOC['Enable'] = 1;). after upgrade to 2.3.32, all toc-s disappeared. goodguy00?

You need to update all core files, in this case I suspect either scripts/utils.php or pub/pmwiki-utils.js is older. 2.3.31 changed the way variables are passed between local configuration and pmwiki-utils.js, so if one of these files is older, the TOC and other in-browser utility functions will not work. --Petko

ok, totally right, it was the pub/pmwiki-utils.js which needed to be updated also. BUT this is then a problem, which makes release-updates a mess, because the pub-directory is used for many (local) purposes, like own skins, cookbook-extensions, etc, which are not part of an official release. i'll file a separate enhancement request to put a release under a clean software tree, which is not to be touched.