Fixer
Posts: 18
|
| Posted: 03/02/2005, 9:32 AM |
|
I'm building a form submission page- there are a few simple fields, upon hitting a submit button the fields should be put in the message body and sent. The Server - On-click- Action is Send Mail, the "to" field is filled out with a valid address local to the server, the body has the field of choice- when published it does not work and gives the resulting error-
Parse error: parse error in /home2/xyz/xyz-www/Redeploy/Request_events.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at /home2/xyz/xyz-www/Redeploy/Request_events.php:21) in /home2/xyz/xyz-www/Redeploy/Request.php on line 229
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/02/2005, 10:06 AM |
|
Could you please paste the line 21 in here.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Fixer
Posts: 18
|
| Posted: 03/02/2005, 11:09 AM |
|
actually, that was a slightly different error- here are the correct errors for that post and their related lines-
Parse error: parse error in /home2/xyz/xyz-www/Redeploy/Request_events.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at /home2/xyz/xyz-www/Redeploy/Request_events.php:25) in /home2/xyz/xyz-www/Redeploy/Request.php on line 229
Line 25 of Request_events.php reads- //Close Request_Button1_OnClick @33-9E7AF38D
Line 229 of Request.php reads- header("Location: " . $Redirect);
Thanks
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/02/2005, 11:19 AM |
|
In this case the line 25 most certainly is the problem, but the code that you provided cannot be it. It is just a comment and cannot have any relevance. I suspect that you posted wrong code/line.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Fixer
Posts: 18
|
| Posted: 03/02/2005, 11:44 AM |
|
i do see it as a remark as well- but it is indeed line 25- a few lines before on 21 is the actual mailto. I sent you a screen shot. I'll erase this project and start again. I have tried to get mail out on the form using the cut and paste code example in the help file as well as the menu driven action, on click, send mail method- both ways producing similar errors.
|
 |
 |