Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-11-01 19:46:49
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
allow_url_fopen & clean_url_test_failed
Just curious, why does having allow_url_fopen disabled trigger a fail for the clean url test? How are they at all related?
Offline
Re: allow_url_fopen & clean_url_test_failed
allow_url_fopen allows PHP scripts to open URLs (instead of a local file path). TXP uses this to test if clean URLs work, because you can’t really test that without using an actual URL. So if allow_url_fopen is disabled, the test cannot be done, so TXP can’t tell if clean URLs work or not. You’d have to enable clean URLs yourself and simply try it.
Last edited by ruud (2006-11-01 19:55:48)
Offline
#3 2006-11-01 19:58:28
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: allow_url_fopen & clean_url_test_failed
Right, I just realized what was going on. It’s not that clean URLs fail, it’s that the clean URL test failed.
Offline
#4 2006-11-02 20:33:08
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: allow_url_fopen & clean_url_test_failed
You shouldn’t get any message if you don’t have allow_url_fopen turned off (see starting line 316 of txp_diag.php). So what’s happening is that Textpattern thinks you do have allow_url_fopen turned on.
Checking the comments here, would that explain what’s happening?
Offline
#5 2006-11-02 22:05:50
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: allow_url_fopen & clean_url_test_failed
I just checked on the host and allow_url_fopen is turned on. I’m unsure as to what’s actually happening… the test url (/?txpcleantest=1) returns a 404.
Offline
#6 2006-11-02 22:13:59
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: allow_url_fopen & clean_url_test_failed
(Sry for posting this thread in the “Testing” forum, btw…)
I get the same as reported here.
Offline
#7 2006-11-02 22:17:17
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: allow_url_fopen & clean_url_test_failed
Actually, Mary, I just found this active thread. Feel free to remove this one, I’ll go over there. :)
Offline
Pages: 1