cnwangjie / phurl

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

url not allowed #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to shorten a url

What is the expected output? What do you see instead?
- shortened url
- I always get the Url not allowed message

What version of the product are you using? On what operating system?

2.4.2 on a CENTOS production server.

Please provide any additional information below.

Installed on u2i.ca

I checked previous issues, but to what i found, problems should have been 
solved.

By the way, mind if I translate your script?

Original issue reported on code.google.com by webhere...@gmail.com on 12 Nov 2010 at 7:10

GoogleCodeExporter commented 9 years ago
the bookmarklets are also not working

Original comment by webhere...@gmail.com on 12 Nov 2010 at 7:17

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:57

GoogleCodeExporter commented 9 years ago
Yeah, this is an issue with a trailing slash having been added in the config.

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