I installed the Amazon module, and activated and set permissions. PHP5, and CURL is there.

When I run a search, any search, I get returned a blank page. No errors in Apache log.

Comments

mg2020’s picture

Please note...I have already attempted the fix laid out here: http://drupal.org/node/123588. I moved the folder as prescribed (with the corrections that were noted), and made the code changes as follows:

Changing this...

<?php
if (version_compare(phpversion(), '5', '<')) {
  require_once('amazon.php4.inc');
}
else {
  require_once('amazon.php5.inc');
}
?>

to this...

<?php
$include_dir = base_path() . drupal_get_path('module', 'amazon');
if (version_compare(phpversion(), '5', '<')) {
  require_once($include_dir . 'amazon.php4.inc');
}
else {
  require_once($include_dir . 'amazon.php5.inc');
}
?>

What I end up with is an entirely blank site, at which time changing the code back produces the same and I am forced to delete the entire module directory to get up and running again.

mg2020’s picture

I have now fixed the blank page problem, although it took rebuilding DOM from RPMs, and restarting.

Now one issue remains.

When creating a node from Amazon node, images never show up with valid ASINs. But when querying from the database, images show just fine and you can create nodes from there. I tried multiple valid ASINs, and even created and deleted nodes from query and retried with direct node creation, but still no images on preview.

Any thoughts?

discursives’s picture

I am getting a blank page when i try to add an amazon node. The page seems to be submitting the lookup for the ASIN, but it doesn't move off the url...just stays on /node/add/amazon-node.

Is this the same issue? What does rebuilding DOM from RPM mean?

Ahila’s picture

Hello mg i get a blank page when i click the search button of amazon search. Iam using php5 , DOM and Curl options are enabled. Can you help me please?

mg2020’s picture

I just ran new DOM RPMs and corrected that blank site problem.

mg2020’s picture

Status: Active » Closed (fixed)