Solved

Drupal Installation on a local WAMP server fails

Posted on 2009-05-12
12
1,120 Views
Last Modified: 2012-08-14
I'm practically an expert with setting up a WAMP server and installing various local sites to test content management systems.  I should start out stating that I have successfully installed Joomla! on this server, and have served it out to my home network.  

However, when I attempt the first steps of installing Drupal, which similarly use the MySQL database for all the necessary tables, I get into an infinite loop.  All the permissions are correct - I cross-referenced against my successful Joomla installation - the darn thing just won't "take". It brings me back to the same screen, prompting me for the same information.

Now, if I deliberately feed the installation false information or bad permissions, I get the error messages I expect to get.

I've also researched this issue extensively, using Google primarily, and the Drupal discussion boards.  None of their solutions work (inputing into the settings.php document directly doesn't do the trick).  I've looked here: http://drupal.org/node/264985 , and here: http://drupal.org/node/342968 , and of course, these don't work either.  Or, I need my hand held to get it working right, I guess.

Any help with a solution or a work-around is greatly appreciated.  I can post add'l information upon request, if it helps.

TIA
0
Comment
Question by:Smittles
  • 6
  • 6
12 Comments
 
LVL 19

Expert Comment

by:v2Media
ID: 24370935
Can you post the versions of everything? Drupal, MySQL, PHP, Windows and how you have the site configured to run in IIS...
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24370937
correction: how you have the site configured to run in apache...
0
 
LVL 4

Author Comment

by:Smittles
ID: 24371437
Apache 2.2.11
PHP 5.2.9-2
MySQL 5.1.33
on Windows XP SP3


All running in the latest WAMP server.

And, what do you mean, how I have my site configured to run in Apache?  
0
 
LVL 4

Author Comment

by:Smittles
ID: 24371443
As localhost
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24371714
Drupal version?
0
 
LVL 4

Author Comment

by:Smittles
ID: 24375956
Drupal 6.10
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 19

Accepted Solution

by:
v2Media earned 500 total points
ID: 24390278
Install requires two files with write access; ./sites/default/default.settings.php and ./sites/default/settings.php. settings.php is just a duplicate of default.settings.php.

If you dont have these two files, an fopen() warning is issued and subsequent calls to header() fail and could result in an infinate loop.

Please check that you have these two files in ./sites/default and check that you have all the required file permissions for an install.
0
 
LVL 4

Author Comment

by:Smittles
ID: 24390409
@v2Media:

I was under the impression that default.settings.php is to be name-changed to settings.php.  The default.settings.php is not necessary in the installation process, and simply sits there for the administrator to alter the name of.  That's how I've done it in the past, and it has worked that way.

However, I'll try your method out tonight.  Thanks for the input.
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24390668
Unfortunately that's not true in the case of 6.10. Take a look at includes/install.inc line 176. default.settings.php IS required. Without it you get the above mentioned errors.
0
 
LVL 4

Author Comment

by:Smittles
ID: 24400259
Thanks for the help, v2Media.  That was the issue.  It works like a champ now.  I wonder, when did they switch?
0
 
LVL 19

Expert Comment

by:v2Media
ID: 24400357
No idea. I know little about Drupal, never used it; but I know a lot about php.

Seeing as though this install went onto an intranet, you should configure PHP to report all errors. If php were reportinging all errors, you would have had the solution in your face the first time you ran the installer.

http://php.net/manual/en/errorfunc.configuration.php
0
 
LVL 4

Author Comment

by:Smittles
ID: 24400364
Again, many thanks!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now