Installation of Drupal

I tried to install Drupal on my site. I did not install it on the root of the site, but I created a folder called "drupal" for it. When I try to run the "install.php file with the browser, I always get an error message like the file was not there.

I uploaded the drupal files to my site into the folder I mentioned. I created the necessary database but it won’t install. I don’t understand why.

Joao

Drupal doesn’t need to be placed in the Web root — in fact it isn’t placed in the Web root here on Dekita (the main site up front runs on Textpattern).

First of all, I’d make sure your server account fulfills all of Drupal’s system requirements. If it does, copy and paste your error message into Google, put it in quotation marks so that Google will look for the exact message, then put the word Drupal (sans quotes) outside the quoted message and submit your search query. You’re likely to find discussions of the same problem and maybe even a solution.

If you don’t, you might want to look for help on the Drupal.org forums.

Good luck!

Thank you very much for the tips Rudolf. I have been looking for a solution for the problem in the forums but I wasn’t lucky. Although I found other people who had the same problem, I didn’t see an answer solving it. So I decided to write to the webmaster about it. I hope he will tell me what’s happening.

Joao

I got an answer from the webmaster and the problem was a hidden file called ".htaccess". I deleted it and this problem was solved. But I would meet at another problem ahead of the installation and this time I think it won’t have such an easy solution. At a certain point of the installation I got this error message:

"We were unable to lock a test table on your MySQL database server. We tried locking a table with the command LOCK TABLES drupal_install_test WRITE and MySQL reported the following error: Access denied for user ‘clhzqalc2y’@’localhost’ to database ‘joaocarlosalves2’."

I reported this to the webmaster but I didn’t get an answer yet.

Joao

If you’ve got a problem with a database, you need to talk to whoever is in charge of that database. Your "webmaster" may or may not be the right person, depending on the level of server access the person has.

Also, your hosting provider may not be willing to support all of Drupal’s system requirements, in which case you’d need to consider switching to a hosting provider that does. For what it’s worth, Dekita.org is hosted by Joyent.

I wrote an email to the webmaster and I got a reply telling me that LOCK TABLES is now ON. So that problem should be solved.

I haven’t tried to install Drupal again yet because I still have the problem with the .htaccess file that I had deleted. According to my webmaster, I shouldn’t have deleted it because Drupal might not work well afterwards. Since this is the file that was impeding the installation of Drupal the first time, I need to comment every line of it with # and remove that comment line by line while installing till I find out which line is causing the problem. I hope I will succeed then.