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) »
  • Civi Dashboard not found after successful install
Pages: [1]

Author Topic: Civi Dashboard not found after successful install  (Read 2234 times)

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Civi Dashboard not found after successful install
May 03, 2012, 01:42:18 pm
Hi All,

I did a fresh install of Drupal 7 on a test server (All Good) and then installed CiviCRM 4.10 - seemingly successfully...

- The module install was successful, and I see CiviCRM installed under modules
- The database install was successful, and I see CiviCRM as menu link...

but the menu link to the dashboard returns a server 500 error.

I checked that all privileges for admin are checked... seems to me like some kind of path/priv issue..

Where went wrong? Any ideas on what to do next?   :-\

Additionally, the config checklist link presented after install also failed,
http://www.vhid7.com.php53-22.ord1-1.websitetestlink.com/index.php?q=civicrm/admin/configtask&reset=1


Edit: My PHP error Log is showing the following.

Is there a place I need to check the path Civi uses? The Drupal site as a whole seems to be working.
also, /mnt/target05/349486/414442/www.vhid7.com/web/content/      is correct

[03-May-2012 20:47:51 UTC] PHP Warning:  require_once(DRUPAL_ROOT/includes/errors.inc) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/CRM/Core/Controller.php on line 332

[03-May-2012 20:47:51 UTC] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'DRUPAL_ROOT/includes/errors.inc' (include_path='.:/mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm:/mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/packages:.:/usr/share/pear:/usr/share/php') in /mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/CRM/Core/Controller.php on line 332


« Last Edit: May 03, 2012, 01:57:01 pm by nvisioncurtis »

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Civi Dashboard not found after successful install
May 03, 2012, 03:00:21 pm
Hi,

I dug a litle deeper is I found this post.
http://forum.civicrm.org/index.php/topic,23252.msg97745.html#msg97745

It mentions xcache issue. Could this be my problem?

I wouldn't know where to look for this. I am on a rackspace cloud.  I'm not sure If even possible for me to turn off short of some kind of htaccess code or meta tag to not cache.

Suggestions?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Civi Dashboard not found after successful install
May 04, 2012, 03:30:35 am
Have you asked your host for assistance with this 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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Civi Dashboard not found after successful install
May 04, 2012, 05:43:14 am
No,  but what's the root cause of this error? My host -Rackspace Cloud hosting,  tends to not be very helpful unless your very specific.

Before I go down that rabbit hole, can someone confirm if this is some kind of cache issue of some kind as mentioned in the post I mentioned? 

FYI, I am running an older version of CiviCRM/Drupal 6 on same host and I never had this issue.  Is there something different with CiviCRM version 4 / Drupal 7 that might cause this.

Thanks for your help.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Civi Dashboard not found after successful install
May 07, 2012, 11:02:21 am
Bump.

I don't think this is a cahe issue. 

Any recommendations?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Civi Dashboard not found after successful install
May 07, 2012, 11:26:21 am
Quote from: nvisioncurtis on May 03, 2012, 01:42:18 pm
[03-May-2012 20:47:51 UTC] PHP Warning:  require_once(DRUPAL_ROOT/includes/errors.inc) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/CRM/Core/Controller.php on line 332

I don't know what the issue is, but I would start debugging on that line by doing

Code: [Select]
echo DRUPAL_ROOT;die;
to try to see what is 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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Civi Dashboard not found after successful install
May 07, 2012, 12:05:33 pm
Yeah,

I tried that but it doesn't echo anything.  The file it points to (/includes/errors.inc) is on the server.
the machine path is
/mnt/target05/349486/414442/www.vhid7.com/web/content/

I think its related to the undefined drupal root... this is over my head unless its something I can add in the settings file...

I guess I can try and deleting the module files and try the install again :(

Code: [Select]
[07-May-2012 18:54:13 UTC] PHP Notice:  Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in /mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/CRM/Core/Controller.php on line 334
[07-May-2012 18:54:13 UTC] PHP Warning:  require_once(DRUPAL_ROOT/includes/errors.inc) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/CRM/Core/Controller.php on line 334
[07-May-2012 18:54:13 UTC] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'DRUPAL_ROOT/includes/errors.inc' (include_path='.:/mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm:/mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/packages:.:/usr/share/pear:/usr/share/php') in /mnt/target05/349486/414442/www.vhid7.com/web/content/sites/all/modules/civicrm/CRM/Core/Controller.php on line 334

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Civi Dashboard not found after successful install
May 07, 2012, 12:11:42 pm
Well if you have "Use of undefined constant DRUPAL_ROOT" then perhaps have a look at: http://tinyurl.com/chh9f8o and see some of the first links.

I don't think you posted that error before.
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.

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: Civi Dashboard not found after successful install
May 07, 2012, 01:12:29 pm
Thanks Hersel,

Yes this was an xcache issue. Apparently CiviCRM doesn't like this.

I didn't understand what xcache was. Evidently xcache optimizes PHP code and libraries and in my case I'm using Rackspace cloud hosting -  it can be disabled by adding a line into my .htaccess file...
Code: [Select]
php_flag xcache.cacher 0 

I am posting Rackspace solution here for other rackspace cloud users.
http://www.rackspace.com/knowledge_center/index.php/PHP_Op-code_Cache



Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Civi Dashboard not found after successful install

This forum was archived on 2017-11-26.