Community

Anyone successfully installed drupal on a local wampp?

I was wondering if anyone could give me a hand getting drupal installed with wampp....

I'm getting a db_query() error when I try to access the main/admin page. I've read elsewhere on the forums that this is a problem with the php/pear install, but none of the suggested methods work.

.htaccess file setup seem to be working properly as when I edit them to disallow php also, I get a 404 error, as expected.

Pear seems to work ok as the wampp test page works fine.

I'm putting the drupal directory within the htdocs dir, if that makes any difference.

FYI, I've tried using both wampp1 and wampp2 with exactly the same problem.

Comments

Should work with wampp 1.x

It is known to work but we can't help you unless you explain the problem you have. You carefully explained your setup but there is no mention of the particular error message you get or what Drupal version you are using. That aside, I'd stick to wampp 1.x as it is unclear whether Drupal works with Apache 2.

Actual error

Ok, the actual error I'm getting is:

Fatal error: Call to undefined function: db_query() in C:\wampp2\htdocs\Websites\drupal\includes\common.inc on line 38

I'm using the latest version of drupal - 4.1.0.

I read this post here and a bunch of others to do with editing my php and apache settings, but this seems it has already been set up correctly on the default wampp install as I explained before.

nobody click here