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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Mainly blank pages, warning: array_key_exists() in frontend's new contact form
Pages: [1]

Author Topic: Mainly blank pages, warning: array_key_exists() in frontend's new contact form  (Read 1005 times)

Jaanus

  • Guest
Mainly blank pages, warning: array_key_exists() in frontend's new contact form
December 19, 2010, 06:10:34 am
Hi,
after upgrading to 3.3.1 I couldn't find any way to make civicrm visible. Only the new contact forms in frontend are visible with error message described below, but all others are blank. Turning on Joomla debug doesn't help as I don't see there anything that could have something to do with civicrm. As I understand, civicrm has somewhere its own debugger but how to turn it on when I see only blank pages?

After installing the database update page in backend has shown and the new contact forms in frontend are showing
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in
/path/to/joomlasite/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/Setting.php on line 193

Admin side, as I told, shows only blank pages.

Please tell me what to do?

CiviCRM:    3.3.1
CMS:    Joomla 1.5.22
MySQL:    5.1.53
PHP:    5.2.14

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: Mainly blank pages, warning: array_key_exists() in frontend's new contact form
December 19, 2010, 07:36:30 am

in your civicrm db can you run the following sql command (either via mysql shell or PHPMyAdmin)

UPDATE civicrm_domain SET config_backend = null;

thanx

lobo

p.s> also filed an issue here: http://issues.civicrm.org/jira/browse/CRM-7245 hopefully this will avoid the error for future users
« Last Edit: December 19, 2010, 07:51:33 am by Donald 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

Jaanus

  • Guest
Re: Mainly blank pages, warning: array_key_exists() in frontend's new contact form
December 19, 2010, 01:04:04 pm
Thanks, but what next? I set it to NULL. Still blank screens. And after I tried to open CiviCRM, this config_backend has value again.
This:
a:70:{s:13:"userFramework";s:6:"Joomla";s:11:"initialized";i:0;s:15:"DAOFactoryClass";s:23:"CRM_Contact_DAO_Factory";s:17:"componentRegistry";O:18:"CRM_Core_Component":0:{}s:9:"inCiviCRM";b:0;s:18:"recaptchaPublicKey";N;s:5:"debug";i:0;s:9:"backtrace";i:0;s:12:"resourceBase";N;s:12:"countryLimit";a:1:{i:0;s:4:"1228";}s:13:"provinceLimit";a:1:{i:0;s:4:"1228";}s:21:"defaultContactCountry";s:4:"1228";s:15:"defaultCurrency";s:3:"USD";s:10:"lcMessages";s:5:"en_US";s:18:"dateformatDatetime";s:20:"%B %E%f, %Y %l:%M %P";s:14:"dateformatFull";s:11:"%B %E%f, %Y";s:17:"dateformatPartial";s:5:"%B %Y";s:14:"dateformatYear";s:2:"%Y";s:14:"dateformatTime";s:8:"%l:%M %P";s:15:"timeInputFormat";i:1;s:15:"dateInputFormat";s:8:"mm/dd/yy";s:15:"fiscalYearStart";a:2:{s:1:"M";i:1;s:1:"d";i:1;}s:11:"moneyformat";s:5:"%c %a";s:16:"moneyvalueformat";s:3:"%!i";s:15:"currencySymbols";s:0:"";s:21:"defaultCurrencySymbol";s:1:"$";s:20:"monetaryDecimalPoint";s:1:".";s:25:"monetaryThousandSeparator";s:1:",";s:14:"gettextCodeset";s:5:"utf-8";s:13:"gettextDomain";s:7:"civicrm";s:20:"userFrameworkVersion";s:6:"1.5.22";s:27:"userFrameworkUsersTableName";s:9:"jos_users";s:21:"userFrameworkFrontend";b:0;s:20:"userFrameworkLogging";b:0;s:17:"maxImportFileSize";i:1048576;s:14:"maxAttachments";i:3;s:11:"maxFileSize";i:2;s:11:"mapProvider";N;s:9:"mapAPIKey";N;s:13:"geocodeMethod";s:0:"";s:12:"mapGeoCoding";i:1;s:15:"contactUndelete";b:1;s:7:"logging";b:0;s:12:"versionCheck";b:1;s:16:"enableComponents";a:6:{i:0;s:14:"CiviContribute";i:1;s:10:"CiviPledge";i:2;s:10:"CiviMember";i:3;s:9:"CiviEvent";i:4;s:8:"CiviMail";i:5;s:10:"CiviReport";}s:18:"enableComponentIDs";a:6:{i:0;i:1;i:1;i:6;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:8;}s:9:"enableSSL";b:0;s:18:"fatalErrorTemplate";s:20:"CRM/common/fatal.tpl";s:17:"fatalErrorHandler";N;s:14:"legacyEncoding";s:12:"Windows-1252";s:14:"fieldSeparator";s:1:",";s:17:"maxLocationBlocks";i:2;s:15:"captchaFontPath";s:25:"/usr/X11R6/lib/X11/fonts/";s:11:"captchaFont";s:17:"HelveticaBold.ttf";s:21:"includeWildCardInName";i:1;s:18:"includeEmailInName";i:1;s:21:"includeNickNameInName";i:0;s:22:"smartGroupCacheTimeout";i:0;s:22:"defaultSearchProfileID";N;s:21:"dashboardCacheTimeout";i:1440;s:15:"doNotResetCache";i:0;s:24:"includeAlphabeticalPager";i:1;s:20:"includeOrderByClause";i:1;s:13:"oldInputStyle";i:1;s:14:"formKeyDisable";b:0;s:13:"verpSeparator";s:1:".";s:12:"mailerPeriod";i:180;s:16:"mailerSpoolLimit";i:0;s:16:"mailerBatchLimit";i:0;s:15:"civiRelativeURL";s:64:"/ektr/administrator/index2.php?option=com_civicrm&task=&";}
« Last Edit: December 19, 2010, 01:06:31 pm by Jaanus »

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: Mainly blank pages, warning: array_key_exists() in frontend's new contact form
December 19, 2010, 03:46:33 pm

u'll need to check your apache logs and see whats causing the blank page and why. no ideas as to why at this time. sorry

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

Jaanus

  • Guest
Re: Mainly blank pages, warning: array_key_exists() in frontend's new contact form
December 20, 2010, 04:46:25 am
Something still changed:
1) the forms in frontend and task=civicrm/upgrade&reset=1 are without ths error message now;
2) I can add and search for contacts from frontend
3) I can even see user's dashboard

task=civicrm/menu/rebuild&reset=1 and task=civicrm/dashboard&reset=1 both still return blank screen.
Also I can't display the whole contact list in frontend.

Actually the blank screen problems begun when my test page got attacked with nonsense queries (don't know why). Then I renamed the site's folder, domains in civicrm files, upgraded to this newer version and followed also your suggestions.

Could it have something to do with the templates_c folder? That's a particular case. I have to rename it every time when upgrading because the weird folders named as %%A0 and so on are unremovable and unreadable for me (DirectAdmin can't even reset their ownership, neither FileZilla)

« Last Edit: December 20, 2010, 04:50:08 am by Jaanus »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Mainly blank pages, warning: array_key_exists() in frontend's new contact form

This forum was archived on 2017-11-26.