IWhen I enable emogrifier as an input filter, this error is displayed.

Fatal error: Call to undefined function cwd() in /drupal/sites/all/modules/emogrifier/url_to_path.inc on line 117

Changing cwd() to getcwd() fixes the problem.

I have php-xml installed.
Installed Packages: php-xml.x86_64 / 5.3.6-1.el5.remi

The following is from php -info

libxml
libXML support => active
libXML Compiled Version => 2.6.26
libXML Loaded Version => 20626
libXML streams => enabled

xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.26

Comments

pillarsdotnet’s picture

Version: 6.x-1.9 » 6.x-1.x-dev
Assigned: Unassigned » pillarsdotnet
Status: Active » Fixed
ianchan’s picture

Thanks!

FYI - sorry, I selected the wrong version. I meant 1.14 not 1.9.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.