Solved

Drupal Installation on a local WAMP server fails

Posted on 2009-05-12
12
1,126 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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
 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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