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 Profiles (Moderator: Dave Greenberg) »
  • [Solved] White Screen in J3.0 admin
Pages: [1]

Author Topic: [Solved] White Screen in J3.0 admin  (Read 3899 times)

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
[Solved] White Screen in J3.0 admin
May 26, 2013, 10:28:22 pm
Hi All,

As I understand it, CiviCRM 4.3 in J3.0 compatible.  I realise that there has been no *official* word on this, but that was my understanding after reading these forums.  If I'm wrong, someone please correct me and I will hold off putting my troublesome test site into production for a while.

Anyway, to the issue:

I was able to install Civi 4.3.3 into a J3.0.3 environment with no issues at all.  However, as soon as I attempted to set the locale settings while doing the initial config, something went wrong.  The settings do not appear to have saved correctly and I now get a white screen when selecting CiviCRM from the components menu.

If someone could give me some hints on troubleshooting this (which logs to check, files to delete, etc) I would me much obliged.

Cheers
« Last Edit: May 30, 2013, 10:56:35 pm by combrains »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White Screen in J3.0 admin
May 28, 2013, 01:18:38 pm
You get WSOD? Check for errors in the server Apache log.

Let us know what locale settings you are trying to use also.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Re: White Screen in J3.0 admin
May 30, 2013, 10:00:54 pm
Thanks for the reply.  httpd error log shows this:

Code: [Select]
[error] PHP Fatal error: Call to undefined method JRegistry::getValue() in /var/www/vhosts/musikmakers.org.nz/subdomains/dev/httpdocs/administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php on line 567, referer: http://dev.musikmakers.org.nz/administrator/index.php?
I was trying to set settings appropriate for a New Zealand locale: ie NZD currency, British English as language etc.

Could there be a conflict in locale settings between Civi and the CMS?

Thanks for the help

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Re: White Screen in J3.0 admin
May 30, 2013, 10:55:57 pm
BINGO! Found the issue.

After reading the error in the log more closely, I inspected the file mentioned in the error - only to find that it did indeed control the setting of the language.

After a little digging in the database, I found the civicrm_domain table which contained all the locale settings.  I discovered that I had the 'inherit CMS language' option turned on.  after manually turning this off in the database, the Joomla admin console loaded an the issue was solved.

It seems that if using the default en_GB language pack in Joomla, CiviCRM does not like it's own language changed to anything other than US English - which is kind of annoying.  If anyone knows how to change this or can point me in the direction I need to go, I'd appreciate it.

diegov

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 0
    • dotPro Tecnologia e Comunicação
  • CiviCRM version: 4.3.5
  • CMS version: Joomla! 3.1.x
  • MySQL version: 5.3
  • PHP version: 5.3
Re: [Solved] White Screen in J3.0 admin
August 12, 2013, 01:39:04 pm
For the others looking at this error, I think I found a better way to solve it.
As shown, the line causing the error is 567 of file /administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php at Joomla! version 3.x instalations.
The line originally is:
Code: [Select]
$locale = $conf->getValue('config.language')Changing it to the following works, without the need to touch the database:
Code: [Select]
$locale = $conf->get('config.language')I'm registering this at the bug tracking.

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: [Solved] White Screen in J3.0 admin
August 12, 2013, 05:09:50 pm
Can u please ensure that your patch also works in joomla 3.0.x please

Thanx for investigating this issue

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

diegov

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 0
    • dotPro Tecnologia e Comunicação
  • CiviCRM version: 4.3.5
  • CMS version: Joomla! 3.1.x
  • MySQL version: 5.3
  • PHP version: 5.3
Re: [Solved] White Screen in J3.0 admin
August 20, 2013, 08:06:28 am
Hi Lobo,

Tested it in Joomla! 3.0.3 and the patch worked fine.

Regards,
Diego Viégas

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • [Solved] White Screen in J3.0 admin

This forum was archived on 2017-11-26.