I have installed the Amazon Search module - /* $Id: amazon_search.module,v 1.13.2.2 2005/10/16 15:23:30 prometheus6 Exp $ */

Using:
Search | Amazon.com screen
selecting either books | music | video from the 'Search In' drop down
entering "cooking" in the 'Search For' text box

Result
Fatal error: Call to undefined function: domxml_open_mem() in /home/kitchenv/public_html/modules/amazon_search.module on line 715

I would appreciate any assistance

Rob Eddowes
http://www.kitchenvirgin.com

Comments

Prometheus6’s picture

Sounds like you need the DOM XML extension.

Please note this module uses domxml and curl functions, which I have found are not always enabled. Try running phpinfo() and searching the output for the domxml and curl; if these are not enabled this module will not work.

Rob Eddowes’s picture

Here is an url for the php config enquiry

http://www.kitchenvirgin.com/node/28

scrolling down the page to the dom section the DOM/XML is enabled. I assume this is what you were referring too.

Rob Eddowes’s picture

Here is a response from my host

*******
Hello,

Yes, it is enabled. The server hosting your account is running php5 though and I am not sure if the module is compatible with that. Please consult with the developer of the script for further information.

Best Regards,

Alan Karlson
Support Team
www.SiteGround.com
********

I hope this extra info assists

Rob Eddowes
http://ww.kitchenvirgin.com

Prometheus6’s picture

That is the problem. Amazone Search started out as a 4.5 module and is PHP4 only. It's because the DOM XML module in PHP4 was replaced with a close but incompatible DOM module in PHP5.

Now if your search needs are limited to books, Amazon Associate Tools has a public Amazon search function. It's got a node type you can use for book reviews or whatever and a random book block. That one has the xml parsing in version specific include files.

http://drupal.org/node/18842

Prometheus6’s picture

Status: Active » Closed (works as designed)