PmPygment-Talk
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
It doesn't work for me, I 'm getting the following errors:
uploads/pmpygment-106d00c9562f347004cb99d1ab652a01.html): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required
or (on another wiki):
uploads/pmpygment-adf91e44cac7d5ddb9c045db9075fb86.html): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
-Johan Bengtsson/2019-02-22
Hi,
I found some problems with this recipe, and have uploaded a modified version: pmpygment-2017-12-24.phpΔ
Changes are as follows:
- Update: updated for compatibility PHP 7.2
- Bug fix: the config variables work now (they didn’t, before)
- Bug fix:
<:vspace>
tags no longer show up in the code - Change: parameters to the directive must be all on one line now (this is so that the recipe is compatible with, e.g., PastebinEmbed)
- Compatibility: Added a config variable
$PmPygmentSecureAttachments
; if set to 1, works properly with SecureAttachments (which otherwise is not the case)
—Said Achmiz December 24, 2017, at 07:41 PM
I get this error here:
[Sat Jun 25 10:39:20.673250 2016] [:error] [pid 4715] [client x.x.x.x:36247] PHP Warning: unlink(upl/Dkkb/pmpygment-6b8983885f54ee767acd25249115e655.html): No such file or directory in /home/www/html/wiki/cookbook/pmpygment.php on line 127, referer: (...)
(I did check permissions)
and I would like to know which langs are supported.
-drdaan June 25, 2016, at 05:50 AM
So, I'm guessing that pmpygmentize is erroring. Can you call it standalone from the command line and get that to produce reasonable results?
Also, to get languages supported, from the command line of your systems do: pygmentize -L