CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Send Email action

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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.

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.