Download & Extend

Fatal error: Cannot redeclare mysite_install()

Project:MySite
Version:5.x-3.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

Category:bug report» support request
Priority:critical» normal

#3

Status:active» closed (fixed)

Not a MySite issue.

nobody click here