1
yingzhao
Install multiple instance of the same module
  • 2008/12/12 20:19

  • yingzhao

  • Just popping in

  • Posts: 45

  • Since: 2008/5/12


Hello,

I am wondering which would be the most efficient way to tweak this to work.

I wrote a module with many functions in it. I would like to install multiple instance of this module on one site. Supposingly, I successfully complete the first installation (module1). I changed the module name (to module2) and its directory in the xoops_version.php. During the second instance installation, I got error:"fatal error: Cannot redeclare function() (previously declared in module1) in module2". My question is that rather than changing the name of the function() to something else in module2. Is there any other quick/dirty way to accomplish this? Many thanks.

Login

Who's Online

459 user(s) are online (366 user(s) are browsing Support Forums)


Members: 0


Guests: 459


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits