Closed (fixed)
Project:
Registrar API
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2012 at 17:56 UTC
Updated:
13 Feb 2012 at 16:37 UTC
Jump to comment: Most recent file
Comments
Comment #1
hadsie commentedHi @pedrosp,
I just tested this out again and was unable to reproduce the issue. Downloading the file directly won't work as the data is imported directly into the database. The code uses drupal_http_request() to pull the file so it's possible that your server is not configured correctly. I assume that you're not getting any error message or anything spat back at you, but the browser just keeps trying to load the page?
Comment #2
pedrospThanks for the reply hadsie,
My server is a mercury stack (pressflow, varnish, memcached, apc...) so maybe it is proxy related,
I will try to disable varnish.disabling varnish bring the same result.There is no error message, just after hitting the button the browser start loading something but ended as a reload of the same page.
Comment #3
jonhattanThere's a bug in the code: it doesn't show the error message when the download fails.
Attached patch fixes it and also makes the admin settings form a bit cleaner IMO.
Comment #4
pedrospThanks @jonhattan, but I'm not able to patch against the last dev. 2011-Dec-06
It seems to change registrar_api.admin.inc but I don't see this file.
I guess there is some difference between the release and the Git container.
Comment #5
jonhattanSee here how to checkout from git and apply patches:
http://drupal.org/node/438674/git-instructions/6.x-1.x
Comment #6
hadsie commentedThanks @jonhattan. A bit of other cleanup in here too which is great. Committed.
@pedrosp there should be a new dev tarball on the site later today that you can download. Note that this likely won't solve your problem, but at least it should give you a more descriptive error message.
Cheers!
- Scott
Comment #8
pedrospThanks @hadsie, I am waiting for the availability of the new dev tarball that seems to take longer than expected.
I will then test again.
Comment #9
hadsie commentedIt's probably my fault. I'm not totally familiar with the new git stuff so I think I didn't push the code properly. I've tried something else now that will hopefully work :).
Comment #10
ferdinand.bardamu commentedHi. I see the Dec 06 2011 version is still the latest. Any chance of another go at updating with this patch?
Thanks,
Comment #11
hadsie commentedI'm unfortunately at a loss as to what to do here. I'm waiting for an answer to this #1402924: Dev tarball not updating for registrar_api. I've added another comment there.
Comment #12
ferdinand.bardamu commentedThanks for the effort. I was just going to manually apply the patch then came to understand what pedrosp was talking about. I'm a git virgin so am dependent on the tarballs.
Comment #13
hadsie commentedOk, the new dev tarball is up now. Figured out the issue with the release :)
Comment #14
pedrospI just removed the old version and uploaded the feb, 10 tar and all worked just fine :)
Thanks !