FormBrowser - Cannot redeclare getformid()

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
vagnk
New Member
New Member
Posts: 2
Joined: Sun Aug 17, 2008 1:02 pm

FormBrowser - Cannot redeclare getformid()

Post by vagnk »

Got a problem.

I creasted a questionaire in Formular Generator and created a corresponding browser in FormBrowser but when I run it I get this:
Fatal error: Cannot redeclare getformid() (previously declared in /var/www/mysite.nu/noerrebro/modules/FormBrowser/action.default.php:23) in /var/www/mysite.nu/noerrebro/modules/FormBrowser/action.default.php on line 38
Any suggestions?

Vagn Kofoed, DK
cyberman

Re: FormBrowser - Cannot redeclare getformid()

Post by cyberman »

It seams you've use the id for the form more than one time ...
simon_a
Forum Members
Forum Members
Posts: 26
Joined: Wed Oct 01, 2008 8:42 am

Re: FormBrowser - Cannot redeclare getformid()

Post by simon_a »

I also have the same error, but I don't understand from cyberman what change could be made...
simon_a
Forum Members
Forum Members
Posts: 26
Joined: Wed Oct 01, 2008 8:42 am

Re: FormBrowser - Cannot redeclare getformid()

Post by simon_a »

Just to add some detail to the description of this error.

For fun, I added two calls to the same FormBrowser in one page instead of just one. Surprisingly, the first FormBrowser is displayed, and the following errorr is then displayed underneath:

Code: Select all

Fatal error: Cannot redeclare getformid() (previously declared in /hsphere/local/home/designwo/designworx.ie/staging/designworx-cms/modules/FormBrowser/action.default.php:23) in /hsphere/local/home/designwo/designworx.ie/staging/designworx-cms/modules/FormBrowser/action.default.php on line 23
This is interesting for me, because with only one call to the FormBrowser, I see the error, but the FormBrowser is not displayed.

By including the FormBrowser tag twice, this is the first time I have been able to see what a FormBrowser looks like.

I found another reference to the same type of error:
http://dev.cmsmadesimple.org/tracker/in ... 0&atid=737

Simon
janb

Re: FormBrowser - Cannot redeclare getformid()

Post by janb »

Anyone found a solution for this?

The same error is displayed when i click the print icon in the upper right corner for printing results from Form Browser.

JanB
kanzler
Forum Members
Forum Members
Posts: 16
Joined: Tue Feb 24, 2009 1:42 pm

Re: FormBrowser - Cannot redeclare getformid()

Post by kanzler »

Yes, I`ve same error.

Only one Formbrowser is working fine except print icon. By adding a second Formbrowser to the same page, first is displayed right but for second this fatal error occures.
User avatar
Rednes
Forum Members
Forum Members
Posts: 85
Joined: Wed Apr 08, 2009 1:09 pm

Re: FormBrowser - Cannot redeclare getformid()

Post by Rednes »

How can we solve the print error?
Post Reply

Return to “Modules/Add-Ons”