"Fatal error: main() [function.require]: Failed opening required 'amazon.php5.inc' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/"domain".com/httpdocs/modules/amazontools/amazon.module on line 7"
I'm sorry if this isn't the right place, but I've only been using Drupal for about a week, and I installed this module and now the whole site is down. If I remove Amazon Associate Tools and reload the page, everything goes back to normal. I tried wiping the entire domain, deleting it, and recreating it, but that didn't help. The server has CURL enabled. I also tried putting the amazon.php5.inc module in /usr/share/pear but that didn't help either.
Any suggestions would be appreciated, and again I apologize if this isn't the right place for this post.
Thanks
Jason
Comments
Comment #1
Prometheus6 commentedOff the top of my head, try moving the folder from
/home/httpd/vhosts/"domain".com/httpdocs/modules/amazontools/
to
/home/httpd/vhosts/"domain".com/httpdocs/sites/all/amazontools/
Comment #2
jasonmcd commentedThanks for your help.
I tried your suggestion, and the module didn't show up. Then I moved it into a folder called modules as per the sites/all/ readme.txt and that resulted in the same error as before.
Comment #3
Prometheus6 commentedOkay, sometimes I type too fast. sites/all/modules/amazontools/ is where it all goes.
At the very top of the module, right after the <?php tag change this
to this
Comment #4
Prometheus6 commentedComment #5
(not verified) commented