Matthew Denton
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress-Amazon-Associate] Fatal Error – Crashes SiteHi this seems to be an issue with WordPress per some other posts.
Fix :
You open capablities.php and add require_once(‘pluggable.php’);
(but you need to change those quotes to single quotes) right after the opening <?php tag at the top of the file.As described in following Post
Forum: Plugins
In reply to: [WordPress-Amazon-Associate] Fatal errorHi this seems to be an issue with WordPress per some other posts.
Fix :
You open capablities.php and add require_once(‘pluggable.php’);
(but you need to change those quotes to single quotes) right after the opening <?php tag at the top of the file.As described in following Post
Hi everyone, Looking at the above error message I’m not sure why the install is failing as it looks like it was not able to download one of the files in the plugin. I re-uploaded the latest file and did the auto-update on a few of my sites all without issue.
Thanks for the feedback, I’ll add these into my Trac project for a future release.
Hi:
What does Primary Locale do exactly?
The purpose of the primary locale is two-fold.- It determined which locale is used when searching for products within the plugin tinyMCE editor control and Quick Links Module
- When Geo-Localization is enabled and a product is found in user’s locale then the product is generated as the primary locale.
Is there any difference between using a static link and one made with the shortcode if the geoip database and associate filter are turned on?
Similar to item #2 above the only difference between static and shortcode links is that when a product isn’t found (404) for a locale the original static link will be displayed while for shortcode the link will be shown for the primary locale.Should I enter my API if I’m just using static links?
If using static links there is no need to enter your Amazon Web Service Credentials, I would simply suggest putting a random string into the Access & Secret Key Fields to remove the message that will show on the wordpress admin about the plugin not being configured.Should I enter my API if I’m just using static links?
Amazon uses standard url naming across the different locales. When localizing a static link the plugin does a header request using curl to determine if the page is found (e.g. amazon.com changes to amazon.co.uk). If the page is found then the link is updated if not the original link is displayed.Also, wouldn’t it be better instead of showing original/primary url to foreigners who have their own local amazon in event of a 404, to redirect them to their amazon search page using the product name in the url or API somehow?
This is an excellent suggestion. I’ll put it on my task lisk to make it configurable on how users want 404s to be handled . e.g. link to primary or link to search page and if linking to search page what should be used as search as ShortCode allows for alt/title parameters.
—
Let me know if there are any other questions.
~ Matthew
Hi Again:
I’ve been working on the next version of the plugin and as part of the updates I’ve added an option for administrators to view the website as a specified locale. This addition allowed me to view the content as you saw it rendered.
As it turns out there was a bug in the APaPi library that is used within the plugin. When the plugin checked if the request to amazon was successful it was incorrectly getting success when in fact an error had occurred (e.g. product doesn’t exist). I’ve since made the appropriate changes to fix this and the next version will resolve the issue.
I’m currently debating if I’ll release a bug release for this fix or if I’ll wait until I’ve completed all changes. Either way the next update will resolve the issue.
Hi, I’ve done some in depth review and have found the underlying issue. For the majority of the products they don’t exist in the UK locale with the given ASIN. To correct you can update the WPAA settings with United States as the Primary locale this will make it so if the products aren’t found in the UK locale they will default to the US locale where the products do exist.
~ Matthew
Forum: Plugins
In reply to: [Plugin: WordPress-Amazon-Associate] Products ASIN differs internationallyHi:
The plugin is setup so that if a product does not exist for a locale that it will display the product for the default locale. Which in your case should be France. If possible can you send me a sample url where you are having the above issue? and/or the content from the page editor? If you don’t want to share here please feel free to email it to me matt(at)mdbitz.com
Strange, I’m not sure why your instance of chrome would not be showing the links/image/enhanced ads correctly it is HTML and should be rendered correctly.
As far as why your settings are not being saved to debug I’d need to know what WordPress plugins and Server configuration you have to determine if there is some conflict.
Hi:
I just tested the test page in IE8, Safari, Firefox and Chrome I see the test page rendered correctly in all browsers. Unfortunately you are the only person that has had an issue with the plugin settings not saving, can you let me know what server settings you have as this is not an issue with the plugin code itself. What other plugins are you using.
Hi,
Reviewed the plugin and Amazon’s Product Preview logic is incompatible with the easy-fancybox plugin. The Product Preview code comes directly from Amazon and as such currently you will not be able to use Product Preview on your website.
Hi,
1) I accessed he test page and I am seeing the links, images and enhanced ads function as expected with showing the proper Amazon Links, Product Image, and Enhanced Ads.
What browser are you using to access the sites and what plugins/modifications do you have set on the browser. As I am able to see the correct page output as shown in the below source snipet (I forget if WordPress removes the tags if so I’ll update them shortly).
2) If you go into the WP – Amazon > Settings page you can specify your Amazon Associate Id in the United States input box within the “Amazon Associate Settings edit box. This will make it so the links have your associate id.
3) From the source page I see you are using the easy-fancybox plugin. I’ll take a look at it’s setup to make the plugins compatible. In the mean time you can simply disable Product Preview in the WP – Amazon > Settings page.
[Code moderated as per the Forum Rules. Please use the pastebin]
HI can you send me the website address and the exact ShortCode that is in the page content currently? You can send it to my email address matt(at)mdbitz.com and i’ll run them on my local instance to see if there could be an configuration issues.
~ Matthew
Hi:
The issue with the above ShortCode is the product id. In the code you have id=”XXXXXXX” which is an invalid Product code and why only the text is being displayed. Did a quick search and I’m not sure which exact product you are looking for but possible product id is B00006L9R6.
Was the above XXXX value generated by the plugin?
Please enter your associate id as is from Amazon.