bbdlg / phurl

Automatically exported from code.google.com/p/phurl
0 stars 0 forks source link

The URL you have entered is not allowed #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Downloading phurl
2. Installing it successfully 
3. Attempt to shorten http://google.com

What is the expected output? What do you see instead?
I expected to get the custom alias that I entered: the.irf/google

What version of the product are you using? On what operating system?
I am running version 2.2 on my MAMP test server for Mac OS X Snow Leopard.

Please provide any additional information below.
Here is a screenshot when I go to the index.php file on my test server:
http://screencast.com/t/heLytBymUhrN

I hope you can help. Thanks in Advance

Original issue reported on code.google.com by The...@gmail.com on 12 Nov 2010 at 11:38

GoogleCodeExporter commented 9 years ago
I had the same problem. Check your config.php file. The SITE_URL should be WITH 
"http:// but WITHOUT trailing slash. Example:

define('SITE_URL', 'http://www.example.com');

Original comment by martin%c...@gtempaccount.com on 18 Nov 2010 at 1:58

GoogleCodeExporter commented 9 years ago
There's been no more on this so I'll assume martin's suggestion worked.

Original comment by he...@phurlproject.org on 28 Dec 2010 at 10:15

GoogleCodeExporter commented 9 years ago
I have the SITE_URL set up correctly without a trailing slash and I get the 
same error message.

Original comment by adrianbj...@gmail.com on 16 Jul 2012 at 6:28