Page 1 of 1
FormBrowser - Cannot redeclare getformid()
Posted: Sat Aug 30, 2008 4:43 pm
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
Re: FormBrowser - Cannot redeclare getformid()
Posted: Sun Aug 31, 2008 5:28 am
by cyberman
It seams you've use the id for the form more than one time ...
Re: FormBrowser - Cannot redeclare getformid()
Posted: Fri Oct 03, 2008 11:07 am
by simon_a
I also have the same error, but I don't understand from cyberman what change could be made...
Re: FormBrowser - Cannot redeclare getformid()
Posted: Tue Oct 14, 2008 4:02 pm
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
Re: FormBrowser - Cannot redeclare getformid()
Posted: Mon Dec 15, 2008 5:51 pm
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
Re: FormBrowser - Cannot redeclare getformid()
Posted: Tue Feb 24, 2009 2:02 pm
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.
Re: FormBrowser - Cannot redeclare getformid()
Posted: Tue Apr 28, 2009 6:11 pm
by Rednes
How can we solve the print error?