CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profiles with custom data don't appear on Drupal new user registration forms
Pages: [1]

Author Topic: Profiles with custom data don't appear on Drupal new user registration forms  (Read 3937 times)

sjnorton

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Profiles with custom data don't appear on Drupal new user registration forms
April 27, 2007, 01: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!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profiles with custom data don't appear on Drupal new user registration forms
April 27, 2007, 04: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
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sjnorton

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Re: Profiles with custom data don't appear on Drupal new user registration forms
April 27, 2007, 08: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!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profiles with custom data don't appear on Drupal new user registration forms
April 27, 2007, 09: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

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sjnorton

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Re: Profiles with custom data don't appear on Drupal new user registration forms
April 27, 2007, 09: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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profiles with custom data don't appear on Drupal new user registration forms

This forum was archived on 2017-11-26.