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 »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Multiple PHP errors on "Create an account" in Membership
Pages: [1]

Author Topic: Multiple PHP errors on "Create an account" in Membership  (Read 2055 times)

pswartz

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.46
  • PHP version: 5.3.3
Multiple PHP errors on "Create an account" in Membership
December 02, 2008, 07:03:51 pm
Hi,
I am using Civi 2.1.2 on Drupal 6.5 and when I test the "Create an account?" in my membership profile I get the following errors:
backTrace
~/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 138
, handle,
~/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 912
~/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 966
~/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 574
~/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
~/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 256
~/sites/all/modules/civicrm/packages/DB.php, connect, 556
~/sites/all/modules/civicrm/CRM/Core/BAO/CMSUser.php, connect, 333
~/sites/all/modules/civicrm/CRM/Core/BAO/CMSUser.php, checkUserNameEmailExists, 263
, formRule,
~/sites/all/modules/civicrm/packages/HTML/QuickForm.php, call_user_func, 1591
~/sites/all/modules/civicrm/CRM/Core/Form.php, validate, 290
~/sites/all/modules/civicrm/CRM/Core/StateMachine.php, validate, 148
~/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 63
~/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
~/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
~/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 232
~/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 197
~/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 315
, civicrm_invoke,
~/includes/menu.inc, call_user_func_array, 346
~/index.php, menu_execute_active_handler, 18


I am not sure if it happened before I upgraded from Civi 2.1.1 as this is a new site and I am still in the process of learning/setting everything up.
Thank you all for your help,
Patrick

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple PHP errors on "Create an account" in Membership
December 02, 2008, 09:30:26 pm
Can you try to replicate this on http://drupal.demo.civicrm.org, if replicated file an issue in jira.

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Multiple PHP errors on "Create an account" in Membership
December 03, 2008, 10:31:54 am
Patrick - It looks like the error is occuring when CiviCRM tries to query the Drupal DB (checkUserNameEmailExists). I would verify your CIVICRM_UF_DSN in civicrm.settings.php and verify the Drupal Users Table Name under Admin CiviCRM >> Global Settings >> Drupal Integration
Protect your investment in CiviCRM by  becoming a Member!

pswartz

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.46
  • PHP version: 5.3.3
Re: Multiple PHP errors on "Create an account" in Membership
December 09, 2008, 05:50:19 pm
Thank you all,
Between the two suggestions I believe I have found the error... however, now even though when I preview my profile the "Create an account" is visable, but not when I use that profile in my Contribute page. 
I apologize for all of the newbie problems.  Your help and patience is greatly appreciated.

Thanks,
Patrick

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple PHP errors on "Create an account" in Membership
December 09, 2008, 10:19:29 pm
Patrick:

"Create an account"  is visible only for anonymous user. So if you logout and go to Contribution Page you should see that option. This is done since logged in user is already a CMS user.

Quote
when I preview my profile the "Create an account" is visable,
This is just the preview of the profile and hence it is show on that page.

Hth

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Multiple PHP errors on "Create an account" in Membership

This forum was archived on 2017-11-26.