Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: 1.8
-
Component/s: None
-
Labels:None
Description
There are MANY PHP Notices now being displayed when running CiviCRM in Joomla. The following list is a sampling of them. The person who takes on this issue must go through each screen and form and fix them as they find them.
*******************
The initial run through should be done with the default install data - civicrm_data and NOT civicrm_generated - as many errors are related to "simpler" cases. As you're creating test data - think about the "simplest" cases. For example, I created MANY errors by creating an Online Contribution page WITHOUT profiles, WITHOUT premiums, WITHOUT honor block and with only OTHER AMOUNT.
*******************
Search Builder - starting form:
Notice: Undefined offset: 2 in /Users/dgg/svn/trunk/CRM/Contact/Form/Search/Builder.php on line 80
Notice: Undefined variable: mappingId in /Users/dgg/svn/trunk/CRM/Contact/Form/Search/Builder.php on line 93
Notice: Undefined index: hasLocationType in /Users/dgg/svn/trunk/CRM/Core/BAO/Mapping.php on line 382
Notices displayed in help "overlay" from Advanced Search (mouseover the ? icon):
Notice: Undefined index: task in /Users/dgg/svn/trunk/CRM/Core/Smarty.php on line 131
Notice: Undefined index: task in /Users/dgg/svn/trunk/CRM/Core/Menu.php on line 108
Notice: Undefined offset: 1 in /Users/dgg/svn/trunk/CRM/Core/Menu.php on line 110
Notice: Undefined offset: 1 in /Users/dgg/svn/trunk/CRM/Core/Menu.php on line 144
Test drive online contribution page w/o thermomemter and w/o profiles and with only Other Amount field (no premiums, no membership block) - these are from contribution wizard sequence:
Notice: Undefined index: is_thermometer in /Users/dgg/svn/trunk/CRM/Contribute/Form/ContributionBase.php on line 156
Notice: Undefined index: is_recur in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution/Main.php on line 146
Notice: Uninitialized string offset: 0 in /Users/dgg/svn/trunk/CRM/Core/BAO/UFGroup.php on line 1576
Notice: Undefined index: amount in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution/Main.php on line 443
Notice: Undefined index: selectMembership in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution/Main.php on line 369
Notice: Undefined index: amount in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution/Main.php on line 389
Notice: Undefined index: is_recur in /Users/dgg/svn/trunk/CRM/Contribute/Form/ContributionBase.php on line 272
Notice: Undefined index: thankyou_footer in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution/ThankYou.php on line 59
Register for Event w/ NO profiles + PayPal Std:
civicrm/event/register&id=1&reset=1&action=preview
Notice: Uninitialized string offset: 0 in /Users/dgg/svn/trunk/CRM/Core/BAO/UFGroup.php on line 1576
View contact, membership tab
civicrm/contact/view&reset=1&force=1&cid=1&selectedChild=participant
Notice: Undefined index: all in /Users/dgg/svn/trunk/CRM/Contact/Page/View/Membership.php on line 229
View contact - add contribution
civicrm/contact/view/contribution&reset=1&action=add&cid=1&context=contribution
Notice: Undefined variable: defaults in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution.php on line 627
Notice: Undefined index: source in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution.php on line 374
Notice: Undefined index: is_test in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution.php on line 211
Notice: Undefined index: honor_contact_id in /Users/dgg/svn/trunk/CRM/Contribute/Form/Contribution.php on line 214
The following notices need to be "fixed" in CRM/Event/Form files. They appear in Joomla on Confirm form in Register wizard when the event is configured with is_monetary = false.
(joomla/administrator/index2.php?option=com_civicrm&task=civicrm/event/register&_qf_Confirm_display=true&qfKey=d5a0b041c53b2072a4fb9d7fbb635d58)
I'm not sure if we should be bypassing a chunk of code which is "expecting" to handle billing block fields - or just do isset() on all of them.
Notice: Undefined index: billing_first_name in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 303
Notice: Undefined index: billing_last_name in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 307
Notice: Undefined index: street_address-5 in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 333
Notice: Undefined index: city-5 in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 333
Notice: Undefined index: postal_code-5 in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 333
Notice: Undefined index: state_province-5 in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 333
Notice: Undefined index: country-5 in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration.php on line 333
Notice: Undefined index: is_monetary in /Users/dgg/htdocs/joomla/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php on line 187