Menu

importamazon v1.2 - associate?

Help
Frank A
2013-01-21
2013-11-20
  • Frank A

    Frank A - 2013-01-21

    importamazon v1.2 **

    3. you will need to enter the associate into the variable $this->associateTag in modules/importamazon/index.php

    Searched high and low on aws and nothing I can see which is labelled as associate? So where/what ??

     
  • Frank A

    Frank A - 2013-01-21

    Tried installing without the "associate" but Wikindx does not run at all, just a blank screen.

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-22

    Amazon is always changing things making it difficult to keep up.

    Can you try signing up for the associates program here please:
    https://affiliate-program.amazon.com/gp/flex/associates/apply-login.html

    and let me know if that gives you everything you need.  If so, I'll change the plugin instructions.

    Mark

     
  • Frank A

    Frank A - 2013-01-22

    Like this?

    line 474 "AssociateTag=" . $this->config->associateTag . "xxxxxxxx" . ;

    But with importamazon in plugin directory I still get a blank screen.
    aws private key is on line 111
    aws public key is on line 109

    but now wondering if these should be only added in config.php

    will try that and advise

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-22

    Yes, don't edit index.php, add the key into config.php

    Mark

     
  • Frank A

    Frank A - 2013-01-22

    OK reverted to original and then added keys into config.php but still get a blank screen when i start up wikindx :(

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-22

    In Firefox, it works for me. 

    What browser are you using?
    What happens if error reporting is turned on?

    Can you email your config file for the amazonimport?

    Mark

     
  • Frank A

    Frank A - 2013-01-23

    sorry been busy adding entries as the source site is way overdue an upgrade of Joomla!  Will come back to this tomorrow.

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-23

    I've posted a v1.3 of this plugin which fixes another error so use that.

    Mark

     
  • Frank A

    Frank A - 2013-01-23

    OK have put in 1.3 (Your read me file still says to update index.php instead of config.php) it shows up in Admin>Plugin but not as an option on any other menu.

    I also installed importexportbib and this also only shows on Admin>Plugin but not as an option on any other menu.

    Tried with Firefox on Windows and Ubuntu.

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-23

    Updated the README - thanks.

    Can you email your config.php file to me please?

    Mark

     
  • Frank A

    Frank A - 2013-01-23

    sent importamazon config…. but did you mean for wikindx

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-25

    This is fixed in v1.4 of the plugin.

    Mark

     
  • Frank A

    Frank A - 2013-01-25

    All working now, note that when obtaining an associate id you then need new public/private keys as the old ones will no longer be accepted. But if you start with the old keys it helpfully puts up the link for you as an Amazon error message.

    Just a thought the Associate tag is intended for drawing an income but as far as my bibliography is concerned I dot see that happenning so it is a bit OTT to need to go through that sign up process. Is using Associate tag the only way the importer still works? Will be interesting to see if get any balance on the account without actually driving advertising :D

     
  • Mark Grimshaw

    Mark Grimshaw - 2013-01-25

    It used to be that they only required the keys and not the associate tag but now that is also required to be able to access their database.  Amazon are a pain. 

    Mark

     
  • Frank A

    Frank A - 2013-01-25

    I guess they want sites to point advertising at them.

     
  • Jonas Strassel

    Jonas Strassel - 2013-11-20

    EDIT: nevermind. Just had to rename the plugin folder "importamazon4.2_1.6_CONFIG" to "importamazon" so it could register its class.


    Hi there,

    I put in Tag&Keys, but I still only get the blank screen. Debugging info puts out:
    "[EXEC] SELECT resourcemiscId FROM WKX_resource_misc WHERE (resourcemiscQuarantine = 'Y')
    Fatal error: Class 'importamazon4.2_1.6_CONFIG' not found in /srv/http/wikindx4/core/modules/LOADEXTERNALMODULES.php on line 62"

    Any ideas on that? Thanks in advance,
    Jonas

    P.S.: For those still wondering about the tag: It's not included in AWS, but in the advertising-acc, as far as I know. One can register and get the key from:
    https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html

     

    Last edit: Jonas Strassel 2013-11-20
  • Mark Grimshaw

    Mark Grimshaw - 2013-11-20

    Hi Jonas,

    In the middle of an apartment move for the next week or so so will get back to you asap.

    But. . . check that that CONFIG file does exist where it should be. If not, try a reinstall of the plugin.

    Regards,

    Mark

     

Log in to post a comment.