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 CiviContribute (Moderator: Donald Lobo) »
  • Deleting Contribution Page in 4.1 results in error
Pages: [1]

Author Topic: Deleting Contribution Page in 4.1 results in error  (Read 598 times)

galdi56

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.1.beta3
  • CMS version: Drupal 6
  • MySQL version: 5.1.49
  • PHP version: PHP Version 5.3.3-7+squeeze3
Deleting Contribution Page in 4.1 results in error
April 13, 2012, 03:57:50 am
Database Error Code: Unknown column 'cp.contribution_page_id' in 'where clause', 1054
Additional Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] =>
SELECT      ccp.title
FROM        civicrm_contribution_page ccp
JOIN        civicrm_pcp cp ON ccp.id = cp.contribution_page_id
WHERE       cp.contribution_page_id = 2 [nativecode=1054 ** Unknown column 'cp.contribution_page_id' in 'where clause']
    [type] => DB_Error
    [user_info] =>
SELECT      ccp.title
FROM        civicrm_contribution_page ccp
JOIN        civicrm_pcp cp ON ccp.id = cp.contribution_page_id
WHERE       cp.contribution_page_id = 2 [nativecode=1054 ** Unknown column 'cp.contribution_page_id' in 'where clause']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="
SELECT      ccp.title
FROM        civicrm_contribution_page ccp
JOIN        civicrm_pcp cp ON ccp.id = cp.contribution_page_id
WHERE       cp.contribution_page_id = 2 [nativecod

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: Deleting Contribution Page in 4.1 results in error
April 13, 2012, 07:54:24 am

can you try this on demo? if u get the same error, please do file an issue

i have a vague memory of this being fixed in a recent release of 4.1 or so

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

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Deleting Contribution Page in 4.1 results in error
April 13, 2012, 10:34:16 am
here is the patch :

https://fisheye2.atlassian.com/rdiff/CiviCRM/branches/v4.1/CRM/Contribute/Page/ContributionPage.php?r1=37855&r2=38894&u&N
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Deleting Contribution Page in 4.1 results in error

This forum was archived on 2017-11-26.