CiviCRM Forums
News: You can learn more about CiviCRM from our new free book: Understanding CiviCRM. Also Check the CiviCRM Blog for updated information on CiviCRM
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 08:10:18 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Profiles with custom data don't appear on Drupal new user registration forms  (Read 2084 times)
sjnorton
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 2.2.0
CMS: Drupal
MySQL: 5.0.67
PHP: 5.2.9

Posts: 5


View Profile
« on: April 27, 2007, 12:29:42 pm »

I'm really stuck on this. I created custom data types, and then used them for a "profile" that should appear on the new user registration page for Drupal (5.1). It may in fact have appeared there for a little while. However, pehaps because of some change I made, the profile with the custom data will simply not appear on the user registration page. It appears, correctly, on both the authenticated user account page, and it can be edited from there, but I really need to collect this data upon registration.

What is strange is that the initial "name and address" profile *does* appear on the registration form, but all attempts to add fields based on custom data to the name and address profile fail. The profile continues to display, but I am not able to change its content.

I should say that this is for an existing Drupal site, and moreover I have two sites sharing user-related tables. (Separate code bases, one database, table prefixing, with siteA_, siteB_, and shared_) CiviCRM is installed as a module in both sites, with the civicrm.settings.php document duplicated in both sites. CiviCRM has its own database.

Any help appreciated!
Logged
Donald Lobo
Administrator
I’m (like) Lobo ;)
*****

Karma: 330
Offline Offline

CiviCRM: 3.2
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: MySQL 5.1.x
PHP: PHP 5.3.x

Posts: 9357



View Profile WWW
« Reply #1 on: April 27, 2007, 03:52:03 pm »


Due to our new ACL permissioning system, you need to enable "access all custom data" for anonymous users.

If you do use ACL's you have more fine grained control over what field gets displayed to whom and when

lobo
Logged

Use CiviCRM? Like CiviCRM? Then show your appreciation and make a donation.
sjnorton
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 2.2.0
CMS: Drupal
MySQL: 5.0.67
PHP: 5.2.9

Posts: 5


View Profile
« Reply #2 on: April 27, 2007, 07:23:37 pm »

Holy smoke! That did the trick. (Wish I'd asked earlier - I spent the whole day banging my head against the wall on this one.)

A further, possibly unrelated, question though: now, when I try to register a new account, rather than loading the page that acknowledges my new account, the browser tries to download a document of zero length called "Register." I use a Mac - in Safari, it simply downloads the document. In Firefox, it asks me if I want to download the document which it says is of type "application/httpd-fastphp". Whether or not I download it (the document is empty), I don't get redirected anywhere. If I submit the page again, it gives me an error saying the email or username is already taken. If I just refresh the page, it gives me the proper "Your login information has been sent to...." message at the top. This is going to confuse people, and I really want to iron this out. Any ideas?
Thanks!
Logged
Donald Lobo
Administrator
I’m (like) Lobo ;)
*****

Karma: 330
Offline Offline

CiviCRM: 3.2
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: MySQL 5.1.x
PHP: PHP 5.3.x

Posts: 9357



View Profile WWW
« Reply #3 on: April 27, 2007, 08:02:11 pm »


Most likely this is an apache/php config issue. I suspect the error is in your apache httpd.conf file and u'll need to add the right AddType directive

i've got the following in my apache conf file which i think is related to this

    AddType application/x-httpd-php .php

lobo

Logged

Use CiviCRM? Like CiviCRM? Then show your appreciation and make a donation.
sjnorton
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 2.2.0
CMS: Drupal
MySQL: 5.0.67
PHP: 5.2.9

Posts: 5


View Profile
« Reply #4 on: April 27, 2007, 08:19:05 pm »

Hmm. Thanks for the tip. I'm on shared hosting and so don't have access to the Apache config file. I'll check with tech support.

Steve
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM