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 Failing - Page Not Found and DB errors
Pages: [1]

Author Topic: Install Failing - Page Not Found and DB errors  (Read 1659 times)

ccg

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal 6
  • MySQL version: 5
  • PHP version: 5.3
Install Failing - Page Not Found and DB errors
March 01, 2011, 05:20:05 pm
Apologies if this has been answered elsewhere - I've been browsing the board and still can't find an answer for this one.

Host: Dreamhost
Drupal: 6.20, fresh install with files directory created
CiviCRM version: 3.3.5
MySQL: 5.1.39
PHP   5.3.5
PHP memory limit: 128M

Installing with separate databases and separate users with full permissions to both databases, the install screen at /sites/all/modules/civicrm/install/index.php gives the 'all systems go' message and starts installing, but ends with a Page Not Found at /sites/all/modules/civicrm/install/index.php (even though I have confirmed the files is there)

The sites/default/civicrm.settings.php file is not being created in the install. I have tried uploading one with the correct settings to the folder and then trying to enable the CiviCRM module, which does show as being installed. The results in the page:

Sorry. A non-recoverable error has occurred.
DB Error: no such table

In the logs, there are the errors:

include_once() [<a href='function.include'>function.include</a>]: Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/<user>/<site>.com/sites/all/modules/civicrm/drupal/civicrm.module on line 252.

include_once(sites/default/civicrm.settings.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/<user>/<site>.com/sites/all/modules/civicrm/drupal/civicrm.module on line 252.

Additionally,
internal_error.html is my top "access denied" result

I've been spinning my wheels on this and have read dozens of pages looking for similar issues. It's possible that it's a permissions issue with Dreamhost, but I'd like to see if anyone has had similar. Any help is greatly appreciated. The project is a labor of love that I'm doing as a volunteer, but I'm running out of time.

 


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Install Failing - Page Not Found and DB errors
March 01, 2011, 10:05:24 pm
I can not determine what your error is when trying to install--we would need to see error logs for that.

Regarding the error "DB Error: no such table" that's obviously because the install procedure never finished creating the tables.

The other errors would appear to be related to the faulty installs, but I can't be certain based on the information presented.

My advice would be to consider a host with experience hosting CiviCRM because it would certainly appear that the problem is your host--and not just a permissions problem--the failure to install would lend me to think the host may not be able to handle CiviCRM.
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.

ccg

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal 6
  • MySQL version: 5
  • PHP version: 5.3
Re: Install Failing - Page Not Found and DB errors
March 01, 2011, 10:39:05 pm
The only things I'm seeing in the error log are as follows:

[Tue Mar 01 15:58:16 2011] [error] [client 99.119.192.39] Premature end of script headers: index.php, referer: http://<site>/admin/build/modules
[Tue Mar 01 17:55:03 2011] [error] [client 99.119.192.39] Directory index forbidden by Options directive: /home/<user>/<site>/sites/all/modules/

Not sure if that helps - I have a support request into the hosting company as well. It's obvious the install script isn't completing since civicrm.settings.php isn't getting created, the install terminates in a page not found, and the db tables are not all being created. Mostly wondered if anyone had seen similar with Dreamhost and knew where to allow access so that it could complete.

ccg

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Drupal 6
  • MySQL version: 5
  • PHP version: 5.3
Re: Install Failing - Page Not Found and DB errors
March 07, 2011, 02:04:46 pm
Posting the resolution to this for those who find this thread through search queries...

Went through multiple rounds of support with Dreamhost and they could also not complete the install, even with all permissions set to 777. I did find a thread in my googling that mentioned blocking of script access in Drupal sub folders. Dreamhost wouldn't confirm that, but I think it must have been the case. It seems to be a server setting, since I've also seen issues of this happening for people on only *some* servers on the same hosting company.

Gave up and installed on http://www.a2hosting.com/ and everything worked the first time, no issues at all. Good luck, folks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Install Failing - Page Not Found and DB errors

This forum was archived on 2017-11-26.