Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.7.7
-
Fix Version/s: Unscheduled
-
Component/s: CiviContribute
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
I create a new Contribution Page.
I enable "Honoree Section"
I click "copy" next to the default Honoree Profile and click "add set of custom fields" and I set it for "Contributions - Any"
I add a Text field to that Data Set called "Name of person to notify 3" I finished and close that.
I add "Individual: Address Name (Primary)" to the default Honoree Profile and I am editing in the popup window and Save it.
I now go the Profiles page and click "Fields" next to the Honoree Profile I created called "Honoree Individual (Copy)" and I add my "Name of person to notify 3" field.
Now I visit the test drive page for my Contribution Page and I click "In Honor Of" and I see my "Name of person to notify 3" field. I fill in the details and submit.
On the Confirmation page I do not see my "Name of person to notify 3" field at all. I click "Make Contribution" and I get
Sorry but we are not able to provide this at the moment.
DB Error: already exists
I refresh a different page and I see
Warning: fopen(/srv/buildkit/build/dmaster/sites/default/files/civicrm/ConfigAndLog/CiviCRM.48ee27a6a26f2853ab03479e29d5a842.log): failed to open stream: Permission denied in Log_file->open() (line 216 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/Log/file.php).
Warning: fopen(/srv/buildkit/build/dmaster/sites/default/files/civicrm/ConfigAndLog/CiviCRM.48ee27a6a26f2853ab03479e29d5a842.log): failed to open stream: Permission denied in Log_file->open() (line 216 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/Log/file.php).
Warning: fopen(/srv/buildkit/build/dmaster/sites/default/files/civicrm/ConfigAndLog/CiviCRM.48ee27a6a26f2853ab03479e29d5a842.log): failed to open stream: Permission denied in Log_file->open() (line 216 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/Log/file.php).
Warning: fopen(/srv/buildkit/build/dmaster/sites/default/files/civicrm/ConfigAndLog/CiviCRM.48ee27a6a26f2853ab03479e29d5a842.log): failed to open stream: Permission denied in Log_file->open() (line 216 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/Log/file.php).
Warning: fopen(/srv/buildkit/build/dmaster/sites/default/files/civicrm/ConfigAndLog/CiviCRM.48ee27a6a26f2853ab03479e29d5a842.log): failed to open stream: Permission denied in Log_file->open() (line 216 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/Log/file.php).
Warning: fopen(/srv/buildkit/build/dmaster/sites/default/files/civicrm/ConfigAndLog/CiviCRM.48ee27a6a26f2853ab03479e29d5a842.log): failed to open stream: Permission denied in Log_file->open() (line 216 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/Log/file.php).
I refresh my error page (the contribution submit page) and I get:
========================
Sorry but we are not able to provide this at the moment.
DB Error: no database selected
Return to home page.
Sorry but we are not able to provide this at the moment.
DB Error: no database selected
Return to home page.
Uncaught exception thrown in session handler.
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM
{sessions}sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_condition_placeholder_0] => feUJpN3u7lc0FNhfbTRZH52dMQLxzN7FrdLET8Hophc [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of /srv/buildkit/build/dmaster/includes/session.inc).
=======================
I see this precise behavior on two different contribution pages I created now on the 4.7.8 Drupal demo site.
On a 4.7.7 Drupal 7 site for a client, the same page (I didn't create it so I can't be sure it was made exactly the same way, but it appears to be) submits and everything works, but when I get my receipt email the "Name of person to notify 3" label appears but the text I entered does not appear.
I am going to try to investigate this further. This is my initial report.