Download & Extend

http request that casts the vote results in 404

Project:External Link Popularity
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

This is the url that it tries to request:

http://localhost/drupal/pop_links/handle?operation=track_click&url=http%...

Comments

#1

Status:active» closed (fixed)

Re-opening.

Figured out that you have to set permissions for the visitor (in this case, anonymous) to "record external clicks". But the url still seems to be incorrect. It does not work with the url formed by the JavaScript code (get a 404):

http://localhost/drupal/pop_links/handle?operation=track_click&url=http%...

but it DOES work when I change the url to:

http://localhost/drupal/?q=pop_links/handle&operation=track_click&url=ht...

I'll attach the patch that works for me.

#2

Status:closed (fixed)» active

Attached is the patch.

AttachmentSize
pop_links.js_.patch 180 bytes

#3

Hi bwinett:

Thanks for catching this and for doing the work. Quick question: are you running without clean URLs? Shame on me for not testing that scenario.

I will get this tested.

Best regards,

sicjoy

#4

Hello,

Sorry for taking so long to answer your question - I must have missed the email informing me that there was an update to this issue.

Anyway, answer to your question: yes, I was running without clean URL's.

Thanks!

#5

Good stuff - will be pushing out an update shortly.

Thanks so much,

sicjoy

nobody click here