Closed (fixed)
Project:
Domain
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2009 at 12:39 UTC
Updated:
14 Feb 2009 at 18:58 UTC
Hi,
I'm using Domain Access 5.x-1.9 on Drupal 5.14. I have enabled Domain User module and given "create personal domain" for both anonymous & authenticated users. When users register, they get the message as their personal URL (username.domain.com) is created. But, actually an invalid entry is made as ".domain.com".
How to resolve this issue?
Thanks in advance,
With regards,
R Kaja Mohideen
- Cheap & Best Domain Names
Comments
Comment #1
agentrickardPlease do not put spam links in your signature. Using the name of your company is fine, but using such a generic signature may get your account banned.
Comment #2
agentrickardI cannot replicate this issue. More information needed.
What PHP version? What database and version?
Comment #3
kajamohideen commentedMy Webserver configuration
Apache 2.2.11
PHP Version: 5.2.8
MySQL Version: 5.0.67
Drupal 5.14
My settings are as follows:
Domain Module Behavior:
New Content Setting: Only show on selected sites
Content Editing forms: Take user to their assigned domain
Advanced Settings
Domain-based editing controls: Use access control for editors
Search settings: Search content for the current domain only
Search engine optimization: Do not rewrite URLs
Default source domain: Do not change domain
WWW prefix handling: Treat www.*.example.com as an alias of *.example.com
User Domain
Module behavior: Automatically create domains for new users
Root domain name: mydomain.com
User login behavior: On login, go to personal domain
With regards,
R Kaja Mohideen
vHost4All.com - Domain Name Registrations from $4.5/Year
Comment #4
agentrickardI still cannot replicate this. Using:
MySQL: 5.0.41
PHP: 5.2.5
Apache: 2.0.59
Are the usernames in a language other than English? That's one possibility, since only English letters and numbers are allowed in hostnames. But that would give you domains like '-----.myexample.com'.
All the creation happens within domain_user_user(), so look there for any problems. Perhaps the drupal_execute() on line 267 is not working correctly.
Comment #5
kajamohideen commentedI have found the issue...
I have enabled Administrator Approval for users in my sandbox site. But, when there is no approval it works fine. With approval, its creates .mydomain.com :-(
Hope, you can try to reproduce this issue.
Comment #6
agentrickardHm. I tried that and it didn't happen. Will try again.
Comment #7
agentrickardNo. Still cannot replicate, even with the settings above.
Do you have any other registration modules or user modules enabled that might alter how normal Drupal registration works?
Comment #8
kajamohideen commentedI have pathauto to generate aliases... Will that impact this?
Comment #9
agentrickardIt might, if somehow pathauto is intercepting the flow of form processing. I may be able to test that.
Comment #10
agentrickardStill no success in replicating, even with PathAuto running.
Comment #11
kajamohideen commentedHave you tried that with both PathAuto Enabled and Administrator Approval for New user registration combination?
Comment #12
agentrickardYes.
Comment #13
agentrickardClosing. Could never replicate the reported error.