Closed (fixed)
Project:
Markdown
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
13 Feb 2012 at 20:49 UTC
Updated:
10 Dec 2012 at 13:01 UTC
Jump to comment: Most recent file
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 commentedRan into this as well, definitely seems like a good idea.
Comment #3
boombatower commentedHere is a patch for those using drush make.
Comment #4
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@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 commented@barraponto, ah, missed that. Sometimes I have D6 blindness.
Comment #7
boombatower commentedAt the moment there is no 6.x-2.x of libraries...that would be a requirement.
Comment #8
2ndmile commentedThanks for finding this! Saved my butt!
Comment #9
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 commentedComment #11
frjo commentedVersion 6.x-1.3 is released.