Solved

Drupal Installation on a local WAMP server fails

Posted on 2009-05-12
12
1,117 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

23 Experts available now in Live!

Get 1:1 Help Now