Drupal 4.6.6 and php5

I'm getting this error, not sure how to get around it

Fatal error: Call to undefined function: domxml_open_mem() in /home/.needle/user/mywebsite.com/modules/amazontools/amazon.php4.inc on line 313

Is there is something I need to make do, to see the amazon.php5.inc?

thanks

Comments

green monkey’s picture

I edited the module to force it to call amazon.php5.inc

but now get this error

Fatal error: Undefined class name 'domdocument' in /home/.needle/user/mywebsite.com/modules/amazontools/amazon.php5.inc on line 320

Prometheus6’s picture

Assigned: Unassigned » Prometheus6
Category: bug » support

That may be something your host is going to have to sort out. But I put this

# PHP 5, Apache 1 and 2
AddType x-mapp-php5 .php

in my .htaccess file for directories in which I run php5.

Prometheus6’s picture

Status: Active » Closed (fixed)