In a migrated drupal installation with:

textile.module,v 1.7.2.3 2004/05/29
Drupal 4.4.1, 2004-05-01
RedHat Enterprise Linux, php 4.3.2

Textile produces multiple instances of the following error:.

warning: Wrong parameter count for preg_match() in
/home/httpd/vhosts/mathiastechnology.com/subdomains/mc/httpdocs/
modules/textile/smartypants-php/SmartyPants-PHP.inc on line 500.

This was resolved by upgrading to php 4.3.6. I suggest that the INSTALL file be revised to reflect the dependency (?) on newer php.

Comments

Anonymous’s picture

Poking through the PHP manual, I found that this issue seems to be fixed by upgrading to PHP 4.3.3 or newer. See this page: http://www.php.net/manual/en/function.preg-match.php

"The offset parameter is available since PHP 4.3.3."

jhriggs’s picture

This was an issue with an older version of smartypants-php that was included with the textile module. The smartypants-php version was updated some time ago, fixing this.

Anonymous’s picture