iczc / phurl

phurl短网址
2 stars 1 forks source link

every url entered gives error "The URL you have entered is not allowed." #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. every url entered gives error "The URL you have entered is not allowed."
2.
3.

What is the expected output? What do you see instead?
expect a shortened url, get an error

What version of the product are you using? On what operating system?
Phurl 2.4.2
Hosted on Linux

Please provide any additional information below.

Original issue reported on code.google.com by morris...@gmail.com on 28 Apr 2011 at 2:27

GoogleCodeExporter commented 9 years ago
I have the same problem. Keep me up to date if there is a solution!

Original comment by michu....@gmail.com on 2 May 2011 at 9:44

GoogleCodeExporter commented 9 years ago
Is there anything special i need to change to work on Localhost or on the 
server?Installation works fine but i get the "The URL you have entered is not 
allowed."error.

Original comment by ajitthak...@gmail.com on 4 May 2011 at 5:01

GoogleCodeExporter commented 9 years ago
Getting the same issues on this. Got the rule whitelisted and now it is just 
saying that the URL is not allowed.

Powered by Phurl 2.4.2, LAMP hosting (HostGator)

Original comment by chris.wa...@gmail.com on 5 May 2011 at 6:23

GoogleCodeExporter commented 9 years ago
I found a solution:
http://code.google.com/p/phurl/issues/detail?id=96#c2

In your config.php it should be
define('SITE_URL', 'http://www.example.com');

I had only
define('SITE_URL', 'example.com');

Original comment by michu....@gmail.com on 5 May 2011 at 7:09

GoogleCodeExporter commented 9 years ago
That definitely does work now that you added it. Man, they should have it check 
for that before they go through the installation. Definitely a bug to fix ;)

Original comment by chris.wa...@gmail.com on 5 May 2011 at 11:07

GoogleCodeExporter commented 9 years ago
Hi guys,

good work on finding a solution to this.

I'm really really busy right now, but in about a weeks time, we're beginning 
the major work on Phurl 3.

We'll ensure this process is made much cleaner and easier.

Thanks,
Henry
Phurl Owner

Original comment by he...@phurlproject.org on 20 May 2011 at 2:10

GoogleCodeExporter commented 9 years ago
Too bad, I have the same problem.

Original comment by era...@gmail.com on 5 Jun 2011 at 6:15

GoogleCodeExporter commented 9 years ago
Please check the solution posted above to fix this. We will have the issue 
fixed in v3.

Original comment by he...@phurlproject.org on 24 Jul 2011 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by he...@phurlproject.org on 29 May 2012 at 11:30

GoogleCodeExporter commented 9 years ago
Great!  Thanks.

Original comment by dan...@sarandaniel.com on 29 May 2012 at 11:48