Closed (fixed)
Project:
Short URL
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2010 at 19:11 UTC
Updated:
30 Jun 2010 at 06:00 UTC
I am using "This Site" for my settings (my own domain name in combo with the Short URL module) and every URL that gets shortened has the same short URL suffix which is example.com/lql
I am not sure if its a problem with this module or Short URL though. I am not getting any error messages and everything seemed to install fine.
thank you
Comments
Comment #1
icecreamyou commentedShorten URLs just takes your inputted original URL and passes it to
shorturl_shorten(), which actually does the work of figuring out what the short URL should be in this case. So this issue belongs in the Short URL queue.More details would be helpful: do you have Clean URLs enabled? What version of PHP are you using? Where do the short URLs show up (i.e. are you using the Tweet or Twitter or Token modules to expose the short URL, or are you using the block or page that the Shorten URLs module offers?
Comment #2
danny englanderI do have clean URLs enabled and I am using the default page at /shorten. My guess is the issue does belong over at Shorten becuase I have tried third party providers like tiny and they worked fine, its only when its my own domain when it does not work. thanks, I will file an issue there.
Comment #3
icecreamyou commentedNo need to file a new issue, I just moved this issue to the other queue.
Are you trying to shorten entire URLs or just the path? I.e. are you shortening example.com/node/1 or just node/1?
Comment #4
danny englanderI am trying to shorten entire urls, i.e. I wanted to use it as my own personal URL shotener just like bit.ly or tr.im so the short URLs don't specifically relate to content on my site. thanks again.
Comment #5
icecreamyou commentedHmm. From my brief look at the ShortURL code it looks like it should work. I haven't actually tested Shorten URLs with ShortURL although I know that a number of websites are using them together successfully. I guess irakli will have to solve this one.
Comment #6
sashainparisSame issue as highrockmedia.
When saving the "start from ID#" variable: should make sure that first lid in the shorturl_link table is >= to the entered value (basicly 3844). Otherwise: should create a foo value with the right lid to make sure that the next one will be valid.
I did not worked on the code as I just hacked my database...
Many thanks for this module.
Alexandre
Comment #7
danny englanderw3wfr can you tell me what change you made in your database. (I'm not thrilled with the prospect of hacking the DB, thats never a good thing)
Comment #8
irakli commentedThis is caused by the error described in: http://drupal.org/node/627668
It is fixed in CVS by commit: http://drupal.org/cvs?commit=380576
If you update the module, the error should go away, or, alternatively, you can remove "auto_increment" on "lid" column of the "shorturl_link" table.