Hnadling sql error messages in forms
Hi there,
I have a multi block application. I have a check constraint in the database which checks for value > 0 and not null.
Now in the form if i try to insert/update a null into the column, i get FRM-40735 Onerror raised unhandled exception. When i click on Display error it shows the constraint violated. I want to show the constraint when user clicks on save button i.e commits form.
In the on error trigger, both block and form level i have
DECLARE
lv_errcod NUMBER := ERROR_CODE;
lv_errtyp VARCHAR2(300) := ERROR_TYPE;
lv_errtxt VARCHAR2(800) := ERROR_TEXT;
BEGIN
if lv_errcod = 40509 or 40508 then
message(' bad update');
else
Message(lv_errtyp||'-'||to_char(lv_errcod)||': '||lv_errtxt);
Raise form_trigger_failure;
end if;
END;
I dunno why i get unhandled exception.
Any help is appreciated.
Thanks
I'm not sure what your question is but if it's how to get the same error as
display error, then put in:
display_error in an on_error trigger on the block(s):
for example on_error trigger:
declare
errnum number := ERROR_CODE;
errtxt varchar2(80) := ERROR_TEXT;
errtype varchar2(3) := ERROR_TYPE;
field_name varchar2(30);
begin
field_name := substr(:system.trigger_field,instr(:system.trigger_field,'.') + 1);
mess( 'ERROR ' || field_name || ': ' ||errtxt);
display_error;
raise form_trigger_failure;
end;
**** mess is a routine I include for which you need to define an alert of style NOTE.
PROCEDURE mess (mymess varchar2) is
alert_value number;
BEGIN
set_alert_property('DATA_ALERT',ALERT_MESSAGE_TEXT,
mymess);
synchronize;
bell;
alert_value := SHOW_ALERT('DATA_ALERT');
END;
Similar Messages
-
Display error message in forms from function "verify_function"
Hi,
We have a number of users with our own created profile attached to them.
We have enabled the 'PASSWORD_VERIFY_FUNCTION' for our own profile.
Function "verify_function" is used to validate a user's password.
In "verify_function" we have used "raise_application_error" message in case password validation fails.
Example:
raise_application_error(-20001,'Password must be minimum 8 characters in length and maximum 30 characters long');Question) "raise_application_error" displays the error message only in SQL Plus prompt. How do I display the same message from Oracle forms?.
I have used DBMS_ERROR_TEXT & DBMS_ERROR_CODE in ON-ERROR trigger. This is not displaying the error message in forms in case validation failed in "verify_function". Oracle simply clears the username/password field with a new window. We want to display the error message that occured in "verify_function".
Thanksuse the following code in validating the item, e.g when-button-pressed
begin
verify_function;
exception
when others then
message(sqlerrm);
raise form_trigger_failure;
end ;
OR
instead of writing a procedure rewrite it as a function to return 1 if password is correct or 0 if password is wrong
Regards
Jihad -
Error message about forms when ID exported PDF is opened in Reader
I'm using ID CS2.
Has anyone successfully made navigation buttons on an exported PDF that doesn't produce an error message about forms when opened in Adobe Reader?
There's an Adobe page about this that says it's caused by having a stroke too near a link field, but I can't seem to avoid the message if I place more than one button anywhere on a page. I've spent a lot of time playing with this and can't seem to find a workaround.
Am I a sucker? Is anyone else trying to use this function other than me? It seemed like the perfect solution to this project I produced and now whenever a user opens the PDF they are greeted with a confusing message that has absolutely nothing to do with the functionality of the document.Well, everything in those PDFs were form fields. You can make form fields in Acrobat - and then you can right-click on 'em and change their appearance, whether or not they'll accept rich text input, whether or not they'll scroll, and so on. It could also be done in LiveCycle Designer, for what it's worth. I wrote a now-obsolete post about this in response to yours before Mike showed up with this video.
Probably most of your work on your designs in InDesign would need to be trashed; you'd need to rebuild the whole thing in Acrobat or LiveCycle. I have to say that, unless your targeted documents are extremely simple, that this is one of the worst document translation workflows I've ever seen in the last fifteen years. It might work - I'm trying to keep an open mind, here - but if you have any non-Latin-script languages in your target list, or if print reproduction is what you're after, or if you're expecting tracking revisions to the translations to be anything but a nightmare, I would suggest that you test this method inside and out before progressing any further. -
How to send error message to forms from Database Trigger
Hi, Please help me to send error message to forms from Database Trigger?
RgDs,
Madesh.R.MYou are correct, the On-Error trigger is a Forms trigger. However, if your Form is going to display the error generated by the database stored procedure or trigger - you might not see the database error in your Form unless you check the DBMS_ERROR_CODE in the On-Error trigger and manually display the Error Code and associated Text. I've see this happen with a co-worker. The Form she was working on was based on a table with an Before-Insert trigger. Because she was not explicitely handling the error from the Before-Insert trigger in the Forms On-Error trigger, her Form appeared to halt for no reason at all. Once she added code to the On-Error trigger in the Form to handle the DBMS_ERROR_CODE, she discovered the trigger was producing an error and was able to show the error to the user in the On-Error trigger.
I understand the desire to keep as much as possbile in the database, but with that comes some extra coding in your Forms to handle this. This extra coding could easily be placed in a Forms Library, attached to a Form and called in the On-Error trigger. Your code could look like this:
DECLARE
/*This example assumes you have an Alert defined
in your Form called: 'ERROR' */
al_id ALERT;
al_text VARCHAR2(200); /* Max text of a Forms Alert message*/
al_btn NUMBER;
BEGIN
IF DBMS_ERROR_CODE != 0 THEN
/* Error code is ORA-00000 Normal Successful completion
So only handle non-zero errors */
al_text := DBMS_ERROR_CODE||':'||DBMS_ERROR_TEXT;
al_id := Find_Alert('ERROR');
set_alert_property(al_id, alert_message_text, al_text);
al_btn := show_alert(al_id);
END IF;
END;Your original question was "How to send error message to forms from Database Trigger?" The answer is you don't because Forms already gets the database error code and database message through the Forms DBMS_ERROR_CODE and DBMS_ERROR_TEXT functions. Look these up in the Forms help and it should clear things up for you.
Craig...
Edited by: CraigB on Jun 14, 2010 4:49 PM
Edited by: CraigB on Jun 14, 2010 4:49 PM
Edited by: CraigB on Jun 14, 2010 4:50 PM
Edited by: CraigB on Jun 14, 2010 4:51 PM
Edited by: CraigB on Jun 14, 2010 4:51 PM -
Pl/sql error while compiling forms on AS 10g running on linux
Compiling WHEN-BUTTON-PRESSED trigger on FILECHOOSER item in BLOCK2 data block...
Compilation error on WHEN-BUTTON-PRESSED trigger on FILECHOOSER item in BLOCK2 data block:
PL/SQL ERROR 201 at line 14, column 9
identifier 'WEBUTIL_FILE.FILE_SELECTION_DIALOG' must be declared
PL/SQL ERROR 0 at line 14, column 1
Statement ignored
Compiling WHEN-BUTTON-PRESSED trigger on DUMMY item in WEBUTIL data block...
Compilation error on WHEN-BUTTON-PRESSED trigger on DUMMY item in WEBUTIL data block:
PL/SQL ERROR 201 at line 4, column 1
identifier 'WEBUTIL_CORE.SHOWBEANS' must be declared
PL/SQL ERROR 0 at line 4, column 1
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_CLIENTINFO_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_CLIENTINFO_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILE_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILE_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_HOST_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_HOST_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_SESSION_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_SESSION_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILETRANSFER_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILETRANSFER_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_OLE_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_OLE_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignored
Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_C_API_FUNCTIONS item in WEBUTIL data block...
Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_C_API_FUNCTIONS item in WEBUTIL data block:
PL/SQL ERROR 201 at line 2, column 3
identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
PL/SQL ERROR 0 at line 2, column 3
Statement ignoredi have already compile webutil.pll and its successfully compiled.
now,when i go for compiling my form, the pl/sql error have been ocured.
help required in placing the files (.pll,.olb.....) for utilizing the webutil functionality
kindly reply. its urgent
Message was edited by:
user494855 -
Hi guys!
I am using Oracle forms 10g. the validation unit of my form is set to form level.
I want to validate data when I commit the form. If they are errors in several text items I'd like to trap all the errors and their origin in a data structure like RecordGroup or PL/SQL tables. Can somebody tell me how I can identify the text field(s) that produce the error. Is there any built-in I can use to identify that for example : textfeld1 is malformed , textfield2 invalid number .....I tried the ON-ERROR trigger and I also used WHEN-VALIDATE-ITEM but Forms still stops at the first exception it found. I cannot still trap the second one. I amdevelopping an application for a company and this is a client requirement. They want a message center. A display where they can see ALL the errors after committing the form. like:
-- List of error messages---
* Legal characters are 0-9-+E
* Date must be entered in format like DD-MM-YYY
* Not a valid month -
Trapping exceptions/error messages on form based on procedure
I am trying to display meaningful error messages when various exceptions arise. I have created a form based on a procedure and the procedure works and returns an exception where I want it.
I have been trying to use the PL/SQL Button event handler to return an error message to the user, but have not succeeded. I have tried:
doSubmit;
exception
when others then
p_session.set_value(
p_block_name => 'DEFAULT',
p_attribute_name => '_STATUS',
p_value => 'my error message';
(I have run this code both with a return at the end and not.)
This runs, but this return a page that says:
Error: WWV-0000.
(It does not display 'my error message'.)
I have also tried, from the Portal FAQs:
doSubmit;
exception
when others then
wwa_app_module.set_target('myschema.MY_ERRORS.SHOW?p_arg_names=p_errcode&p_arg_values=-1',
'GO');
where my_errors is a dynamic page that displays an error message when you pass it a value, in this case, -1.
I get the following error message from this code:
PLS-00201: identifier 'WWA_APP_MODULE.SET_TARGET' must be declared
I did find some discussions on problems with exceptions when you have a form based on a procedure, but these were from 2001. Any help with this or directions to documentation would be greatly appreciated.I worked out one answer: the code provided by Oracle for the second example omitted the portal schema qualifier on the wwa_app_module. It should be (for 10g release 2, at least)
PORTAL.wwa_app_module.set_target('myschema.MY_ERRORS.SHOW?p_arg_names=p_errcode&p_arg_values=-1',
^^^^^^^^^^
'GO');
This worked, and returned the custom error message.
I still can't figure out why the p_session.set_value returns an error message that's just WWV-0000, but I would like to. Any help, even just what page in what document to look at would be appreciated. -
Error Message with Form Sending
Hi there,
My form is working fine and the PHP is fully functional,
however I get this error message once the form has been submitted.
Error: Error #2101: The String passed to
URLVariables.decode() must be a URL-encoded query string containing
name/value pairs.
at Error$/throwError()
at flash.net::URLVariables/decode()
at flash.net::URLVariables$iinit()
at
flash.net::URLLoader/flash.net:URLLoader::onComplete()
Does anyone know what this means?
Here is my function that sends the message
function sendMessage(event:MouseEvent):void
var contactVariables:URLVariables = new URLVariables();
contactVariables.custName = textName.text;
contactVariables.custEmail = textEmail.text;
contactVariables.custPhone = textPhone.text;
contactVariables.custSubject = textSubject.text;
contactVariables.custMessage = textMessage.text;
var postMessage:URLRequest = new
URLRequest("mailContact.php");
postMessage.data = contactVariables;
postMessage.method = URLRequestMethod.POST;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.load(postMessage);
gotoAndStop(2);
As mentioned before, my form does work fine. Anyone know what
the problem could be??
Thanks
CMOk ive figured out that Flash does not like the '&' sign
when data is sent back to it as a string. The thing that I dont get
is that my PHP script does NOT send the data back to flash. Why oh
why is this message being displayed?
Also ive discovered that on some machines it does not display
the error at all. I just don't get it. Anyone had this problem
before?
Thanks
CM -
hi all,
I have a 6i form which generate data into excel, I have migrated with in 10g, configure Webutil, attach webutil in form, create object group by webutil.olb, replace all ole2 with Client_ole2.
there is no problem in compile time but when I run that form and Click on Generate button then it show below message.
oracle.forms.webutil.ole.OleFunctions bean not found.
CLIENT_OLE2.create_obj will not work
please helpHi BaiG,
thanks for your reply, I have done Step 7 successfully and start step 8.
I was following your step no. 8 (below Step)
8. Sign Webutil JAR files by running these following commands Make sure Form Builder is Closed
"C:\DevSuiteHome_1\forms\webutil>sign_webutil.bat c:\DevSuiteHome_1\forms\java\frmwebutil.jar"
"C:\DevSuiteHome_1\forms\webutil>sign_webutil.bat c:\DevSuiteHome_1\forms\java\jacob.jar"
But when I do that step on my Dos Prompt then it show below message and run.
D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\forms\java\frmwebutil.jar.old...
1 file(s) copied.
Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
There were warnings or errors while signing the jar. Please review them.
D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome\forms\java\jacob.jar
The given jar file d:\devsuitehome\forms\java\jacob.jar does not exist.
D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\jacob.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up d:\devsuitehome_1\forms\java\jacob.jar as d:\devsuitehome_1\forms\java\jacob.jar.old...
1 file(s) copied.
Signing d:\devsuitehome_1\forms\java\jacob.jar using key=webutil2...
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
There were warnings or errors while signing the jar. Please review them.
Can you please tell me, how can I solve that problem. -
I have a feb form that has a 28 save limit. When users save the form and return to submitt them they get a error message that says the form has expired or has been submitted. The form is open and it was not submitted. Any thoughts.
Form deadline is tomorrow and people are getting angry when I tell them to recreate the form.Hi;
Can you forward me any of the emails from your users with their saved link that is not working and we can look into it?
Send to [email protected]
Thanks,
Josh -
Error message with forms 6i and OAS
Hello,
I 'm executing an applet (forms6i&OAS), while executing http://mycomputer:8001/web_html/mybase
i have the error:
keyconfailbundle oracle.forms.engine
runformbundle exception
java.lang.illegal argument exception: unknown format type...
can u please help
thnaks in advance
the applet code is the following
<HTML>
<HEAD><TITLET>titlz</TITLE></HEAD>
<BODY >
<APPLET CODEBASE="/web_frms/"
CODE="oracle.forms.engine.Main"
ARCHIVE="f60all.jar"
WIDTH="750"
HEIGHT="700">
<PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverHost" VALUE="mycomputer">
<PARAM NAME="serverArgs"
VALUE="module=d:\Direc\pic userid=scott/tiger@inter">
</APPLET>
</BODY>
</HTML>You will need to startup the database before you can run any sql command.
-
How to check the SQL error message to address the application issue
Dears,
The application runs SQLs against Oracle via oracle client(actually the app is IBM Cognos which shows report and the data is from oracle database). So, for a report which fails to run, I want to check the sql and the error message for this failed sql statement. Where is the message stored, client or server and How to get it?
I know there is a view v$log used to check the sqls ran in database but here I mean the failed sqls....
Thanks,
Ricky Ru969543 wrote:
The application only presents the application error message.. And it is not helpful for me to get the root cause..The application uses the Oracle Call Interface to communicate with the database server. OCI calls return a result code to the client. The client is expected to call OCIErrorGet() to get the full error text.
If the client does not do this, or obfuscate the server error, or suppress the server error? Crappy client. The lack of the client to play its role as client, correctly within the documented client-server architecture, is solely the client's problem. Not the server.
For DB2, I could use db2diag to check the log. why oracle can not do this? any thoughts?Because Oracle is not stupid? Why on sweet mother earth waste server resources to track client application errors, on behalf of clients? How does this make ANY sense!?
Oracle server's handles 1000's of SQL executions per second. Just where is it to find sufficient space to log application errors (not database system errors) at that rate? How do you justify that overhead? Using the argument that the application is poorly designed or written? Come on! -
When on a message board, and I try to post a comment, this Error Message comes up:
AN ERROR OCCURED WITH THE SQL SERVER. This is not a problem with the
IPS Community Suite, but rather with your SQL server. Please contact your host and copy the
message shown.
What is causing this? Thank youHi gingerlee003,
If I understand correctly, you are log on a website or a system. The error message occurs when you trying to post a comment on it.
This issue may occur if the website is not available or under maintenance. The problem seems to be on the website's end, not yours. Either the database is down and their "data" is not retrievable at the moment or the webmaster coded something wrong.
Once their database is back up and running you will be able to see the website again. You can do is wait a bit and try again or contact the webmaster to check for the issue. If you want to troubleshoot this issue, please refer to the log file.By default, the
error log is located at Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG and
ERRORLOG.n files.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hi,
I want to return a relevant Error Message whenever an SQL Exception occurs. For e.g. If a unique Constraint exists i want to return a relevant message like "A record already exists." Can i do the same?
Maybe a good feature to have in the next version of Oracle, if it doesnt exist :)
Regards,As 3360 points out, you cannot do this at the sql level (and a good thing too), but if you encapsulate all of your DML logic into packages (which is generally a good thing to do), then you can return wehat ever you want as an error message.
SQL> CREATE TABLE t (id NUMBER PRIMARY KEY, descr VARCHAR2(10));
Table created.
SQL> CREATE PACKAGE t_pkg AS
2 PROCEDURE ins_t (p_id IN NUMBER,
3 p_descr IN VARCHAR2);
4 PROCEDURE upd_t (p_id IN NUMBER,
5 p_descr IN VARCHAR2);
6 PROCEDURE del_t (p_id IN NUMBER);
7 END;
8 /
Package created.
SQL> l
1 CREATE PACKAGE BODY t_pkg AS
2 null_id EXCEPTION;
3 no_record EXCEPTION;
4 PRAGMA EXCEPTION_INIT (null_id, -1400);
5
6 PROCEDURE ins_t (p_id IN NUMBER,
7 p_descr IN VARCHAR2) IS
8 BEGIN
9 INSERT INTO t VALUES(p_id, p_descr);
10 EXCEPTION
11 WHEN dup_val_on_index THEN
12 RAISE_APPLICATION_ERROR (-20001, 'what do u think u r trying to do!!!');
13 WHEN null_id THEN
14 RAISE_APPLICATION_ERROR (-20002, 'gimme a break I need an ID');
15 WHEN OTHERS THEN
16 RAISE_APPLICATION_ERROR (-20003, 'now I''m really confused');
17 END;
18
19 PROCEDURE upd_t (p_id IN NUMBER,
20 p_descr IN VARCHAR2) IS
21 BEGIN
22 UPDATE t
23 SET descr = p_descr
24 WHERE id = p_id;
25 IF sql%ROWCOUNT = 0 THEN
26 RAISE no_record;
27 END IF;
28 EXCEPTION
29 WHEN no_record THEN
30 RAISE_APPLICATION_ERROR (-20004, 'It''s not there so I''m not doing it');
31 WHEN OTHERS THEN
32 RAISE_APPLICATION_ERROR (-20003, 'now I''m really confused');
33 END;
34
35 PROCEDURE del_t (p_id IN NUMBER) IS
36 BEGIN
37 DELETE FROM t
38 WHERE id = p_id;
39 IF sql%ROWCOUNT = 0 THEN
40 RAISE no_record;
41 END IF;
42 EXCEPTION
43 WHEN no_record THEN
44 RAISE_APPLICATION_ERROR (-20004, 'It''s not there so I''m not doing it');
45 WHEN OTHERS THEN
46 RAISE_APPLICATION_ERROR (-20003, 'now I''m really confused');
47 END;
48 END;
49 /
Package body created.
SQL> exec t_pkg.ins_t(1, 'One');
PL/SQL procedure successfully completed.
SQL> exec t_pkg.ins_t(1, 'One');
BEGIN t_pkg.ins_t(1, 'One'); END;
ERROR at line 1:
ORA-20001: what do u think u r trying to do!!!
ORA-06512: at "OPS$ORACLE.T_PKG", line 12
ORA-06512: at line 1
SQL> exec t_pkg.upd_t(2, 'Two');
BEGIN t_pkg.upd_t(2, 'Two'); END;
ERROR at line 1:
ORA-20004: It's not there so I'm not doing it
ORA-06512: at "OPS$ORACLE.T_PKG", line 30
ORA-06512: at line 1
SQL> exec t_pkg.upd_t(1, 'Way too long for the field');
BEGIN t_pkg.upd_t(1, 'Way too long for the field'); END;
ERROR at line 1:
ORA-20003: now I'm really confused
ORA-06512: at "OPS$ORACLE.T_PKG", line 32
ORA-06512: at line 1TTFN
John
P.S. 3360, thanks for the IM error message, I just might use it. -
This is the error message I keep getting.
Parse error: parse error, unexpected T_STRING in
/home/ehryckgi/public_html/contact.php on line 13
Here is the code I am using please help.
<?php
$your_company = $_GET['company'];
$your_name = $_GET['name'];
$your_phone = $_GET['phone'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];
$recipient_mail = "[email protected]";
$subject - "from " . $Your_Email;
$headers = "From: " . $Your_Name . " <" . $Your_Email .
'>\n";
$headers = 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact
letter</title></head><body><br>";
$content .= "<Company: <b>" . $your_company .
"</b><br>";
$content .= "<Name: <b>" . $your_name .
"</b><br>";
$content .= "<Phone: <b>" . $your_phone .
"</b><br>";
$content .= "<E-mail: <b>" . $your_email .
"</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html><title>Contact</title>
<body bgcolor="#282E2C">
<div align="center"
style="margin-top:60px;color:#FFFFFF:font-size:11px;font-family:tahoma;font-weight:bold")
Your message was sent. Thank you.
</div>
</body>
</html>
<script>resizeT(300, 300)</script>On Wed, 20 Sep 2006 07:34:28 +0000 (UTC), "miketman"
<[email protected]> wrote:
> $subject - "from " . $Your_Email;
> $headers = "From: " . $Your_Name . " <" . $Your_Email
. '>\n";
> $headers = 'Content-type: text/html;
charset=iso-8859-1';
$subject = "from " . $Your_Email;
$headers = "From: " . $Your_Name . " <" . $Your_Email .
">\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1';
You may want to look into e-mail injection:
http://tinyurl.com/pnp59
Gary
Maybe you are looking for
-
Unknown problem with JSP, JavaScript - Pls help
Hi Friends, I am facing a strange problem. Explained it below. Kindly help me as it is really affecting my work. Thanks in advance. I am working on building a web application using jsp, servlet, ejb. the IDE used is WSAD 5.1.2. I have the below : 1 J
-
Hi, I have a strange problem: I have a desktop and a laptop and a new internetconnection. When I use the desktop, I get downloads of up to about 3 Mbyte per second. However, if I change the same ethernet cable from the desktop on the laptop, I only g
-
Day must be between 1 and last day of the month
Hi I have a master detail form . Master Block contain emp_no,name,month etc. Detail block contain a date field(format mask 'dd'),a day field(the day on that day) and working hours detail of each day. when i enter the date in detail block it defaults
-
Hi friends, After creating calculation schema , the schema is attached to document type in variable calculation schema for services. Still the document is not picking the attached schema. It is picking RM0000. Any mistake in configuration?? Pl advice
-
Shifts, Work Plan, Rotation Plan - Projects integration in otl
Hi, My client implementing OTL with projects, I need few informations. 1. Work shcedule can be generated for projects integration or it is only applicable for payroll integration. If possible with projects please let me know the steps to configure it