Quote:
Originally Posted by bigrover
I am getting the following error from the Form Hook: Before Submit:
Unable to add cookies, header already sent.
File: /home/thebonvi/domains/thebonvivant.org/public_html/forums/misc.php(89) : eval()'d code(491) : eval()'d code
Line: 1
The code I entered is:
$form[forumid] = forumid
I am trying to get the form to go to the current forum where the user clicked on the link to go to the form. What am I doing wrong?
***
On a separate thought, does the misc.php accept an argument containing the forumid, like the newthread.php? I could pass the forumid at the time the form is called if it does.
|
You are using invalid php in one of the hooks.
The following is an example of correct php:
PHP Code:
$form['forumid'] = '3';