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) »
  • Drupal 6.3 install errors - innoDB tables and cannot write to folders
Pages: [1]

Author Topic: Drupal 6.3 install errors - innoDB tables and cannot write to folders  (Read 8014 times)

at02

  • Guest
Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 19, 2008, 10:26:45 am
 ???

I tried to install CiviCRM 2.1 Alpha on my Drupal 6.3 site and I got the following three errors:

CiviCRM Database Details
    "Can I access/create InnoDB tables in the database - Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server."

File Permissions
"Is the files folder writeable? - The user account used by your web-server - xxxxxxx - needs to be granted write access to the following directory in order to configure the CiviCRM settings file: (file directory)"
"Is the sites/default folder writable? - (same as above)"

I am unsure of how to correct these problems.. Where would I go to enable those file permissions?

And with the InnoDB tables, I'm not sure where to go for that one either. I got onto the phpMyAdmin for my site and found the Engines tab and saw that it had InnoDB on there, but it was grayed out and said that there was "no detailed status information available for this storage engine" ... I know nothing really about phpMyAdmin nor how I should go about trying to enable this, so any help here would be greatly appreciated.

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: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 19, 2008, 11:12:58 am
Quote
CiviCRM Database Details
    "Can I access/create InnoDB tables in the database - Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server."

Looks like your MySQL is not configures for InnoDB support. Check with your server administrator.

Quote
File Permissions
"Is the files folder writeable? - The user account used by your web-server - xxxxxxx - needs to be granted write access to the following directory in order to configure the CiviCRM settings file: (file directory)"
"Is the sites/default folder writable? - (same as above)"
You need to do chmod 777 for files directory. under sites/default

Also check http://wiki.civicrm.org/confluence/display/CRMDOC/Install+2.1+for+Drupal

HTH

Kurund
Found this reply helpful? Support CiviCRM

at02

  • Guest
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 20, 2008, 06:57:10 am
Quote from: Kurund Jalmi on August 19, 2008, 11:12:58 am
Quote
CiviCRM Database Details
    "Can I access/create InnoDB tables in the database - Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server."

Looks like your MySQL is not configures for InnoDB support. Check with your server administrator.

I called our web host and they said they wont do it unless we shell out more money each month. Ugh. Is there any way to tell if a host will allow things like that to be enabled before you buy their product? (We were looking into new web hosters anyways since they charge us too much now anyways..) Or maybe a work around?



Quote from: Kurund Jalmi on August 19, 2008, 11:12:58 am
Quote
File Permissions
"Is the files folder writeable? - The user account used by your web-server - xxxxxxx - needs to be granted write access to the following directory in order to configure the CiviCRM settings file: (file directory)"
"Is the sites/default folder writable? - (same as above)"
You need to do chmod 777 for files directory. under sites/default

Also check http://wiki.civicrm.org/confluence/display/CRMDOC/Install+2.1+for+Drupal

HTH

Kurund

How do I do that? I've checked the Wiki and I cannot seem to find anything on it relating to my specific problems..
« Last Edit: August 20, 2008, 09:34:01 am by at02 »

at02

  • Guest
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 20, 2008, 09:33:44 am
I have been looking into the InnoDB problem, and I am just stuck. Every web host provides MySQL but they will only allow InnoDB if we buy a private/dedicated server, which for our low budget and being a non-profit that just isn't realistic, most charge $100 and up for it as well.

Is there any way that *I* can fix this issue? Some setting I can change or install? This is so frustrating!

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: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 20, 2008, 10:37:50 am
To run CiviCRM you need to have InnoDB support for MySQL..

Check the community moderated "Hosting Providers" listing on the wiki - pretty sure quite a few of them are relatively low cost and provide INNODB:
http://wiki.civicrm.org/confluence/display/CRM/Hosting+provider+information

kurund
« Last Edit: August 20, 2008, 03:33:42 pm by Dave Greenberg »
Found this reply helpful? Support CiviCRM

at02

  • Guest
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 21, 2008, 06:19:19 am
Wow, thank you so much for that link! This will help a lot in our search for a new hosting provider. (I also will have to convince everyone that this is what we need as well)

One thing I have noticed though is that the cms and CiviCRM version vary, will this matter? I'd like to run Drupal 6.4 with CiviCRM 2.1 (I know, it's still Alpha but this site wont be 100% complete for another few months, plus our contract wont run out until october so we have a while) so, if version matters this might be an issue, although hopefully it wont hinder us. If anyone knows, please share with us!


« Last Edit: August 21, 2008, 06:23:40 am by at02 »

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 21, 2008, 09:52:49 am
The versions do matter CiviCRM 2.1 only runs with Drupal 6.x
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

at02

  • Guest
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 25, 2008, 10:43:31 am
Quote from: geilhufe on August 21, 2008, 09:52:49 am
The versions do matter CiviCRM 2.1 only runs with Drupal 6.x

Sorry, I mean with the host - in reference to the list. How some of the 'reviews' (for lack of a better word) say Drupal 5.x etc... Could I host a Drupal 6.x site on that same host? Is there anything about CiviCRM 2.1 and Drupal 6.x that would prohibit them from working on, say, provider "Gallery Robinson" since the only known/posted version running on that site was Drupal 5.3 with CiviCRM 1.9......

Is that a bit more clear?

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 25, 2008, 05:12:00 pm
I wouldn't put to much stock in what the host listings say... some entries are older  so you should contact the host.

The underlying MYSQL, PHP and apache requirements would drive whether you can run D5 & D6 on the same host... for the most part the answer will be yes.

There is not reason to suspect that  hosts that could run CiviCRM in the past will not be able to run the latest versions (though it is possible, though improbable that there might be issues with PHP/MySQL/Apache versions).
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

vogelap

  • Guest
Re: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 26, 2008, 11:11:56 am
I am getting an error of "The user account used by your web-server needs to be granted write access to the following directory in order to configure the CiviCRM settings file" when trying to install CiviCRM 2.1 Alpha 4 on my Xampp/Drupal 6.4 WINDOWS XP box.

I cannot figure out how to fix it! And I cannot proceed with the installation.

Also, I'm getting "CiviCRM needs a minimum of 32M allocated to PHP, but recommends 64M. You only have 32M allocated". I've searched all my php.ini files for "memory_limit" and changed every occurance to 64M and restarted without success. It still reports 32M in CiviCRM's installer.

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: Drupal 6.3 install errors - innoDB tables and cannot write to folders
August 27, 2008, 04:01:42 am
Quote
I am getting an error of "The user account used by your web-server needs to be granted write access to the following directory in order to configure the CiviCRM settings file" when trying to install CiviCRM 2.1 Alpha 4 on my Xampp/Drupal 6.4 WINDOWS XP box.

By default civicrm.settings.php is created in sites/default folder. So it looks like webserver cannot write to "default" folder.

Quote
Also, I'm getting "CiviCRM needs a minimum of 32M allocated to PHP, but recommends 64M. You only have 32M allocated". I've searched all my php.ini files for "memory_limit" and changed every occurance to 64M and restarted without success. It still reports 32M in CiviCRM's installer.

Not played much with Xampp, so may be google is your best friend.
Do check: http://forum.civicrm.org/index.php/topic,3102.0.html

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6.3 install errors - innoDB tables and cannot write to folders

This forum was archived on 2017-11-26.