I have folowing error when i want to disable the

PageFlip MegaZine3 Viewer

The problem is i enabled when i did not have the correct sw f files of megazine, now i have and
I want to reinstall the module.

Fatal error: Cannot redeclare pageflip_html_viewer_requirements() (previously declared in C:\inetpub\vhosts\bvmt-abtm.be\httpdocs\sites\all\modules\pageflip\pageflip_html_viewer\pageflip_html_viewer.module:344) in C:\inetpub\vhosts\bvmt-abtm.be\httpdocs\sites\all\modules\pageflip\pageflip_html_viewer\pageflip_html_viewer.install on line 43

Is there something i can do?

Comments

ikeigenwijs’s picture

Priority: Normal » Major

Changed to major, because i m unable to enable module.

I checked that it is the only module with that declared function.

Its mensend on 2 locations.
sites\all\modules\pageflip\pageflip_html_viewer\pageflip_html_viewer.install
sites\all\modules\pageflip\pageflip_html_viewer\pageflip_html_viewer.module

pleas advice

adamdicarlo’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Fixed

Something is wrong with your PageFlip installation -- that second file mentioned should not exist. You should completely delete the PageFlip folder and redownload and re-unpack the module.

You should always do that when upgrading modules, by the way, for just this reason -- if you unpack a new version over an old version of a module, you'll update existing files and get new files, but files that are supposed to be deleted will still be there.

Weirdly, I don't see pageflip_html_viewer.install *ever* existing in source control. So I'm not sure where that file could have come from. Were you previously using some hacked version of the module?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.