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) »
  • blank admin screens
Pages: [1]

Author Topic: blank admin screens  (Read 3193 times)

rrcjab

  • Guest
blank admin screens
August 16, 2007, 04:50:42 pm
Hi all, sorry for yet another blank screen problem. The basic drupal site and content is visible, but anything in the admin subdirectory is blank after enabling the CiviCRM module.

I used the automatic installer with the beta 1.8 version. The MySQL (4.1.21) and PHP (5.1.6) versions passed the tests, as did the directory permissions.

PHP has 64 Megs of memory available.

The civicrm.settings.php file was created by the installer and is readable only by apache, so I can't even view it.

I don't have access to the apache log files since it's a hosted server.

I don't know what else to check. Any suggestions?
« Last Edit: August 16, 2007, 06:17:08 pm by rrcjab »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: blank admin screens
August 16, 2007, 09:37:00 pm
Quote from: rrcjab on August 16, 2007, 04:50:42 pm
The basic drupal site and content is visible, but anything in the admin subdirectory is blank after enabling the CiviCRM module.

What about the basic CiviCRM content? Can you see any contacts, or does all CiviCRM content is blank?

Quote from: rrcjab on August 16, 2007, 04:50:42 pm
The civicrm.settings.php file was created by the installer and is readable only by apache, so I can't even view it.

I don't have access to the apache log files since it's a hosted server.

Maybe your hosting provider enables some kind of web interface that allows you to see the civicrm.settings.php file and/or the Apache logs?

Quote from: rrcjab on August 16, 2007, 04:50:42 pm
I don't know what else to check. Any suggestions?

Does your Drupal user has the ‘access CiviCRM’ and ‘administer CiviCRM’ roles permissions enabled?
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.

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: blank admin screens
August 17, 2007, 12:19:12 am
Can you install devel module for Drupal, that might be able to give you better idea..

kurund
Found this reply helpful? Support CiviCRM

rrcjab

  • Guest
Re: blank admin screens
August 17, 2007, 05:37:06 am

Thank you for your quick replies.

Quote from: Piotr Szotkowski on August 16, 2007, 09:37:00 pm
What about the basic CiviCRM content? Can you see any contacts, or does all CiviCRM content is blank?

Can't see any of the CiviCRM content.

Quote from: Piotr Szotkowski on August 16, 2007, 09:37:00 pm
Maybe your hosting provider enables some kind of web interface that allows you to see the civicrm.settings.php file and/or the Apache logs?

I have sent an email and will find out.

Quote from: Piotr Szotkowski on August 16, 2007, 09:37:00 pm
Does your Drupal user has the ‘access CiviCRM’ and ‘administer CiviCRM’ roles permissions enabled?

I can't set the permissions because as soon as I enable the module, I can not longer see any admin screen (including admin/user/access). However, I am logged in as admin (user 1) and haven't assigned any roles to admin, so it shouldn't be excluded, should it?

Quote from: Kurund Jalmi on August 17, 2007, 12:19:12 am
Can you install devel module for Drupal, that might be able to give you better idea..

Ok, so I installed the devel module and now when I enable the CiviCRM module to see what's breaking, it works fine (even when I turn devel off again). I find this frustrating, because I actually want to know what was wrong, not just for personal knowledge/satisfaction, but in case it happens again.
« Last Edit: August 17, 2007, 05:40:41 am by rrcjab »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: blank admin screens
August 17, 2007, 09:09:34 am
Quote from: rrcjab on August 17, 2007, 05:37:06 am
Quote from: Piotr Szotkowski on August 16, 2007, 09:37:00 pm
Does your Drupal user has the ‘access CiviCRM’ and ‘administer CiviCRM’ roles permissions enabled?

I can't set the permissions because as soon as I enable the module, I can not longer see any admin screen (including admin/user/access). However, I am logged in as admin (user 1) and haven't assigned any roles to admin, so it shouldn't be excluded, should it?

Hm, so you can’t see any Drupal admin stuff as well. That’s strange.

Quote from: rrcjab on August 17, 2007, 05:37:06 am
Ok, so I installed the devel module and now when I enable the CiviCRM module to see what's breaking, it works fine (even when I turn devel off again). I find this frustrating, because I actually want to know what was wrong, not just for personal knowledge/satisfaction, but in case it happens again.

I’m afraid that without access to the webserver’s (or PHP’s) logs, there’s nothing we can really say (lacking the error messages).
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.

rrcjab

  • Guest
Re: blank admin screens
August 17, 2007, 11:40:05 am
Quote from: Piotr Szotkowski on August 17, 2007, 09:09:34 am

Hm, so you can’t see any Drupal admin stuff as well. That’s strange.


That's what I thought. I had to actually edit the system table to turn it off.

Quote from: Piotr Szotkowski on August 17, 2007, 09:09:34 am
I’m afraid that without access to the webserver’s (or PHP’s) logs, there’s nothing we can really say (lacking the error messages).

so my host just changed the permissions of the civicrm.settings.php file to 644. Can you recommend a tool that I ca suggest for viewing files owned by apache instead?

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: blank admin screens
August 17, 2007, 02:27:16 pm
You can’t really view the file through the browser, as the PHP code would get executed before displaying you the file (which would in effect appear as empty).

You can, though, download it through FTP and examine with a text editor once downloaded – in much the same way you uploaded all the CiviCRM files to your host in the first place.
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.

rrcjab

  • Guest
Re: blank admin screens
August 17, 2007, 02:45:18 pm

The problem is php files with permissions 600 and owner apache.

What if I write a perl script that simply reads the file and serves it up as text? I would save the script on the same host as my php files. That way, if I call the script from the browser, it is run as user "apache" so it can read the file.

Would that work?

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: blank admin screens
August 17, 2007, 03:02:02 pm
Yes, I understand, but if your host changed the permissions to 644, then you can simply download it through FTP now.

Your solution would work as well, but then the whole world can see your database settings, which is not really a good thing to say the least.
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.

rrcjab

  • Guest
Re: blank admin screens
August 24, 2007, 05:37:31 pm

I am now using PHPFileNavigator: http://pfn.sourceforge.net/index.php?opc=1&lg=ing which is great.


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

This forum was archived on 2017-11-26.