My favorites | Sign in
Project Logo
          
New issue | Search
for
| Advanced search | Search tips
Issue 4: Shortening URLs without a custom alias causes an error to occur
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 08
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by he...@hencomail.com, Jul 08, 2009
I have beta version 2.0.0 installed, but am having trouble shortening URLs

The first few times I tried, it was successful, but now whenever I shorten
a URL without entering a custom alias, it returns the following error:

File: /my/directory/functions.php
Line: 66
Message: Duplicate entry '' for key 3

Could you please fix this?

Thanks,
Henry
Comment 1 by hdo...@gmail.com, Jul 08, 2009
There's a small database table design bug in 2.0.0.

Please run these SQL commands to fix it:

ALTER TABLE `phurl_urls` DROP INDEX `alias`;
ALTER TABLE `phurl_urls` ADD INDEX (`alias`);
Status: Fixed
Sign in to add a comment

Hosted by Google Code