I am very new to web site development and Drupal. Things have been going alright until now.

I installed the GeoUser module on my site (running Drupal 6.1) and this caused an error that led to me being unable to log in to my site. I deleted the module's folder via ftp and still could not access my site. (I have read that someone else had the same problem with this module, but deleting the directory solved the other person's problem.)

Since then I have been trying various things to try and get my site up and running again. I had a backup of the site on my computer that I downloaded through my host (BlueHost) but I had never exported my database. I tried deleting files and replacing them with the backup files but I still have the same problem (says "Page not found).

At this point I would be fine with even starting over and re-installing Drupal if that needs to happen. But I don't even know how to do that. Any help would be greatly appreciated! Any ideas?

Comments

ironico’s picture

You can clean cache table in db (cache*), then you can remove reference for GeoUser in system table.

colinbrandt’s picture

Thanks for the advice! I removed geouser from the system table and also the main geouser table in the database. But I'm not exactly sure what you mean with the cache tables. Are you saying I should "empty" each cache table? (cache, cache_block, cache_filter, etc)

ironico’s picture

Yes, i mean empty cache cache_block ecc.. ecc.

colinbrandt’s picture

I did that and I'm still having the same problem. I feel like my files are all in weird places now because I am new to this and was trying to replace files with those that I had backed up, etc. I really hadn't gotten too far in developing my site and now I'm really wondering how to start from scratch. What steps do I need to take to get a fresh start?

(If you have any more ideas of how to fix my site without a fresh start, let me know)

Thanks for all the suggestions!

ironico’s picture

If u have no important info in database, you can recreate table.
0) backup ur database (if u want comeback..)
1) empty db (all tables deleted) ( or create another DB and change $db_url in /sites/default/settings.php)
2) call yoursite.com/install.php
3) you have new drupal installation ( default theme selected, default modules installed)

colinbrandt’s picture

Okay I deleted the database and created a new one with the same name and then opened install.php. Everything seems to be working now. Thank you for the help!

andy inman’s picture

Did you set up "friendly" urls? If you've reinstalled all files, maybe you lost the correct .htaccess file where "friendly urls" are enabled. Try the "real" url, something like http://www.yoursite.com/index.php?q=admin

Re. backup, the "Backup and migrate" module for Drupal works well and allows you to automate database backups.

colinbrandt’s picture

I do have friendly urls enabled but unfortunately that didn't work for me. Thanks for the suggestion, though. I will check out that module once I can actually log back in.

lforsberg’s picture

The problem may have been that you did not have mod_rewrite enabled on your server. The process for enabling mod_rewrite varies but a quick google search with your distro/os should return instructions.

Lars-Erik Forsberg
Enomaly.com