Routines cannot be declared more than once

84 views
Skip to first unread message

Troy Murray

unread,
Oct 3, 2012, 5:40:12 PM10/3/12
to cfwheels
I'm run into a strange probleml while working on the dbmigrate plugin.

Earlier today I was working with it on Railo 3.3.4, no problems. A little bit ago I switched over to ACF 9.0.1 and now I continue to receive the message:

Routines cannot be declared more than once.
The routine $wddx has been declared twice in different templates.

In the plugin I need to access the pluralize, model, $file and $dbinfo functions so I'm doing:
<cfinclude template="../../wheels/global/functions.cfm">

If I comment out this line, then the error goes away in ACF9.0.1
In Railo 3.3.4 I can leave it in and it works just fine.

Ideas?

--
Troy Murray

Troy Murray

unread,
Oct 3, 2012, 7:27:02 PM10/3/12
to cfwheels
I found the problem, the file was being included twice. It would seem that ACF is more strict then Railo is

-t

--
Troy Murray
Reply all
Reply to author
Forward
0 new messages