Fatal error: Cannot redeclare mysite_install()

vishun - January 13, 2009 - 12:42
Project:MySite
Version:5.x-3.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

When i goto enable the MySite module i get the following error:

Fatal error: Cannot redeclare mysite_install() (previously declared in /home/***/public_html/modules/mysite/mysite.install:8) in /home/***/public_html/sites/all/modules/mysite/mysite.install on line

im not sure what may have caused this, but, i did use the Module Installer module to install the MySite module, so i'll go ahead and try the original manual method to see if that may have been the problem.. is it possible its having an issue at the database table creation and stuff since its previously failed? any other ideas?

thanks in advance

#1

agentrickard - January 13, 2009 - 14:18

It appears you have the module installed in two locations. Delete one of them.

/home/***/public_html/modules/mysite/mysite.install
/home/***/public_html/sites/all/modules/mysite/mysite.install

It is possible that the Module Installer placed one of those files, so that would be a bug there.

#2

agentrickard - January 13, 2009 - 14:20
Category:bug report» support request
Priority:critical» normal

#3

agentrickard - January 25, 2009 - 14:39
Status:active» closed

Not a MySite issue.

 
 

Drupal is a registered trademark of Dries Buytaert.