You are here:  » Amazon.php error - when clicking search results


Amazon.php error - when clicking search results

Submitted by ChrisNBC on Wed, 2014-06-04 10:49 in

Hi David

Hope all is going well.

I'm migrating one of my sites to a third party template but when I select a product from a search I get the error below. I think I may have encountered this error on another of my sites a long time ago but can't remember how it was resolved. I checked Amazon.php and all the credentials are correct. I wondered if you could possibly point me in the right direction on how I might resolve it.

"Warning: require(amazon.php) [function.require]: failed to open stream: No such file or directory in /home/content/43/10929999/html/Sites/mysite/products.php on line 49

Warning: require(amazon.php) [function.require]: failed to open stream: No such file or directory in /home/content/43/10929999/html/Sites/ mysite /products.php on line 49

Fatal error: require() [function.require]: Failed opening required 'amazon.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/43/10929999/html/Sites/ mysite /products.php on line 49"

Thanks in advance.

Regards
Chris

Submitted by support on Wed, 2014-06-04 10:57

Hi Chris,

Could you double check that amazon.php (all lower case) is saved in your top level folder and not in the /html/ folder - that might be all it is...

Cheers,
David.
--
PriceTapestry.com

Submitted by ChrisNBC on Wed, 2014-06-04 20:50

Hi David,

Thanks for the quick response. The file was in the html folder!... I have moved it and the error has been resolved.

Thanks again.

Regards
Chris