SlimTableOfContents-Talk

Summary: Talk page for SlimTableOfContents.
Maintainer: Tontyna
Users: +4 -1 (View / Edit)

since the author has abandoned the script, and apparently using pmwiki entirely, I'm trying to fix this.

This is giving that preg_replace_callback error and a diagnostic gave me this:

toc >nl1 B>><>> ! file: /home/public/confessional/cookbook/slimtoc.php, line: 167, pat: /\(:([#\*])?toc:\)(.*)$/se

checking line 167 showed me a function using Markup changing Markup to Markup_e gave me yet another error, in another file:

toc >nl1 B>><>> ! file: /home/public/confessional/pmwiki.php, line: 1671, pat: /\(:([#\*])?toc:\)(.*)$/se

But I can't figure out how to "fix" line 1671 of pwiki.php

-Lxndr

Hey everybody, this can be fixed quickly by using the instructions on http://www.pmwiki.org/wiki/PmWiki/CustomMarkup (Migrations to PHP 5.5.)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Talk page for the SlimTableOfContents recipe (users).

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=Cookbook%2fSlimTableOfContents%2dTalk
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=Cookbook%2fSlimTableOfContents%2dTalk
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/Cookbook/SlimTableOfContents-Talk
            [REDIRECT_SCRIPT_URL] => /wiki/Cookbook/SlimTableOfContents-Talk
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afRJy-JzfsHDv62x7-xElgAAAUs
            [REDIRECT_URL] => /wiki/Cookbook/SlimTableOfContents-Talk
            [REMOTE_ADDR] => 216.73.216.25
            [REMOTE_PORT] => 4719
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/Cookbook/SlimTableOfContents-Talk
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/Cookbook/SlimTableOfContents-Talk
            [SCRIPT_URL] => /wiki/Cookbook/SlimTableOfContents-Talk
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afRJy-JzfsHDv62x7-xElgAAAUs
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777617355.1247
            [REQUEST_TIME] => 1777617355
            [argv] => Array
                (
                    [0] => n=Cookbook%2fSlimTableOfContents%2dTalk
                )

            [argc] => 1
        )

)