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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Personal Campaign Page throws email error on edit
Pages: [1]

Author Topic: Personal Campaign Page throws email error on edit  (Read 3748 times)

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Personal Campaign Page throws email error on edit
January 29, 2009, 08:44:40 am
Civi 2.2 alpha3

Steps to reproduce (on my system):

1 - Go to edit previously entered PCP
2 - Edit information and save (I was trying to upload a picture)

The following backtrace results (user-specific info replaced by ".."):

Code: [Select]
../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, 898
../sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 327
../sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1216
../sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2394
../sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 442
../sites/all/modules/civicrm/CRM/Core/DAO.php, find, 814
../sites/all/modules/civicrm/CRM/Contribute/Form/PCP/Campaign.php, commonRetrieve, 203
../sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 247
../sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, mainProcess, 152
../sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, realPerform, 129
../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/Contribute/Page/PCPInfo.php, run, 245
../sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 197
../sites/all/modules/civicrm/drupal/civicrm.module, invoke, 318
, civicrm_invoke,
../includes/menu.inc, call_user_func_array, 348
../index.php, menu_execute_active_handler, 18

Followed by the following CiviCRM error:

Sorry. A non-recoverable error has occurred.

DB Error: no such field

Database Error Code: Unknown column 'notify_email' in 'field list', 1054

Return to home page.

Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] => SELECT  notify_email 
 FROM civicrm_pcp_block
 
 WHERE (  civicrm_pcp_block.entity_table  = 'civicrm_contribution_page' )  AND (  civicrm_pcp_block.entity_id = 1 )
 
 
 
 [nativecode=1054 ** Unknown column 'notify_email' in 'field list']
    [type] => DB_Error
    [user_info] => SELECT  notify_email 
 FROM civicrm_pcp_block
 
 WHERE (  civicrm_pcp_block.entity_table  = 'civicrm_contribution_page' )  AND (  civicrm_pcp_block.entity_id = 1 )
 
 
 
 [nativecode=1054 ** Unknown column 'notify_email' in 'field list']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT  notify_email 
 FROM civicrm_pcp_block
 
 WHERE (  civicrm_pcp_block.entity_table  = 'civicrm_contribution_page' )  AND (  civicrm_pcp_block.entity_id = 1 )
 
 
 
 [nativecode=1054 ** Unknown column 'notify_email' in 'field list']"]
)

This is as of alpha3 - alpha1 (as far as I tested) didn't exhibit this behavior.[/code]
« Last Edit: January 29, 2009, 08:51:54 am by bcobin »

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: Personal Campaign Page throws error on pic upload
January 29, 2009, 08:47:39 am
Have you done fresh install or upgraded ?  "notify_email" field was added between alpha1 and alpha3.

Kurund
Found this reply helpful? Support CiviCRM

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Personal Campaign Page throws email error on edit
January 29, 2009, 08:53:12 am
I upgraded following the upgrade procedure, as requested. I suppose I should do a fresh install?

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: Personal Campaign Page throws email error on edit
January 29, 2009, 09:11:23 am
Upgraded from which version of CiviCRM ?

Kurund
Found this reply helpful? Support CiviCRM

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Personal Campaign Page throws email error on edit
January 29, 2009, 09:23:07 am
2.2 alpha1. That's the only possible upgrade path at the moment, correct? (I know that alpha2 was short-lived.)

I downloaded and decompressed the files and then ran the upgrade following the instructions here: http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Upgrade+Drupal+Sites+to+2.2

I then ran the upgrade command: http://<your_drupal_home>/civicrm/upgrade?reset=1 and it all checked out. Any ideas? Thanks!

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: Personal Campaign Page throws email error on edit
January 29, 2009, 11:20:19 am
There was some problem with 2.2 alpha2, hence we released 2.2 alpha3. So if you had upgraded to alpha2 and then to alpha3. Then i would recommend fresh install of alpha3.

Kurund
Found this reply helpful? Support CiviCRM

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Personal Campaign Page throws email error on edit
January 29, 2009, 12:00:37 pm
Nope - as I said, I upgraded from alpha1. So it would probably be a good idea to check the upgrade routine, no?

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: Personal Campaign Page throws email error on edit
January 29, 2009, 12:17:18 pm
Looks like a bug in upgrade alpha1 to alpha3 . So i guess you will have to do fresh install of alpha3 :(

Kurund
Found this reply helpful? Support CiviCRM

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Personal Campaign Page throws email error on edit
January 29, 2009, 01:41:46 pm
Thanks, Kurund. Just so it's noted. I'm actually waiting for alpha4,which I expect will have the iCal CiviEvent feed fix and perhaps a solution to Date calendar incompatibility in Views2. Thanks for the tip - always nice to know I'm not losing my mind...  :)

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: Personal Campaign Page throws email error on edit
January 29, 2009, 03:08:44 pm

FYI, neither of the two are on the priority list for 2.2 alpha4/beta1. If important to you please consider submitting a patch. If you dont have the development skills, please consider hiring someone

Both the below are integration issues and consume a fair amount of time. We've spent a bit too much time trying to figure out why the google calendar integration stopped working

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

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Personal Campaign Page throws email error on edit
January 29, 2009, 06:20:23 pm
On the iCal feed, I'm just referring to this thread here:

http://forum.civicrm.org/index.php/topic,6312.msg27804.html#msg27804

You said
Quote
the url issue is fixed and will be part of alpha 4
- is that not the case? Just trying to figure out what's up - I know you must have your hands full.

Back on topic: I realize that a "fresh install" is kinda what I already did; the only way to make it "fresher," I suppose, would be to delete the db and start over. So the upgrade procedure from alpha1 to alpha3 (which we were asked to test) is evidently lacking.

If this is addressed in alpha4/Beta, I'll just wait - the Event integration is pretty important, so I'm at a bit of a standstill here.

Thanks for taking the time - greatly appreciated!

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Personal Campaign Page throws email error on edit
January 29, 2009, 11:29:00 pm
Quote
Back on topic: I realize that a "fresh install" is kinda what I already did; the only way to make it "fresher," I suppose, would be to delete the db and start over. So the upgrade procedure from alpha1 to alpha3 (which we were asked to test) is evidently lacking.

We just figured out the problem for "fresh 2.2.alpha1 -> 2.2.alpha3" upgrade. Execute the following query and you should be back on track -
Code: [Select]
ALTER TABLE `civicrm_pcp_block`
  ADD notify_email varchar(255) DEFAULT NULL COMMENT 'If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page';

The fix would also be provided in a way that upgrading to next release would automatically fix the problem (if any).
« Last Edit: January 30, 2009, 12:21:19 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Personal Campaign Page throws email error on edit
January 30, 2009, 07:46:08 am
YAY! Worked beautifully! Thank you SO much - especially for responding so quickly. Woo hoo!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Personal Campaign Page throws email error on edit
January 30, 2009, 09:33:55 am
Regarding "the url issue is fixed and will be part of alpha 4" - just verified with lobo that this is the case :-)

BUT - we're still having trouble getting Google calendar integration working - so diagnosing / debugging / patch from folks out there who are interested in this would be good.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.2 Release Testing »
  • Personal Campaign Page throws email error on edit

This forum was archived on 2017-11-26.