0
Hello. I just purchased and installed the Pro version.

I am unable to get the discogs search working from the admin panel. I have my API key entered and saved properly. And my server is gzip enabled. I tested using the link you had posted in another thread see below...My site is gzipped

...but whenever I click on the search discogs button, nothing happens, no errors, nothing bad in firebug (i see an XHR post [q=u2%20unforgettable%20fire&option=com_muscol&controller=albums&task=search_discogs] to index2.php when the button is clicked, but that's it. No response data is returned.) and no results are displayed.

Please advise :)

Thanks!
Responses (56)
  • Accepted Answer

    Monday, March 15 2010, 07:04 PM - #Permalink
    0
    Is this function working for anyone using 2.0.0 pro? If so please say so and tell me if there's anything I can do to get this to work. It was the whole reason for the purchase (enabling rapid entry of albums).

    Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 16 2010, 01:49 AM - #Permalink
    0
    I'm having the exact same issue. I thought I was crazy but I see nothing being returned and no errors. Others have reported getting an error with gzinflate, but I get nothing.

    I too would like to know if there is anyone out there using the product who has gotten it to work.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 16 2010, 02:27 PM - #Permalink
    0
    @shinkendo:
    thats weird, but I have an idea of what the problem can be
    can you give me admin access to your site to take a look?

    You can send it to joomlamusicsolutions@gmail.com

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 16 2010, 02:30 PM - #Permalink
    0
    @craig: of course the users get it to work... Most of them... I would say 95%... you seem to be on the other 5%, but dont worry, we'll solve this
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 16 2010, 02:37 PM - #Permalink
    0
    germi wrote:
    @shinkendo:
    thats weird, but I have an idea of what the problem can be
    can you give me admin access to your site to take a look?

    You can send it to joomlamusicsolutions@gmail.com

    Germi


    Thank Germi, admin login info sent via email.
    The reply is currently minimized Show
  • Accepted Answer

    Yasin
    Yasin
    Offline
    Tuesday, March 16 2010, 05:50 PM - #Permalink
    0
    I just purchased it and I am facing the same problem.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 16 2010, 05:52 PM - #Permalink
    0
    damn.... :S

    with Discogs?
    we're working on it, let me a bit more hours to see if we find out. if we don't, I'll ask you access data
    The reply is currently minimized Show
  • Accepted Answer

    Yasin
    Yasin
    Offline
    Tuesday, March 16 2010, 05:53 PM - #Permalink
    0
    germi wrote:
    damn.... :S

    with Discogs?
    we're working on it, let me a bit more hours to see if we find out. if we don't, I'll ask you access data


    Awesome. Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Yasin
    Yasin
    Offline
    Wednesday, March 17 2010, 04:13 PM - #Permalink
    0
    Any update on this issue please?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 17 2010, 04:15 PM - #Permalink
    0
    the problem is still gzipped data.

    discogs returns: "Client does not accept gzip encoding."

    yasmagic: are you sure your site accepts gzip data?
    The reply is currently minimized Show
  • Accepted Answer

    Yasin
    Yasin
    Offline
    Wednesday, March 17 2010, 07:24 PM - #Permalink
    0
    It looks like both my Apache and PHP accept gzip data.

    Accept-Encoding = gzip, deflate

    Strangely, when i tried now it started working. Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 02:05 AM - #Permalink
    0
    Glad yours is working....
    However I still can't gget mine to work or Germi to answer my posts
    http://www.joomlamusicsolutions.com/en/forum/music-collection-extensions/discogs-3.html#5461

    What gives?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 02:41 AM - #Permalink
    0
    mine is also not working. I know Germi gave a good try though. I have confirmed with my host that I have all the right gzip inflate support but I am still getting the error.

    i even tried this simple test code to see if gzinflate was working, and yes it is.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 04:18 AM - #Permalink
    0
    i've tried several tests with accessing discogs data using my own code: and it's working fine. I'm using curl with gzip encoding. I always get a good response.

    I tried pasting my code here but the forum software is stripping it out of the post. Sorry.


    I've also successfully tried: all the test from the php site to make sure that gzinflate and deflate are working and they are. :(
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 04:26 AM - #Permalink
    0
    seems to be getting a little further. Now instead of an error message I'm getting this returned from the search:

    ��X��K��X�r�F}�;�h� ��V�=�e;v6'��E,�c�U�R�F}��X�J,���v3 ]V:��s��n�d)�#g2�g-�2��YKLB��_B19}t��k���A �.�]óHS b���_�)�x��m��� ��} �n�jo�+�u��kh��u���ݫ�����e[��1l�C� LaW�����*�7\\�k��3�x����E��E��*��nS�8Γ�*�T����9ynOn�b�
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 01:40 PM - #Permalink
    0
    Mine works fine outside of JMS as well.

    Check out http://www.roundrockradio.com/discogs-test.html
    Click to search link comes up which is hard coded by me to search for Metallica, my API Access key is also hard coded into the link.
    Clicking to Search brings up the result, Viola!

    This is the same server I have JMS installed on.
    Bottom line, the problem is with JMS, and not my server.
    Still no love from germi though.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 02:11 PM - #Permalink
    0
    shinkendo: this data you get is because I "printed" what discogs return, to make some test, but I didnt removed it.

    I'll do this later

    in any case, I think this is a good new: that means you ARE RECEIVING someting from discogs (this looks like gzipped data)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 05:15 PM - #Permalink
    0
    RockRoundRadio: do I have access to your admin area? give it to me please.

    in any case, let me tell you that the search is a bit trickier than just clicking on a link. why?

    time for some http lesson:

    on your code (hardcoded api discogs href), when you click on it, its YOUR BROWSER who is making a request to discogs. YOUR BROWSER (on your physical machine), NOT YOUR SERVER (somewhere else)

    your browser DOES accept GZIP encoding. on the HTTP request sent from your browser to discogs, your browser tells discogs that he accepts gzip data. discogs returns gzip data, your browser supports it, and therefore all looks fine.

    accecing the discogs API "from behind" it quite different: you write something on the filed and click search. your search is sent to YOUR SERVER, and is your server who PERFORMS THE REQUEST to discogs. so in this case, its your server that is sending the http request to discogs, not your browser

    BIG DIFFERENCE

    and the problem comes here: your SERVER does not accept gzip data

    your little discogs-test.html works. of course. because its your browser who performs the request.
    ALL BROWSERS support gzip

    but not all servers

    do I make my point? :)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 07:08 PM - #Permalink
    0
    My issue is now resolved. After setting my ZLIB.output_compression setting to 'ON', then restarting Apache, the discogs search started working.


    I found that by having your Joomla gzip compression setting 'enabled' is enough to fool the WhatsMyIP site into thinking this feature should work, but it's not enough.

    For those who have not yet got this working. If your apache server is 1.3.x you need to make sure you have mod_gzip installed properly, and if you're running apache 2.x install and enable mod_deflate.


    Cheers! And thank you GERMI for great support!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 07:14 PM - #Permalink
    0
    no problem :)

    FOR EVERYBODY

    if discogs does not work, the problem is what I said from first moment: your server does not handle GZIP. you may think it does ;) but it doesnt. shinkendo case is an example of that :)

    so please, be sure that your server handles GZIP data...!!!!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 07:46 PM - #Permalink
    0
    How about an answer to the other three posts in this thread that point to the fact that there is no response when clicking the "search discogs" after including the discogs api key. You click it and no response whatsoever. And yes, gzip has been confirmed.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 08:32 PM - #Permalink
    0
    How about reading well the thread?

    the solved issue was on a customer that clicked and obtained nothing, and again, IT MEANS THAT YOUR SERVER DOES NOT ACCEPT GZIP encoding

    you dont get nothing beacuse you don have the error reporting enabled

    demonstration: open /administrator/components/com_muscol/controllers/albums.php and on line 48 approx (afeter search_discogs() function is declared) add this:

    error_reporting(E_ALL);

    this will enable error reporting.

    then try the discogs function again. you'll see the error returned, probably a "Warning: gzinflate() etc" saying that the data is not correct. well, the data is not correct because what Discogs returned is actually "Client does not support gzip data" (or something similar)

    you can see this adding

    echo $return;

    on line 63 approx of the same file

    well, all that means what I said before. you think that your server allows gzip, but trust me, it does not. check your apache config.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 18 2010, 09:29 PM - #Permalink
    0
    Germi - You keeping going back to our servers don't support it, yet you sent us to a site to test it. The site reported back that it was enabled. We then informed you of that and you're going back to "it doesn't really support it if though it says it does"
    Do you see how that can be confusing?
    I think most of us just want it working.
    If the server doesn't support it, then fine.
    If it does, what's the solution to the problem?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 12:57 PM - #Permalink
    0
    well, the site to test is seems to be only a guidance, not a definitive "yes" or "no"

    I know it can be confusing, I appologise for that. I'm the first (believe me) who wants to solve this ASAP, although I know its not really a MC problem itself.

    I still believe the server does not support it. send me FTP access and joomla admin access and I'll try to prove it to you by making some debugging (or solve it, if I can! of course! :) )

    believe me, this is my number 1 priority

    I want to get this thing working more than you do ;)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 02:32 PM - #Permalink
    0
    Login info sent...thanks :)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 03:56 PM - #Permalink
    0
    @Rock Round Radio: I didnt received any mail... :S

    @carlucci and everybody readin this: I tested your site, and it turns out that your problem was not about gziped data or anything like this... it was just that you hadent entered a Discogs API key, even it says clearly "You have not defined a Discogs API Key. If you do not have one, get one here"

    this was my face when I saw that the "problem" was this: :blink: :dry: :huh: :blink: :pinch: :pinch: :pinch: :angry: :angry:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 03:57 PM - #Permalink
    0
    @Rock Round Radio: I didnt received any mail... :S

    @carlucci and everybody readin this: I tested your site, and it turns out that your problem was not about gziped data or anything like this... it was just that you hadent entered a Discogs API key, even it says clearly "You have not defined a Discogs API Key. If you do not have one, get one here"

    this was my face when I saw that the "problem" was this: :blink: :dry: :huh: :blink: :pinch: :pinch: :pinch: :angry: :angry:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 03:58 PM - #Permalink
    0
    I sent it to joomlamusicsolutions@gmail.com
    Is that correct?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 04:00 PM - #Permalink
    0
    yes its correct, but still nothing. try this one: gcampsbarjau@gmail.com
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 19 2010, 04:02 PM - #Permalink
    0
    Ok sent it to that address as well. Spam folder maybe?
    The reply is currently minimized Show
Your Reply