Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed this module on my server which uses PHP 5.3.9
But I got this error in all pages of the site:
preg_replace_callback(): Compilation failed: POSIX collating elements are not supported at offset 157 in /home/.../profiles/openatrium/modules/contrib/markdown/markdown.php on line 1005.
I solved this problem by simply updating the markdown library from this address:
http://michelf.com/docs/projets/php-markdown-extra-1.2.5.zip
Comment | File | Size | Author |
---|---|---|---|
#3 | 1439150-update-markdown.patch | 16.62 KB | boombatower |
Comments
Comment #1
Wim LeersI'd say this is critical. Debian Lenny is no longer supported as of Feb 15 (last week). Debian Squeeze is the only supported stable release. And it ships with only PHP 5.3 support. As more people upgrade, more people will start to see this warning.
Comment #2
boombatower CreditAttribution: boombatower commentedRan into this as well, definitely seems like a good idea.
Comment #3
boombatower CreditAttribution: boombatower commentedHere is a patch for those using drush make.
Comment #4
RobW CreditAttribution: RobW commentedSince this is an issue with the Markdown Exrta library, wouldn't testing and committing #1532380: Load Markdown library with Libraries API 2 fix it as well?
Comment #5
barraponto CreditAttribution: barraponto commented@RobW: yes, but #1532380: Load Markdown library with Libraries API 2 is a D7 issue. Backporting should be easy (and should make upgrades easier as well).
Comment #6
RobW CreditAttribution: RobW commented@barraponto, ah, missed that. Sometimes I have D6 blindness.
Comment #7
boombatower CreditAttribution: boombatower commentedAt the moment there is no 6.x-2.x of libraries...that would be a requirement.
Comment #8
2ndmile CreditAttribution: 2ndmile commentedThanks for finding this! Saved my butt!
Comment #9
frjo CreditAttribution: frjo commentedI have committed an updated PHP Markdown extra library to 6-dev. Please test and I will make a 6.x-1.3 release.
I'm the new maintainer of the Markdown filter module. I will concentrate on the D7 version, expect the D6 version to be minimally maintained.
Comment #10
frjo CreditAttribution: frjo commentedComment #11
frjo CreditAttribution: frjo commentedVersion 6.x-1.3 is released.