See www.pc-support.uk.com for relevant links.
Clicking on any Amazon shop page that I have on my site brings it up and works fine BUT clicking on my "Software Shop" page brings up the following errors:
Notice: Undefined variable: operatingsystem in include() (line 13 of /home/pcsuppor/public_html/sites/all/modules/amazon/amazon_media/amazon-item--software--details.tpl.php).
Notice: Undefined variable: operatingsystem in include() (line 13 of /home/pcsuppor/public_html/sites/all/modules/amazon/amazon_media/amazon-item--software--details.tpl.php).
Notice: Undefined variable: operatingsystem in include() (line 13 of /home/pcsuppor/public_html/sites/all/modules/amazon/amazon_media/amazon-item--software--details.tpl.php).
Notice: Undefined variable: operatingsystem in include() (line 13 of /home/pcsuppor/public_html/sites/all/modules/amazon/amazon_media/amazon-item--software--details.tpl.php).
Suggestions?
Comment | File | Size | Author |
---|---|---|---|
#6 | amazon.amazon_media_sofware_template_1037168_06.patch | 993 bytes | rfay |
Comments
Comment #1
rfaySounds like there's an error in amazon-item--software--details.tpl.php.
Could you please provide a sample ASIN that gives you this error?
Comment #2
pcsupport CreditAttribution: pcsupport commentedBringing up this page gives the error message: http://www.pc-support.uk.com/content/software-shop
This one works fine: http://www.pc-support.uk.com/content/laptop-shop
Comment #3
rfaySo it looks like http://www.pc-support.uk.com/amazon_store/item/B001AMHWP8 (ASIN B001AMHWP8) should cause this.
Just FYI: On a production site you can (and will probably want to) turn off error notifications at admin/config/development/logging
Patches are welcome to solve this.
Comment #4
pcsupport CreditAttribution: pcsupport commentedTypical - the revenge of Steve jobs!
Comment #5
pcsupport CreditAttribution: pcsupport commentedI removed that item and tried it but with no luck - same problem.
I'll turn off those notifications.
Comment #6
rfayI think this will fix the problem. Some of the Microsoft products did not have the expected Operating System value.
Comment #7
rfayCommitted to HEAD: https://drupal.org/cvs?commit=491414.
This will show up in the dev release within 12 hours, so please test.
@pcsupport, if you have copied the amazon-item--software--details.tpl.php file to your theme and altered it, you'll have to make these changes there as well, and then rebuild your theme registry.