Dragonfly CMS v9 ⇒ Downloads Pro ⇒ Creating additional DLPro modules ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks Downloads Pro

Creating additional DLPro modules Reply to topic


I have done this before but have forgotten how I did it!
I am trying to add a fourth downloads pro module to my site.
I have made edits to cpg_inst in a similar way to earlier modules but am getting this error:
Fatal error: Cannot redeclare popularity() (previously declared in /home/missi19/public_html/modules/Downloads4/functions/info.inc:18) in /home/missi19/public_html/modules/Downloads/functions/info.inc on line 71

Please let me know possible cause and remind me of any other changes I should be making.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.1


It seems like 2 instances of info.inc are loaded on the same page.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Thanks for reply, I went into blocks admin and rmoved all the blocks that were added to the page, this did the trick

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.1

All times are UTC


Jump to: