I am not sure if this is a plugin issue? But since upgrading I have noticed:
This message shows when I click the Preview button.
I can't see this folder on the 2.51 or 2.7.0 folders.
Missing file?
Moderators: Developer, Contributor
Re: Missing file?
Ah, I am not sure if my MantisBT configuration is uploaded OK? In 2.5.1 this folder existing in Library folder.
Re: Missing file?
I verified the download of MantisBT and it doesn't include it.
When I search for ParseDown in 2.5.1:
What do I need to do?
When I search for ParseDown in 2.5.1:
Code: Select all
Search "parsedown" (39 hits in 4 files)
D:\mantisbt-2.5.1\library\parsedown\Parsedown.php (3 hits)
Line 5: # Parsedown
Line 6: # http://parsedown.org
Line 16: class Parsedown
D:\mantisbt-2.5.1\library\parsedown\README.md (23 hits)
Line 1: > You might also like [Caret](http://caret.io?ref=parsedown) - our Markdown editor for Mac / Windows / Linux.
Line 3: ## Parsedown
Line 5: [![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
Line 5: [![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
Line 6: <!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Line 6: <!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Line 10: [Demo](http://parsedown.org/demo) |
Line 11: [Benchmarks](http://parsedown.org/speed) |
Line 12: [Tests](http://parsedown.org/tests/) |
Line 13: [Documentation](https://github.com/erusev/parsedown/wiki/)
Line 22: * [Markdown Extra extension](https://github.com/erusev/parsedown-extra)
Line 26: Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
Line 26: Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
Line 31: $Parsedown = new Parsedown();
Line 31: $Parsedown = new Parsedown();
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 36: More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).
Line 40: **How does Parsedown work?**
Line 44: We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
Line 44: We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
Line 52: [phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [Herbie CMS](http://www.getherbie.org/), [RaspberryPi.org](http://www.raspberrypi.org/) and [more](https://packagist.org/packages/erusev/parsedown/dependents).
D:\mantisbt-2.5.1\library\README.md (4 hits)
Line 14: parsedown | parsedown | 1.6.1 | unpatched [1]
Line 14: parsedown | parsedown | 1.6.1 | unpatched [1]
Line 51: parsedown | https://github.com/erusev/parsedown
Line 51: parsedown | https://github.com/erusev/parsedown
D:\mantisbt-2.5.1\plugins\MantisCoreFormatting\core\MantisMarkdown.php (9 hits)
Line 22: * @subpackage parsedown
Line 26: * MantisMarkdown Extension class, extending Parsedown library
Line 27: * This class serves which functions needs to customize and methods to override from Parsedown library
Line 34: * @subpackage parsedown
Line 36: * @uses Parsedown Library
Line 39: require_lib( 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );
Line 39: require_lib( 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );
Line 44: class MantisMarkdown extends Parsedown
Line 286: * code blocks or backticks, Parsedown applies the same transformation again,
Re: Missing file?
In 2.7.0 I see:
Code: Select all
Search "parsedown" (64 hits in 12 files)
D:\mantisbt-2.7.0\composer.json (1 hit)
Line 11: "erusev/parsedown": "^1.6",
D:\mantisbt-2.7.0\composer.lock (5 hits)
Line 144: "name": "erusev/parsedown",
Line 148: "url": "https://github.com/erusev/parsedown.git",
Line 153: "url": "https://api.github.com/repos/erusev/parsedown/zipball/728952b90a333b5c6f77f06ea9422b94b585878d",
Line 163: "Parsedown": ""
Line 178: "homepage": "http://parsedown.org",
D:\mantisbt-2.7.0\plugins\MantisCoreFormatting\core\MantisMarkdown.php (7 hits)
Line 22: * @subpackage parsedown
Line 26: * MantisMarkdown Extension class, extending Parsedown library
Line 27: * This class serves which functions needs to customize and methods to override from Parsedown library
Line 34: * @subpackage parsedown
Line 36: * @uses Parsedown Library
Line 42: class MantisMarkdown extends Parsedown
Line 284: * code blocks or backticks, Parsedown applies the same transformation again,
D:\mantisbt-2.7.0\plugins\MarkdownPreview\pages\mpconvert.php (5 hits)
Line 3: require_lib( 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );
Line 3: require_lib( 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );
Line 6: $Parsedown = new Parsedown();
Line 6: $Parsedown = new Parsedown();
Line 7: echo $Parsedown->text($_REQUEST['markdown']);
D:\mantisbt-2.7.0\vendor\composer\autoload_namespaces.php (2 hits)
Line 11: 'Parsedown' => array($vendorDir . '/erusev/parsedown'),
Line 11: 'Parsedown' => array($vendorDir . '/erusev/parsedown'),
D:\mantisbt-2.7.0\vendor\composer\autoload_static.php (2 hits)
Line 128: 'Parsedown' =>
Line 130: 0 => __DIR__ . '/..' . '/erusev/parsedown',
D:\mantisbt-2.7.0\vendor\composer\installed.json (5 hits)
Line 110: "name": "erusev/parsedown",
Line 115: "url": "https://github.com/erusev/parsedown.git",
Line 120: "url": "https://api.github.com/repos/erusev/parsedown/zipball/728952b90a333b5c6f77f06ea9422b94b585878d",
Line 132: "Parsedown": ""
Line 147: "homepage": "http://parsedown.org",
D:\mantisbt-2.7.0\vendor\erusev\parsedown\composer.json (3 hits)
Line 2: "name": "erusev/parsedown",
Line 5: "homepage": "http://parsedown.org",
Line 19: "psr-0": {"Parsedown": ""}
D:\mantisbt-2.7.0\vendor\erusev\parsedown\Parsedown.php (3 hits)
Line 5: # Parsedown
Line 6: # http://parsedown.org
Line 16: class Parsedown
D:\mantisbt-2.7.0\vendor\erusev\parsedown\README.md (23 hits)
Line 1: > You might also like [Caret](https://caret.io?ref=parsedown) - our Markdown editor for Mac / Windows / Linux.
Line 3: ## Parsedown
Line 5: [![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
Line 5: [![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
Line 6: <!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Line 6: <!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Line 10: [Demo](http://parsedown.org/demo) |
Line 11: [Benchmarks](http://parsedown.org/speed) |
Line 12: [Tests](http://parsedown.org/tests/) |
Line 13: [Documentation](https://github.com/erusev/parsedown/wiki/)
Line 22: * [Markdown Extra extension](https://github.com/erusev/parsedown-extra)
Line 26: Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
Line 26: Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
Line 31: $Parsedown = new Parsedown();
Line 31: $Parsedown = new Parsedown();
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 36: More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).
Line 40: **How does Parsedown work?**
Line 44: We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
Line 44: We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
Line 52: [phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [Herbie CMS](http://www.getherbie.org/), [RaspberryPi.org](http://www.raspberrypi.org/), [Symfony demo](https://github.com/symfony/symfony-demo) and [more](https://packagist.org/packages/erusev/parsedown/dependents).
D:\mantisbt-2.7.0\vendor\phpdocumentor\reflection-common\composer.lock (1 hit)
Line 86: "erusev/parsedown": "~1.0"
D:\mantisbt-2.7.0\vendor\phpmailer\phpmailer\composer.lock (7 hits)
Line 305: "name": "erusev/parsedown",
Line 309: "url": "https://github.com/erusev/parsedown.git",
Line 314: "url": "https://api.github.com/repos/erusev/parsedown/zipball/20ff8bbb57205368b4b42d094642a3e52dac85fb",
Line 324: "Parsedown": ""
Line 339: "homepage": "http://parsedown.org",
Line 1004: "erusev/parsedown": "~1.0",
Line 1153: "erusev/parsedown": "~1.0"
Search "parsedown" (39 hits in 4 files)
D:\mantisbt-2.5.1\library\parsedown\Parsedown.php (3 hits)
Line 5: # Parsedown
Line 6: # http://parsedown.org
Line 16: class Parsedown
D:\mantisbt-2.5.1\library\parsedown\README.md (23 hits)
Line 1: > You might also like [Caret](http://caret.io?ref=parsedown) - our Markdown editor for Mac / Windows / Linux.
Line 3: ## Parsedown
Line 5: [![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
Line 5: [![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
Line 6: <!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Line 6: <!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Line 10: [Demo](http://parsedown.org/demo) |
Line 11: [Benchmarks](http://parsedown.org/speed) |
Line 12: [Tests](http://parsedown.org/tests/) |
Line 13: [Documentation](https://github.com/erusev/parsedown/wiki/)
Line 22: * [Markdown Extra extension](https://github.com/erusev/parsedown-extra)
Line 26: Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
Line 26: Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
Line 31: $Parsedown = new Parsedown();
Line 31: $Parsedown = new Parsedown();
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 33: echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
Line 36: More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).
Line 40: **How does Parsedown work?**
Line 44: We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
Line 44: We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
Line 52: [phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [Herbie CMS](http://www.getherbie.org/), [RaspberryPi.org](http://www.raspberrypi.org/) and [more](https://packagist.org/packages/erusev/parsedown/dependents).
D:\mantisbt-2.5.1\library\README.md (4 hits)
Line 14: parsedown | parsedown | 1.6.1 | unpatched [1]
Line 14: parsedown | parsedown | 1.6.1 | unpatched [1]
Line 51: parsedown | https://github.com/erusev/parsedown
Line 51: parsedown | https://github.com/erusev/parsedown
D:\mantisbt-2.5.1\plugins\MantisCoreFormatting\core\MantisMarkdown.php (9 hits)
Line 22: * @subpackage parsedown
Line 26: * MantisMarkdown Extension class, extending Parsedown library
Line 27: * This class serves which functions needs to customize and methods to override from Parsedown library
Line 34: * @subpackage parsedown
Line 36: * @uses Parsedown Library
Line 39: require_lib( 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );
Line 39: require_lib( 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );
Line 44: class MantisMarkdown extends Parsedown
Line 286: * code blocks or backticks, Parsedown applies the same transformation again,
Re: Missing file?
Ah, I see, the folder is different ....
vendor\erusev\parsedown
instead of
vendor\parsedown
So what needs changing?
vendor\erusev\parsedown
instead of
vendor\parsedown
So what needs changing?
Re: Missing file?
I created a fork for a plugin. It needed:
Code: Select all
require_lib( 'erusev' . DIRECTORY_SEPARATOR . 'parsedown' . DIRECTORY_SEPARATOR . 'Parsedown.php' );