Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
The best-laid plans of mice and men going oft awry, especially when it comes to software installations with lots of dependencies. In this video, we'll show you how to fix a few of Drupal's more common installation issues, and show you where you can go to get help for anything we didn't cover here. The first time that you might have problems is during the installation. Most commonly, the problem is that it can't find the database, and here there's a few things to check. The first one is that you have the correct Username and Password. The second is in that Advanced Option section at the bottom of the screen. Very often if you are using a remote Internet service provider, they will ask for you to use a different port from the one that Drupal is expecting, remember to click on that turn down triangle and look at the Advanced Options if you can't connect to the database, and check with your system administrator.
The second problem that often occurs is if you can't bring up the Drupal site in a web browser; it appears to be running, but whenever you go to it, what you get is a blank screen. The first thing to check is that you actually have a root directory, that Apache is looking towards. One way to check that is to go into MAMP or WAMP, if you are running Windows. Go into Preferences, and take a look in MAMP at the Apache tab. Then you can Select the directory and make sure that your Drupal files are actually in there. Let's say that you have taken your site offline and are no longer able to get back into the administration pages. Well, there is a trick that advanced users of Drupal know how to do, by putting the URL in its most basic form for the administration page. That would be ?q= admin, which will bring you directly to the administration page, even if your site is offline. You maybe asked to log in at that point, but at least you will be able to get into your site.
Let's say for some reason your administration goes wrong; some files are missing or something like that. There are a few special URLs you could use to get Drupal working again. The first one is simply your address, which in this case is localhost/install.php. What that does is it calls the specific file in Drupal's hierarchy that lets you install the program; we are going to do that now. It tells us that it's already installed. If it were having some problems, then it would give you some instructions on what you should do. Another useful file is update.php, which is very useful if you added some new modules, or let's say you have changed versions of the Drupal core. Here we did it, and we can see it gives us some options here, including a link to additional help on the drupal.org website.
Let's click on that, and it will give you all sorts of information, for not only Drupal 6, but for previous versions of Drupal as well. In fact, the drupal.org website is where you should go if you have a problem that you can't answer. Let's say that you can get into the site, but you seem to be having other problems and want to find out where they are coming from. The Administration section has several links that will help you. The most useful of these is the Status report. This will tell you if there are any problems with your installation, as well as telling you what version of Drupal you are running, and what some of the other aspects of your Drupal installation are.
Here for example, we can see that we haven't checked to see that we have the latest version of Drupal. It gives us some links that will allow us to do that. We do it, and everything is back up to date. Finally, we should mention that installation problems are sometimes the result of issues in the computer's Operating System or even in its hardware. Obviously, we can't cover all of those here. Most often the problems that will affect Drupal directly are in Apache or the MySQL configuration, but errors elsewhere, such as the file system could prevent Drupal from operating. Your best bet is to read any system errors you get, copy those errors into an Internet Search Engine, and see how others have solved the problem.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.