This might be an obvious one, but I have just tried to add Amazon products to my first site but I'm not getting any results showing, I see "No hash function available!" where I'm guessing the amazon product/s would show.
I've double checked my access keys and I seem to have entered them correctly.
What would be causing this?
Thanks,
Paul
Thanks David, switched to a later version of PHP as suggested and that fixed it.
Hi Paul,
Since Amazon required that URLs are authenticated the Amazon code requires a hash function (to sign the URL); which is not necessarily included in PHP. It is only included natively since PHP version 5.1.2, prior to that version, the mhash library must be compiled in.
If running your site on a later version of PHP is not an option, contact your host and ask if they would be able to compile the mhash library into your PHP installation - and you will then be able to run the Amazon API code...
Cheers,
David.