Solved

Drupal Installation on a local WAMP server fails

Posted on 2009-05-12
12
1,133 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

726 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