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) »
  • Install successful but no CiviCRM access
Pages: [1] 2 3

Author Topic: Install successful but no CiviCRM access  (Read 6972 times)

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Install successful but no CiviCRM access
September 09, 2011, 04:04:43 pm
This is a fresh install of Drupal 7.7 and CiviCRM 4.0.5. Installation goes fine. Configuration checklist link leads to "The website encountered an error while retrieving..." message. (As does <mysite>index.php?q=civicrm.) CiviCRM Module appears to be active in Modules screen but there are no CiviCRM menus anywhere. Have tried dumping cache, logging out and back in, and finally a clean re-install of CiviCRM. I have read where I should dump the files from <mysite>sites/default/files/civicrm/templates_c but frankly there are just empty %% directories that I cannot delete. What next, please?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install successful but no CiviCRM access
September 10, 2011, 11:28:30 am
Yes, you should delete everything in <mysite>sites/default/files/civicrm/templates_c . If you don't permission to, the ask your host or sysadmin for assistance with that.

Regarding your error "The website encountered an error while retrieving..." I would need to see the rest of it to understand what's going on.
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.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 15, 2011, 09:27:31 am
I had the hosting service delete the directories below templates_c. I then re-ran the configuration link on the installation page and received this message: "Error: Could not create directory:<mysite>sites/default/files/civicrm/templates_c/en_US/en_US/." So, I manually created that directory and changed the permissions to 755 and re-ran the config. It then yielded an error of "The website encountered an error while retrieving http://<mysite>index.php?q=civicrm/admin/configtask&reset=1. It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request." I manually created a ConfigAndLog directory and reran the config page again. It now yields this message: "Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data."  and there are again directories like: %%06 with permissions and owner/group that does not permit me to delete them. I am at another dead-end. Any suggestions?

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 15, 2011, 09:46:36 am
As a follow-on: I had the hosting service correct the owner/group and I now have directories like this: en_US>ConfigAndLog and en_US>%%06>06C. The latter has a 06C5296F%%jquery.files.tpl.php file. Permissions are 755 on all.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install successful but no CiviCRM access
September 15, 2011, 10:09:25 am
Those files/directories in templates_c are correct--CiviCRM makes those.

Do you still have an error?
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.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 15, 2011, 10:32:49 am
Yes: still an error. Here is the full message:

<<The website encountered an error while retrieving http://166.70.245.26/tao/index.php?q=civicrm/admin/configtask&reset=1. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.>>

I still can toggle CiviCRM on via the modules page and even configure permissions, but I have no access to any menus nor do I see anything CiviCRM-related on the configuration page.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install successful but no CiviCRM access
September 15, 2011, 10:36:35 am
Can you see the Apache logs to see what error message was recorded?
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.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 15, 2011, 11:01:18 am
Probably not. I assume they are on the sever at a level I don't have access to. However, could re-generate the error and have the hosting service support send me the message if that would help.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install successful but no CiviCRM access
September 15, 2011, 11:06:26 am
Yes, do that--it would help a lot.
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.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 15, 2011, 12:15:05 pm
Three interesting things:

1) The error I see on the browser side oscillates between "HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request." and "Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data." 
2) The errors appear in either IE or Chrome, but in Opera, Safari or Firefox I just see a blank page.
3) The ISP sees NO errors appearing in the Apache error logs but did see this error in the access logs: [15/Sep/2011:13:03:45 -0600] "GET /tao/index.php?q=civicrm/admin/configtask&reset=1 HTTP/1.1" 500 20 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.10 (maverick) Firefox/3.6.18"

Does this help at all?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install successful but no CiviCRM access
September 15, 2011, 12:54:13 pm
I really can't be sure, but it sounds like an out of memory error or a CPU timeout. Usually such will show an error message either on the screen or on the logs, but a mis-configured server could be to blame for the lack of such.

But without an error message, I really can't be certain what the problem is. All I could suggest is that you try a different server.
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.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 15, 2011, 01:17:36 pm
It is not acting like any out of memory problem I have seen as the error message returns pretty quickly. This 'seems' more like a configuration problem somewhere. Any other suggestions from anyone as ordering up a new server is likely to fall on deaf ears.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 16, 2011, 04:49:53 pm
I've turned the drupal error reporting on and now see this when trying to access CiviCRM configuration:

Notice: Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in /home/users/t/theartsorganization/public_html/tao/sites/all/modules/civicrm/CRM/Core/Controller.php on line 332

Warning: require_once(DRUPAL_ROOT/includes/errors.inc) [function.require-once]: failed to open stream: No such file or directory in /home/users/t/theartsorganization/public_html/tao/sites/all/modules/civicrm/CRM/Core/Controller.php on line 332

Fatal error: require_once() [function.require]: Failed opening required 'DRUPAL_ROOT/includes/errors.inc' (include_path='.:/home/users/t/theartsorganization/public_html/tao/sites/all/modules/civicrm:/home/users/t/theartsorganization/public_html/tao/sites/all/modules/civicrm/packages:.:/usr/share/php:/usr/share/pear') in /home/users/t/theartsorganization/public_html/tao/sites/all/modules/civicrm/CRM/Core/Controller.php on line 332

Drupal lives in a subdirectory called "tao" below root. Am I experiencing a path problem?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install successful but no CiviCRM access
September 17, 2011, 11:41:08 am
I'm not sure. There was such an error here http://forum.civicrm.org/index.php?topic=19232.0 and fix, but only for MAMP. Is your server Linux or Mac?
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.

clayhaus

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.7
  • MySQL version: 5.1
  • PHP version: 5.5
Re: Install successful but no CiviCRM access
September 18, 2011, 06:55:27 am
I saw that post. CiviCRM is running at an ISP on Linux. I'm not sure what XCache is but MAMP does not factor in my install. I'm tempted to uninstall CiviCRM and dump the tables. I had already uninstalled and reinstalled the module but did not dump the MySQL tables. Any other suggestions?

Pages: [1] 2 3
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Install successful but no CiviCRM access

This forum was archived on 2017-11-26.