Linux server

PHP 5.2.9

MySQL 5.0.75-community-

Drupal 6.11

I was testing Drupal in a subdirectory of my server and attempted to remove the build and begin a fresh installation for a new round, but I've had some problems.

I've deleted the mySQL database, and deleted most of the Drupal directory, but tere are two files I cannot delete. Whether through ftp or through http cpanel file manager, these two files are deleted but reappear immediately:

root/public_html/Drupal/sites/default/default.settings.php

&

root/public_html/Drupal/sites/default/settings.php

I've tried installing Drupal to a new folder and installing over the existing folder, but nothing can overwrite the default.settings.php file. Drupal won't run the installation script, it gives me a technical issues page.

I recreated the MySQL database with the original database name, username and password - but the data is gone and when I try to access Drupal it gives me a series of line error statements and unexpected ends.

I think there's a script or something running that's preventing me from completely removing the original, broken Drupal installation, which is preventing me from installing a new version.

Any suggestions?

Comments

leemchildress’s picture

Drupal changes ownership of those files. You would need to log on as root, an account with root privileges, or as the owner name drupal uses.

DJWankle’s picture

I had to ask my hosting provider to set the permissions for me so I could delete the files. I don't know how I could log in with the owner name Drupal uses when Drupal isn't installed...