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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Dashboard doesn't work
Pages: [1]

Author Topic: Dashboard doesn't work  (Read 1519 times)

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
Dashboard doesn't work
April 06, 2015, 11:22:38 am
Hi,

We have an installation of CiviCRM 4.6.0 on Joomla! 3.4.1 where Dashboard never loads. It's hosted at CiviHosting. The problem is there since we installed Civi, so no relation with the recent upgrade.

The problem happens if there is any active dashlet in the dashboard, no matter if it's the default one (Civi news) or a report inside the system. The dashboard looks like trying to load the dashlet ("Loading..." message), but it never ends. The php process at the server hangs while it happens, I need to kill it if I want to go somewhere else on Civi, so it make me think about a server-side problem.

What I've already tried to solve / discover about the problem:
  • Used Firebug to trace the loading of dashboard, the first part loads fine in 1,24s (?option=com_civicrm&task=civicrm/ajax/dashboard&op=get_widgets_by_column&key=...) but the dashlet (option=com_civicrm&task=civicrm/ajax/dashboard&op=get_widgets&key=...) never load, until it gives a "504 Gateway Timeout" after 10m 1s. No Javascript errors or anything else.
  • Turned Debug and Logging on, on both Civi and PHP, but saw no errors in both log files or in the browser screen.
  • Took a look at the database tables, compared it to other installs, saw no difference.
  • Tried different browsers, cache cleaning, etc. Doesn't look something to do with the client.
  • Asked the host to increase the memory, it should be at 250Mb now.

While the problem is unsolved, I disabled all dashlets, so nobody is going to hang the server, but I would like to solve it and give dashboard to the users.

I also have some other installations of Civi, all with Joomla!, outside CiviHosting, and I have no problems with the dashboard.

Thanks!
« Last Edit: April 06, 2015, 11:28:28 am by diegov »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Dashboard doesn't work
April 06, 2015, 11:28:26 am
Probably you could contact CiviHosting support about this.
Try asking your question on the new CiviCRM help site.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Dashboard doesn't work
April 06, 2015, 11:29:45 am
I've seen this happen sometimes on my dev sites when the server hosting my site can't resolve the domain name I'm using to access the site - which should be a very rare occurrence on a live site, but it's something to check out.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Dashboard doesn't work
April 06, 2015, 08:29:43 pm
I have had this problem for quite a while.  All documented here:

http://forum.civicrm.org/index.php/topic,28216.msg120579.html#msg120579

and here:

http://forum.civicrm.org/index.php/topic,23950.msg152420.html#msg152420

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Dashboard doesn't work
April 06, 2015, 08:30:46 pm
Eileen even entered a JIRA ticket:  https://issues.civicrm.org/jira/browse/CRM-16035

Mig

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
    • Ciclocidade - Associação dos Ciclistas Urbanos de São Paulo
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.41
  • PHP version: 5.4.37
Re: Dashboard doesn't work
April 21, 2015, 11:38:33 am
I've read the other suggested threads about this problem, but could not find a fix to htis problem. Digging about it, I've found that after the related hanging error the field "dashboard contact.content" value changes to something like this:
<h1>500 SERVER ERROR</h1>
<h2>The web server encountered an error and was unable to complete your request. </h2>
</div>
<div>
If this error persists, please contact the webmaster and inform them <br />
of the time the error occurred, as well as anything you might have <br />
done that may have caused the error.
</div>

Sometimes the error message is like this:

504 Gateway Timeout
Gateway Timeout
The gateway did not receive a timely response
from the upstream server or application.

... and sometimes there is no error message at all, the system just hangs with lots of concomitant processes running on the server.

It seems to me that during the dashlet load some process doesn´t get any expected answer from the server, than starts the same process again and again until it crashes.

But I was not able to determine which proccess is this.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Dashboard doesn't work

This forum was archived on 2017-11-26.