Closed (fixed)
Project:
Drupal core
Version:
4.7.2
Component:
admin.module
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
7 Jan 2006 at 11:41 UTC
Updated:
23 Jun 2006 at 06:59 UTC
Jump to comment: Most recent file
Hi, I just installed Drupal and then opened my homepage. When I click on create a first account and put a username and my email I get this message: "The URL is not valid and cannot be changed"
What should I do?
Please tell me if you need more information. I'm pretty sure my settings are correct. The problem seems to be related to email sendings.
Thanks for your help.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | settings.php_1.patch | 1.82 KB | eaton |
| #9 | settings_slash_2.diff | 739 bytes | chx |
| #8 | settings_slash_1.diff | 735 bytes | chx |
| #4 | settings_slash_0.diff | 793 bytes | chx |
| #3 | settings_slash.diff | 892 bytes | chx |
Comments
Comment #1
heine commented1. Adapt $base_url in default/sites/settings.php. Make sure there's no trailing slash.
2. Tell us more. e.g. from what does the error message originate
3. Use follow up, instead of opening new issues.
Comment #2
NadirG commentedThank you so much!!!!! I removed the slash and it worked, I didn't know the problem could come from this, I hope my message will help other people too!
Cheers,
Nadir
Comment #3
chx commentedWell then.
Comment #4
chx commentedComment #5
heine commentedROFL; this was a support request for 4.6.5, where the no trailing slash sentence is directly above $base_url... We can't force people to read.
But still a +1
Comment #6
moshe weitzman commentedpeople who don't read once probably won't read twice. no need to clutter.
Comment #7
chx commentedThis patch was just me venting over a moron.
Comment #8
chx commentedEaton's idea. Could not resist to move it into a patch.
Comment #9
chx commentedFixed typos.
Comment #10
moshe weitzman commentedlooks good to me. nice rhyme.
Comment #11
Steven commentedIs there any reason why we don't just rtrim('/') ?
Comment #12
eaton commentedI am a bad, bad man.
But seriously, Steven is right. An rtrim could fix this.
Comment #13
Bèr Kessels commentedI recall that we discussed this in the passed.
It surely fits the matra "be generous on what you take for input, but strict on output", if we trim any leading slashes of.
however, the point then was, that a single line in the comments "weights" nothing, while an rtrim is run on any pageview. I agree that helping morons, by making the app smarter, is a good thing, but only as long as it has no impact on all the non-morons.
I am all for "wont fixing this".
Comment #14
chx commentedI think a little humour can't hurt.
Comment #15
dries commentedCommitted a modified version of this patch to HEAD.
Comment #16
dries commentedComment #17
beginner commentedWow! Eaton!
Webchick said she learned a lot form your 'trailing slash broadway musical'.
http://drupal.org/node/44987#comment-109568
;)