Hello,

For the last two months I've been beating my head against a wall trying to get Drupal to install on my Local Mamp/Xamp setup - I get the same error on both my Mac and Windows pc. I was able to install test sites of Joomla, Xoops and Wordpress without any issues. But Drupal is driving me crazy. I set up a Mysql Database, when I try to install it just goes in this annoying loop at the DB installation screen where it just keeps coming back blank and prompts me to enter my DB Username, password, etc... Does this have anything to do with Drupal looking for something called mysqli and not recognizing mysql?? It's frustrating that NOTHING is SIMPLE with this application. In a live test environment I can simply install Drupal using Fantastico onto my server, but I really want a local install - it's faster to develop and play with stuff locally.

I installed the Acqua Drupal stack with no issues, but it's useless as a testing bed because it requires a subscription to Acquia to get certain basic functions to work - like I think I finally figured out how to use the Image modules to upload images into posts but every time I try I get an prompt to subscribe to Acquia instead of being able to actually use and work with the system. Can someone please tell me if there's an alternative all in one stack similar to Acquia without the annoying subscription requirements? I did a Google search and didn't find any.

Comments

heine’s picture

malexandria’s picture

I tried the suggestion i the FAQ and it didn't work, I'm going to give this a few more days before I just give up on Drupal, it shouldn't be this difficult to install a simple application.

heine’s picture

So, what exactly did you do, and what exactly happened? Can Apache user account write to the file?

malexandria’s picture

I followed the instructions on the FAQ I made a copy of the default settings file and tried it, it didn't work - got the same error message, then I tried editing the file directly and it still didn't work. It just gives me the loop. I'm giving up on the idea of using drupal.

heine’s picture

You didn't say anything about an error message earlier. What does it say? Can you paste the error message?

tom_eric’s picture

There should not be any requirement for you to subscribe to Acquia to have complete functionality of the Acquia stack. Perhaps there is an issue that we need to address, or a misunderstanding on our part. If you could be more specific about which basic functions do not work for you, we can look into the issue.

We also offer a 30 day free trial of our service.

Hope this helps.

Tom Erickson
CEO
Acquia

malexandria’s picture

Yes, when I click the Image Attach to test if it works, it prompts to sign up for Acqua. I would post an image to show you, but I don't know how to do that in this forum. The steps are, I click the Create Content link, create a story and then click the Image Attach button. A window pops up and instead of allowing me attach an image, I get the following message -

"If you have an Acquia Network subscription, please enter your subscription key and identifier on the settings page."

tom_eric’s picture

I'll ask someone from our support team to look at it, but the intention is probably only to ask you to sign up for our service (we do need to pay salaries!) .. but the intent is that Acquia Drupal is 100% free with no obligations. Sorry I don't know more myself off the cuff...

Tom

mhaag’s picture

A subscription is definitely not required. You can disable the Acquia Network Connector modules (ie Acquia Agent and Acquia site info) on the ../admin/build/modules/list screen.

Note that Acquia Drupal (as included with the Acquia DAMP installer) is just regular old drupal with some useful contrib modules (including the Acquia Network modules) included.

malexandria’s picture

Hello,

thank you for your response, this makes sense but the system won't let me disable the Acquia modules and I tried deleting the Acquia module folder, when I do it breaks the site and throws back a bunch of function call error messages so it seems like it's clearly hard coded into the install.

gfxguru’s picture

I can't disable the Acquia module either, it's greyed out.

mjohnq3’s picture

When you first install the Acquia Drupal Stack two modules that are part of the Acquia Network Connector are enabled by default: 1) Acquia agent, and; 2) Acquia site information. You must disable the Acquia site information module first as it is dependent on the Acquia agent module. After doing so, the Acquia agent module will not be greyed out and can be disabled thereby eliminating the notice to subscribe to the Acquia Network. It's really just a notice not an error message.

gfxguru’s picture

I was wrong, have it disabled, still getting date errors with acquia. Different post though but I got it.

vm’s picture

you mention making a copy of default.settings.php but not renaming it to settings.php which is what install.txt explains to do.

ensure you've a copy of both default.settings.php and settings.php in your sites/default directory.

ensure settings.php is spelt correctly. silly, I know but I've seen other similar forum threads with frustrated users who've accidentally spelt it incorrectly in some way including the file extention.

ensure settings.php that you created has permissions of 777

malexandria’s picture

I already did that on the Mamp installation and it didn't solve anything. And Acquia Drupal isn't working well either because it's prompting me for a subscription when I go and test the image. I think I'm just going to give up, because it's irritating me too much.

kaakuu’s picture

This can happen when max file size or memory of the database is exceeding its capacity. Or something of this sort. You need to increase max file upload size, post size, memory size in php ini. Best is to download WAMP, as XAMP give confusing output at times. Is it possible for you to download WAMP ?

If so, download WAMP
Right click at the task icon and open php.ini - shut and exit WAMP
Edit php ini to increase all memory, file size and post size values, Save php ini
Restart WAMP
Download Drupal 6.15 (not Acquia) - make settings.php file
Install Drupal with localhost - user - root, password - keep blank
Keep the update option unchecked at the time of installation

What are you getting? It should not be hard, infact Drupal 6.15 installation is very easy.

heine’s picture

Trying again (from above):

I followed the instructions on the FAQ I made a copy of the default settings file and tried it, it didn't work - got the same error message

You didn't say anything about an error message earlier. What does it say? Can you paste the error message?

malexandria’s picture

I posted this in another thread, sorry for the two threads. But no, it doesn't give an error message, it simply goes into a loop that keeps prompting me for password information. I suspect the issue has to do with the installation looking for a mysqli database and not a mysql db - because D7 installed perfectly fine.

nhero’s picture

I had this same problem. For some reason drupal doesn't write to settings.php. Open it up and configure the line that says
$db_url = 'mysql://username:password@localhost/databasename'; using your login credentials and save the file.

malexandria’s picture

Here's how I know i have the correct settings - when I have the correct login information and my privileges set properly = I just get this annoying loop where the page loads and then keep prompting me to enter the database settings into the form field with no error messages. When I delete all the permissions and then click enter I get the following permissions. Failed to connect to your MySQL database server. MySQL reports the following message: Access denied for user 'drupal8'@'localhost' (using password: YES).

* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct database hostname?
* Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

malexandria’s picture

I just got it to work! What I did was created a brand new folder, re-downloaded the installation files and tried everything again from scratch. This time it worked. My default settings files must have got corrupted during one of my early failed attempts.