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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • ..civicrm/dashboard is blank
Pages: [1]

Author Topic: ..civicrm/dashboard is blank  (Read 3776 times)

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
..civicrm/dashboard is blank
January 05, 2010, 03:13:25 am
Hi all,

I´ve been running CIVICRM 2.2.7 for some time, and have recently incurred a problem in a Drupal upgrade.
Trying to access ..civicrm/dashboard fails to deliver a page.

I really don´t know which way to turn now as I have reinstalled 2.2.7 but the problem persists.

Any pointers would be greatly appreciated.

TIA
Tony


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: ..civicrm/dashboard is blank
January 05, 2010, 09:01:03 pm
You should check apache logs for errors.

Kurund
Found this reply helpful? Support CiviCRM

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: ..civicrm/dashboard is blank
January 06, 2010, 05:16:36 am
Thanks for your response.

The error log shows a consistent error, which I´ve reproduced below.

[Tue Jan  5 21:27:59 2010] [error] PHP Fatal error:  Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /usr/home/the-user/web/sites/all/modules/civicrm/packages/IDS/Monitor.php:187\n

Stack trace:\n

#0 /usr/home/the-user/web/sites/all/modules/civicrm/CRM/Core/IDS.php(131): IDS_Monitor->__construct(Array, Object(IDS_Init))\n

#1 /usr/home/the-user/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(74): CRM_Core_IDS->check(Array)\n

#2 /usr/home/the-user/web/sites/all/modules/civicrm/drupal/civicrm.module(342): CRM_Core_Invoke::invoke(Array)\n

#3 [internal function]: civicrm_invoke('dashboard')\n

#4 /usr/home/the-user/web/includes/menu.inc(348): call_user_func_array('civicrm_invoke', Array)\n

#5 /usr/home/the-user/web/index.php(18): menu_execute_active_handler()\n

#6 {main}\n  thrown in /usr/home/the-user/web/sites/all/modules/civicrm/packages/IDS/Monitor.php on line 187


I find this rather strange as the IDS/tmp folder seems writable:

              drwxr-xr-x  2 the-user  the-user    512 Jul  6  2009 tmp


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: ..civicrm/dashboard is blank
January 06, 2010, 05:25:50 am
Can you delete your files/civicrm/template_c folder and files/civicrm/upload/Config.IDS.ini file and check if that helps.

Kurund
Found this reply helpful? Support CiviCRM

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: ..civicrm/dashboard is blank
January 06, 2010, 05:19:43 pm
Deleting both caused a failure on attempting to login to the host site:

Error: Could not create directory: /home/the-user/web/sites/default/files/civicrm/templates_c.
If you have moved your database from a development install to a production install and the directory paths are different, please set the column config_backend in the civicrm_domain table to NULL. You will need to reinitialize your settings in the production install.


However files/civicrm is writeable:

          drwxrwxr-x  5 the-user  the-user    512 Jan  7 11:16 civicrm

I've now replaced the deleted file and directories

Another possible anomaly I noticed is that the directory hierarchy is files/civicrm/templates_c/en_US/en_US/...
I wouldn't have expected the double en_US.

Thanks again

Tony

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: ..civicrm/dashboard is blank
January 07, 2010, 01:52:33 am
Quote
Error: Could not create directory: /home/the-user/web/sites/default/files/civicrm/templates_c.
If you have moved your database from a development install to a production install and the directory paths are different, please set the column config_backend in the civicrm_domain table to NULL. You will need to reinitialize your settings in the production install.

Can you recheck if you have entered correct path for $civicrm_root and template directory in your civicrm.settings.php. Can't think of any other solution.

Hth

Kurund
Found this reply helpful? Support CiviCRM

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: ..civicrm/dashboard is blank
January 07, 2010, 04:32:11 am
From civicrm.settings.php:

global $civicrm_root;
$civicrm_root = '/home/the-user/web/sites/all/modules/civicrm';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/the-user/web/sites/default/files/civicrm/templates_c/' );

which seems OK to me.

Maybe the solution is to extract what I can from the database and do a clean reinstall.

Cheers
Tony

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: ..civicrm/dashboard is blank
February 08, 2010, 03:00:04 am
"Maybe the solution is to extract what I can from the database and do a clean reinstall."

Which is what I did - but I wouldn't recommend it to anyone, particularly if the installation has been up and running for a while.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: ..civicrm/dashboard is blank
February 15, 2010, 05:03:38 am
Does it mean that this problem is fixed for you?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • ..civicrm/dashboard is blank

This forum was archived on 2017-11-26.