I have installed Drupal once before on Dreamhost without any hitches at all. Today I went to install drupal on a new host, IX Webhosting and had lots of difficulties. Most recently I received the following error that I don't know how to resolve. Any suggetions?

When running the Drupal install script, the following message comes up...

Fatal error: Cannot redeclare system_requirements() (previously declared in /hsphere/local/home/bostoncc/bostonccj.org/AN/modules/system/system.install:12) in /hsphere/local/home/bostoncc/bostonccj.org/AN/modules/drupal-5.1/modules/system/system.install on line 12

Comments

ChrisKennedy’s picture

I think you can figure this out if you consider the error message a bit more carefully.

You have for some reason uploaded a duplicate copy of drupal into the /hsphere/local/home/bostoncc/bostonccj.org/AN/modules/ directory. When drupal traverses the directory structure to automatically include all module files, it tries to load the copy, which results in that error. So if you delete that extra drupal-5.1 directory (or move it somewhere where it won't be included) it should work.

kaerast’s picture

Assigned: ldugger » kaerast

Did ChrisKennedy's solution solve this? Can I flag this issue as fixed?

Also, you really shouldn't assign support requests to yourself - it makes people think you're working on solving them yourself. I'm assigning ownership to me, and will close this issue in a few days if there is no response.

kaerast’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
ronalddevos’s picture

Chris,
I ran into a similar problem: a full Drupal set of files got copied info the '/sites/all/modules/' directory. Looking at the dates it happened months ago. I am trying to remove what shouldn't be there, bu Drupal runs into problems with all sort of errors when some of the modeules are removed and trying to run the site. It would appear that some of the extranuous modeles are actually being used.

How do I recover from this and get a clean site back?

It runs OK, but any update is now impossible.