Solved

Drupal Installation on a local WAMP server fails

Posted on 2009-05-12
12
1,125 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

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

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 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