Closed (fixed)
Project:
Drupal core
Version:
5.1
Component:
install system
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
9 May 2007 at 23:50 UTC
Updated:
26 Dec 2009 at 15:14 UTC
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
Comment #1
ChrisKennedy commentedI 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.
Comment #2
kaerast commentedDid 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.
Comment #3
kaerast commentedComment #4
(not verified) commentedComment #5
ronalddevos commentedChris,
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.