Error message installing Drupal 5.1 on XAMPP

Thomasr976 - May 15, 2007 - 05:22

I recently installed XAMPP on my flash drive and it tested fine. Also watched Lullabot and attempted to install Drupal 5.1.
I get the following message and can't quite figure out what I am doing wrong.

I created a folder called drupal-51 and placed it in the htdoc folder and when I go to my browswer and type in http://localhost/drupal-51 I get the following error message:

Warning: require_once(./includes/bootstrap.inc) [function.require-once]: failed to open stream: No such file or directory in G:\xampp\htdocs\drupal-51\index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required './includes/bootstrap.inc' (include_path='.;G:\xampp\php\pear\') in G:\xampp\htdocs\drupal-51\index.php on line 12

Can anyone advice on how to correct this. Thanks in advance.

Tom

should work out of the

Somes - May 15, 2007 - 09:59

should work out of the box

when you say tested fine are you getting something
at http://localhost

can you create a database

When I type http://localhost

Thomasr976 - May 15, 2007 - 13:39

When I type http://localhost in my browswer I get the XAMPP for Windows Screen and a message tahthat I have successfully installed SAMPP on the system. When I click status, everything is activated exceptSMTP service.

Also XAMPP is running via the XAMPP Control Panel Application. I can create a data base. In fact I named it drupal-51. Then browsed the drupal-51 folder with the extract drupal files and was looking for a msql database file but can't seem to find it.

Any help would be really appreciated. It's a bit discouraging in not being able to set up the software at this point.

Tom

I think it's safe to assume

bugz_nz - May 15, 2007 - 20:49

I think it's safe to assume that it's standard internet etiquette not to double post.

Try browsing to: http://localhost/drupal-51/install.php

If this fails, manually edit your settings.php file to reflect your created database name. This settings file is located inside your Drupal directory in sites\all

You're correct. I shall not

Thomasr976 - May 15, 2007 - 21:17

You're correct. I shall not double post again nor post at all at 1 am in the morning. Thanks for the tip. I'll try it.

Second Guess

quasimodal - May 15, 2007 - 21:39

This may sound lame, but the easiest thing may be to:

1 - delete the /htdoc/drupal-51 directory.
2 - find your original drupal 5.1 tar.gz download file ( maybe download it agian to make sure ).
3 - delete the directory you extracted from the drupal 5.1 download.
4 - re-extract the entire thing to a drupal-51 directory.
5 - drag and drop the extracted directory to /htdoc.

It my sound like more work, but sometimes its faster to just start over again rather than to trying to figure out what went wrong. It should have worked. If you can't get /includes/bootstrap.inc going, you haven't gotten past first base.

I can predict that second base is going to be getting mySQL working. You'll have to get the root permissions right, and there's a little learning curve invovled with that - there was for me. I've gotten 5.1 to work with XAMPP on both Windows and Linux, so it possible.

Actually, if you have been installing PEAR modules or PHP extentions, you might want to check your php.ini paths. But that invovle a fairly hefty techical learning curving, if you don't understand it already.

It might take a bit of struggle to get it working. The first time is the hardest.

- Bill

 
 

Drupal is a registered trademark of Dries Buytaert.