Installtion APEX errors
Hello
I use Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production. During the installation of the apex, I found the following errors
SQL > @/ u01/apex_test/apex/apexins APEX APEX_FILES TEMP is
SP2-0310: cannot open the file 'coreins.sql '.
If wwv_flow_global.g_12c then
*
ERROR on line 4:
ORA-06550: line 4, column 24:
PLS-00302: component 'G_12C' must be declared.
ORA-06550: line 4, column 5:
PL/SQL: Statement ignored
SP2-0556: invalid file name.
Please help me solve errors
Concerning
Jewel
Hello
Can you change directory (cd) to the folder ' / u01/apex_test/apex / ' and connect to SQLPLUS and run as @apexins APEX APEX_FILES TEM
HTH,
Pradeep
Tags: Database
Similar Questions
-
How to manipulate the apex error to avoid lost database updates?
Hello
I'm looking for a way to manipulate the user error message hostile apex to avoid lost database updates. It seems that the message to the error handling function is not routed.
Any ideas?
THX.
Gerd
Hello
Try the APEX error code. DATA_HAS_CHANGED
Kind regards
Jari
-
DECLARE
the stored procedure varchar2 (25);
BEGIN
-DBMS_OUTPUT. Put_line ("enter the name of the procedure :'||: procname");
the stored procedure: =: procname;
DBMS_OUTPUT. Put_line (' procedure :'|| stored procedure);
stored procedure.
END;
: procname is a variable binding in the apex to switch the running value.
This is the error I get
ORA-06550: line 7, column 2:
PLS-00221: "STORED procedure" is not a procedure or is not defined
ORA-06550: line 7, column 2:
PL/SQL: Statement ignored
5the stored procedure: =: procname;
6 DBMS_OUTPUT. Put_line (' procedure :'|| stored procedure);
7. the stored procedure.
8 END;
SmtWtL wrote:
DECLARE
the stored procedure varchar2 (25);
BEGIN
-DBMS_OUTPUT. Put_line ("enter the name of the procedure :'||: procname");
the stored procedure: =: procname;
DBMS_OUTPUT. Put_line (' procedure :'|| stored procedure);
stored procedure.
END;
: procname is a variable binding in the apex to switch the running value.
This is the error I get
ORA-06550: line 7, column 2:
PLS-00221: "STORED procedure" is not a procedure or is not defined
ORA-06550: line 7, column 2:
PL/SQL: Statement ignored
5. the stored procedure: =: procname;
6 DBMS_OUTPUT. Put_line (' procedure :'|| stored procedure);
7. the stored procedure.
8 END;
What you're trying to achieve?
Bind variables cannot be used for the dynamic execution of stored programs. Dynamic SQL using lexical rather than bind substitution must be used to run when the program name is not known until execution of the programs.
declare sproc varchar2(25); begin sproc := :procname; dbms_output.put_line('procedure:'||sproc); execute immediate 'begin ' || sproc || '; end;'; -- DO NOT DO THIS! end;
It is a fundamental design flaw and a security disaster. It's stops essential compilation controls is performed and is open to attack by SQL injection and other security vulnerabilities. There is no good reason to do this.
-
Sorting for the pivot 5 APEX error
Hello
Has anyone encountered the following error when trying to make a kind of pivot with more than 1 sort column? If so, what is the solution?
{'dialogue': {'uv': true, 'line': [{'V': "failure of Widget}]}}
AJAX\u0020call\u0020returned\u0020server\u0020error\u0020ORA\u002D01403\u003A\u0020no\u0020data\u0020found\u0020for\u0020worksheet. »}]}}
If we make a kind of pivot with sort 1 column, the results are always returned without any error. I just created a SR this topic because I think it could be a bug.
Version of the APEX - 5.0.0.00.31
Version of DB - 11.2.0.4.0
APEX via OSH/mod plsql
Kind regards
David
Just to let everyone know that after raising a SR, they confirmed that this is a bug and it will be fixed in version 5.1. This bug is in each version of the APEX 5 so far.
Kind regards
David
-
Debugging looks like this:
Exception logging in final_exception_handler: Sqlerrm: ORA-20987: APEX - the following error occurred when executing the recall of error handling: ORA-06550: line 5, column 38: PLS-00201: identifier & #x27; APEX_ERROR_HANDLING_EXAMPLE & #x27; must be declared ORA-06550: line 5, column 1: PL & #x2F; SQL: Statement ignored Backtrace: ORA-06512: to the 'APEX_040200.WWV_FLOW_ERROR', line 861 ORA-06512: at the "APEX_040200.WWV_FLOW_ERROR", line 896 ORA-06512: at the "APEX_040200.WWV_FLOW_PROCESS", line 917 ORA-06512: at the "APEX_040200.WWV_FLOW_PAGE", line 1917 ORA-06512: at the "APEX_040200.WWV_FLOW", line 5614
I know that the error lies in an anonymous PL/SQL block, but I stripped all of them from this page and still no love. It seems that somewhere I #x27; as a string of characters, and this string must be defined (or, more likely, corrected.) Which doesn't seem to be a correct diagnosis? If so, can someone point me in the right direction of the places more likely where my suspect could hide?
I can't speak for the layout you see here, but PLS-201 refers to Oracle not having not privileges on ID APEX_ERROR_HANDLING_EXAMPLE
Scheme of the analysis of your application has direct access running on this feature?
Have you read the article by Patrick Wolf?
APEX 4.1 & #8211; Error Handling Improvements & #8211; Part 1 | Inside Oracle APEX by Patrick Wolf
-
Change the framework of the APEX error
I was wondering if someone could help me out here. I am facing a security problem where I need to hide all the error messages from APEX framework. Specifically, I need to hide the error messages on the screen that you get when trying to access an application that doesn't exist (the whitescreen with the Red 'x'). This had been implemented in the past, however, the 4.2 update knocked out there. To change that in 4.1.1 is just a matter of changing the APEX_040100.WWV_FLOW_ERROR package.
Anyone have any suggestions here? Everything would be appreciated!
Thanks in advance,
Shawn
I finally found how this can be done. You need to change the APEX_040200 package. "" WWV_FLOW_PAGE ". Procedure: "RENDER_ERROR_PAGE." If you never fix/upgrade APEX you will most likely have to remodify this package. To anyony solution APEX 4.1, simply change the WWV_FLOW_ERROR belonged to APEX_040100 package.
Thanks anyway!
-
remove the ball in the apex error message.
Hi all
Is it possible to remove the bullets from the page level error message. Looks like my error message below
The following error has been occurred
- Please enter the valid x number
Please enter the valid nuber
Please select valid code - Please enter valid date
Please enter valid current
Please select valid code - Please enter a valid number for P
Please enter the valid group
Please choose the valid text
I just want to remove the bulletes error message. Please let me know if its achivable in apex 4.2.
Thank you
Knockaert
It may depend on your theme/template but first try adding the following to your css page. (Page attributes-> CSS-> Inline)
ul.htmldbUlErr { list-style-type: none; }
- Please enter the valid x number
-
Apex error - maximum 100 columns can be selected
Greetings!
Version:
Oracle 11.2
Apex 4.1
I have a classic dynamic report that brings back the result through a function. The result of the report presents data by week after your chosen dates. When the report has more than 100 columns, I get the error: "a maximum of 100 columns can be selected. Is there a way to avoid the 100 column limit in the report? Also is it possible to export the report to CSV file directly without getting this error in the report page?
We intend to move to 4.2. This limit has been set to 4.2?
Thank you
SScode78 wrote:
Greetings!Version:
Oracle 11.2
Apex 4.1I have a classic dynamic report that brings back the result through a function. The result of the report presents data by week after your chosen dates. When the report has more than 100 columns, I get the error: "a maximum of 100 columns can be selected. Is there a way to avoid the 100 column limit in the report? Also is it possible to export the report to CSV file directly without getting this error in the report page?
Change your region report > under region Source > enter a number which corresponds to your need for maximum number of columns in the generic report
You can create a custom procedure to generate data in csv format and print to the browser.
-
Weird APEX error when refreshing of report
Hi all
I am trying to refresh a report with dynamic action. And get the following errors:
{'dialogue': {'uv': true, 'line': [{'V': "failure of Widget}]}}
ORA-20876: stop the engine of the APEX.
classic_report"}]}}
I have identified the problematic part. I have a selection multiple selection list and my query goes like this:
Before this line:select o.order_id, s.salesrep_name from ml_orders o, ml_order_salesrep_mapping m where m.order_id(+) = o.order_Id and case when :P22_SALESREP is null then 1 when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1 else 0 end = 1
used to be justwhen :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1
and it would work. But have the obligation to make this selection multiple selection list.when :P22_SALESREP IS NOT NULL and m.salesrep_id i=:P22_SALESREP then 1
Any help appreciated.
Using Apex 4.2, click Classic report with refresh by dynamic action on the button.William Wallace says:
I am trying to refresh a report with dynamic action. And get the following errors:
{'dialogue': {'uv': true, 'line': [{'V': "failure of Widget}]}}
ORA-20876: stop the engine of the APEX.
classic_report"}]}}I have identified the problematic part. I have a selection multiple selection list and my query goes like this:
select o.order_id, s.salesrep_name from ml_orders o, ml_order_salesrep_mapping m where m.order_id(+) = o.order_Id and case when :P22_SALESREP is null then 1 when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1 else 0 end = 1
Before this line:
when :P22_SALESREP IS NOT NULL and m.salesrep_id in (:P22_SALESREP) then 1
used to be just
when :P22_SALESREP IS NOT NULL and m.salesrep_id i=:P22_SALESREP then 1
and it would work. But have the obligation to make this selection multiple selection list.
It does not work like that. In
select * from table where columnvalue in (7788, 7839, 7876)
(7788, 7839, 7876) is a list of expressions , and the predicate is evaluated as a membership condition.
In
select * from table where columnvalue in (:P1_X)
: P1_X is a scalar string, unable to contain multiple values.
See +different items in the listmore about ask Tom, and +imitating the features of chain at the table using sql+ for possible solutions.
In a report of APEX type, use a source to report the body of the PL/SQL function returning a SQL query with lexical substitution to produce a "variable list:
return 'select * from emp where empno in (' || :P1_X || ')';
where P1_X has been sanitized for SQL injection and the value chain are properly indicated if necessary.
-
APEX error: found dead shared server
Hello
Often, I encounter an error when you work with APEX. If I submit any changes to the APEX, fi a change on a page element, APEX wonder to see if I would record the URL wwv_flow_accept. Next, I get a file save dialog box. Happens not all the time, but something like 10 times 2, I present something.
Looking at the database logs, I see an entry in the alert.log with this information:
< pre >
Fri May 22 17:56:36 2009
Errors in the c:\oraclexe\app\oracle\admin\xe\bdump\xe_s004_1948.trc file:
[ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_npierr + 487] [PC:0x5F22C3] [ADDR:0 x 4] [UNABLE_TO_READ]]
Fri May 22 17:56:40 2009
found dead shared server 'S004", pid = (18: 1)
< / pre >
Research in the respective trace file gives me these information:
< pre >
C:\oraclexe\app\oracle\admin\xe\bdump\xe_s004_1948.TRC dump file
Fri May 22 17:56:36 2009
ORACLE V10.2.0.1.0 - Production vsnsta = 0
vsnsql = 14 vsnxtr = 3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows XP Version V5.1 SP3
CPU: 1 - type 586, physical cores 1
Process affinity: 0x00000000
Memory (success/Total): Ph: 727 M / 1511 M, Ph + FCP: 1181 M / 2133 M, GOES: 1428M / 2047 M
Instance name: xe
Redo thread mounted by this instance: 1
Oracle process number: 18
Windows thread ID: 1948, image: ORACLE. EXE (S004)
ACTION NAME:(PAGE 4311) 2009-05-22 17:56:36.625
NAME OF THE MODULE: (APEX: APPLICATION 4000) 17:56:36.625 2009-05-22
CUSTOMER ID:(CKH_DEV:2151496271973569) 2009-05-22 17:56:36.625
SESSION ID: (29.4) 2009-05-22 17:56:36.625
17:56:36.625 2009-05-22
ksedmp: internal or fatal error
[ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_npierr + 487] [PC:0x5F22C3] [ADDR:0 x 4] [UNABLE_TO_READ]]
For this session current SQL statement:
ENGAGE
-PL/SQL call stack-
the line object
serial number of handle
267D174C APEX_030200.WWV_FLOW 1275 package body
Package body 5421 267D174C APEX_030200.WWV_FLOW
Package 267D174C APEX_030200.WWV_FLOW 13366 body
26521088 30 anonymous block
-Call trace stack memory-
...
as a result, the memory dump
...
< / pre >
To whom this is an idea which is wrong on my machine here?
Best regards
JürgenDue to the fact that XE is a product not supported well enough, you can't go away with this argument... Once you say that you have problems with APEX and XE, that will be the answer that you get...
Better to spend a few $$ and get the lowest supported Oracle Database (Standard or something like that) which will support running APEX and go from there...
Just a friendly suggestion...
Thank you
Tony Miller
Webster, TX -
Capture the unique constraint by Apex error?
Hello guys!
My application is almost over and I'm currently focusing on the error handling! So far, I was able to solve many problems using the Apexlib.
However, I would like to get rid of these annoying Ora - error messages are not comprehensible to the end user. Is it possible to intercept errors of unique constraint by their Summit before submitting data? If so, could you please be so kind and give me a good or better yet a full example how manage these errors with PL/SQL, or Javascript.
I'm just a beginner so please be a little more detailed, so I can understand your code. :-)
I know your opinion on this question and hope you can help me!
Thank you very much!
Kind regards
SebastianHello Sebastian,.
There is a mistake in your second loop. Must be something Island:
amountx :=0; -- reset the counter FOR c IN (SELECT count(*) counter FROM tbl_schichtigkeit -- No INTO in this part WHERE int_schichtigkeit = APEX_APPLICATION.G_F03(j) AND lng_inv_pt_id = :P52_PTIDS ) LOOP amountx := c.counter; -- If amountx > 0 then RETURN 'Error on row ' || j; ELSE RETURN NULL; END IF; END LOOP;
I'm not sure if you need this loop. I think you can also do it with only:
SELECT count(*) counter INTO amountx FROM tbl_schichtigkeit WHERE int_schichtigkeit = APEX_APPLICATION.G_F03(j) AND lng_inv_pt_id = :P52_PTIDS; If amountx > 0 then RETURN 'Error on row ' || j; ELSE RETURN NULL; END IF;
Be aware that it only reports the first error! If there are more records with an error, you won't get one, because you RETURN right after the first found.
Greetings,
Roelhttp://roelhartman.blogspot.com/
-
Unable to connect to an application after moving from Apex to Apex 5.0 4.2
Hello
I have an APEX application which the login is authenticated with a password (encrypted) in the database.
After you import a request of APEX 4.2 to APEX 5.0 to a different database, here is the error I get when I try to connect from page 1:
ORA-00918: column ambiguously defined
Treatment of error condition.
And here's the info I can find from the debug log:
Exception logging:
SQLERRM: ORA-00918: column ambiguously defined
Backtrace: ORA-06512: at "SYS." DBMS_SYS_SQL", line 1445
ORA-06512: at "SYS." WWV_DBMS_SQL', line 464
ORA-06512: at "SYS." WWV_DBMS_SQL', line 475
ORA-06512: at "APEX_050000.WWV_FLOW_DYNAMIC_EXEC", line 411
Exception logging:
SQLERRM: ORA-00904: "O". ' ' User_id ': invalid identifier
Backtrace: ORA-06512: at "SYS." DBMS_SYS_SQL", line 1445
ORA-06512: at "SYS." WWV_DBMS_SQL', line 464
ORA-06512: at "SYS." WWV_DBMS_SQL', line 475
ORA-06512: at "APEX_050000.WWV_FLOW_DYNAMIC_EXEC", line 411
Exception logging:
SQLERRM: ORA-00904: "O". ' ' User_id ': invalid identifier
Backtrace: ORA-06512: at "SYS." DBMS_SYS_SQL", line 1445
ORA-06512: at "SYS." WWV_DBMS_SQL', line 464
ORA-06512: at "SYS." WWV_DBMS_SQL', line 475
ORA-06512: at "APEX_050000.WWV_FLOW_DYNAMIC_EXEC", line 411
Exception logging:
SQLERRM: ORA-20987: APEX - error processing condition. -ORA-00918: column ambiguously defined
Backtrace: ORA-06512: at "APEX_050000.WWV_FLOW_ERROR", line 732
ORA-06512: at "APEX_050000.WWV_FLOW_ERROR", line 1013
ORA-06512: at "APEX_050000.WWV_FLOW_CONDITIONS", line 767
ORA-06512: at "APEX_050000.WWV_FLOW_META_UTIL", line 69
ORA-06512: at "APEX_050000.WWV_FLOW_META_UTIL", line 118
ORA-06512: at "APEX_050000.WWV_FLOW_REGION", line 125
ORA-06512: at "APEX_050000.WWV_FLOW_DISP_PAGE_PLUGS", line 962
Exploitation forest exception in final_exception_handler:
SQLERRM: ORA-20987: APEX - error processing condition. -ORA-00918: column ambiguously defined
Backtrace: ORA-06512: at "APEX_050000.WWV_FLOW_ERROR", line 963
ORA-06512: at "APEX_050000.WWV_FLOW_ERROR", line 998
ORA-06512: at "APEX_050000.WWV_FLOW_DISP_PAGE_PLUGS", line 998
ORA-06512: at "APEX_050000.WWV_FLOW_PAGE", line 2228
ORA-06512: at "APEX_050000.WWV_FLOW_PAGE", line 2447
ORA-06512: at "APEX_050000.WWV_FLOW", line 4938
If I import this application similarly APEX APEX 4.2 4.2, but to a different database, I get no error and I can't the application United Arab Emirates.
Does anyone has an idea of the problem?
Thank you in advance.
Kind regards.
Hi Patrick,
Thanks for your response.
You gave me good advice, I was exploring just the look and feel of the APEX 5.0 and it is still a Terra Incognita.
Although the Advisor provided advice nany to be alert in, I found the problem.
"PL/SQL errors" referred to in the report of the Advisor stressed (at least) a request that identify the database the user record.
This query worked very well in the original request of the APEX. So, I could not believe that it is a real "syntax error".
The problem seems to have been the DataPump data import.
A subsequent investigation showed that some tables were not created properly. There where some columns missing ID and also the column date was not correct.
For a table, a column that was missing has been used in a join to identify the user.
As a result, the column was "ambigously defined."
Kind regards
-
Customize the error page "submissions in double page to authorize."
Hello
If you set "Double page to authorize bid" to NO, you can not post a form more than once, if you do, you get an error page (for example, if you double click on save button).
Is it possible to customize this page to standard error (translate and use a different presentation)?
The standards page looks like this:
Error ERR-3331 this page had already been supplied and cannot be re-introduced.
Continue-(which is a link to a page that you can set in the properties of the page)
OK-(redirects to the form)
Concerning
BottomRegardless of the type of error you want to catch, it's a common request.
Search through these forums, or try one of the many offers good blog
http://lmgtfy.com/?q=customise+Oracle+Apex+error+pageIt also depends on your version of Apex-> 4.1 fact it very easy to customize error pages.
-
upgrade from 3.2 to 4.1 - error handling for the unavailable database links
Hello
I have a 3.2-> upgrade problem 4.1 associated with error handling for the damaged database links.
I have a conditional button Exists on a page that contains a SQL query to related tables. However, for 10 minutes every day where the target of the link database becomes a cold backup, the query fails. In the apex 3.2 old, I just had an error within the region where the button is located but otherwise, the page was still visible:
"Is not valid/not exists condition: ORA-02068: following a serious error of MYDBLINK ORA-01034: ORACLE not available ORA-27101: there is no shared memory realm."
However, in the apex 4.1.0.00.32 I get the following unhandled error and click 'OK' brings me to the edit page when logged in as a developer.
that is, the page cannot run at all so that the links to the database fail to this one area.
Treatment of error condition.
ORA-12518: TNS:listener could not hand off client connection
Technical information (only visible for developers):
is_internal_error: true
apex_error_code: APEX. CONDITION. UNHANDLED_ERROR
ora_sqlcode:-12518
ora_sqlerrm: ORA-12518: TNS:listener could not hand off client connection
Component.type: APEX_APPLICATION_PAGE_REGIONS
Component.ID: 4
Component.Name: alerts today
error_backtrace:
ORA-06512: at "SYS." WWV_DBMS_SQL', line 1041
ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 687
ORA-06512: at "APEX_040100.WWV_FLOW_CONDITIONS", line 272
Users generally see this:
Treatment of error condition.
ORA-01034: ORACLE not available ORA-02063: preceding the line of MYDBLINK
by clicking on 'OK' takes the user to another page, don't know how the Summit decides that, but not a concern at the moment.
I did a search and read the http://www.inside-oracle-apex.com/apex-4-1-error-handling-improvements-part-1/ page, but the new apex error handling is not clear to me, and I don't know if the apex_error_handling_example provided on this page would be applicable to this situation.Hello
It was my fault, I forgot that the code will be compiled on the fly which already fails if the table/view of deletion is not accessible. Nice that you found yourself workaround.
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
VALIDATION - function returns the error text
I have a domain that occurs on about 12 pages, I need to post this field with some code
I created a function on the database that performs this validation, I pass the field value to the function and it returns some text of error, or NULL if the value is correct
I can't for the life of figure me out how to call the function of APEX
I've tried everything
FUNCTION RETURN ERROR TEXT, Expression SQL, PL/SQL Expression... nothing works!
to call the function my comand is
FN_VALIDATE_HR1_REF (: P1_GCI,: P1_HR1_REF);
I want to return the error on the function text and display it in the banner of APEX error
any help greatly appreciatedA function like this return error text should work:
Return (FN_VALIDATE_HR1_REF (: P1_GCI,: P1_HR1_REF));
Is giving the error?
Maybe you are looking for
-
M60-176: Question about a display problem.
This week, I bought a m60-176. I noticed a slight halo of light on the entire length of the lower part of the screen when I put a totally black image. I was wondering if this was normal or if it was a defect on the screen. Everyone has experienced su
-
All new ThinkPad 10 has a located on the BIOS supervisor password!
I tried to do some exploring of the BIOS and found that once I started it, I was invited to a supervisor password. It's a brand new/sealed ThinkPad 10 I got 2 days ago. Is there a default supervisor for the BIOS password? I tried (which it does not e
-
I can't get the MP4 files to work in Windows Live Movie Maker
I can get to move on him, even able to play but they look screwed up & don't right cheek & ne same export right. I believe that the files are in the H.264 format & are the MP4 file type, is it possible to get the video to play right? One of my mp4 to
-
Desktop window Manager stop working
I made a few changes in the customization and appearance, I did only randomly clicks on different themes and maybe I did clickes on 'get to other themes online' now having done this, whenever I start my window7 it invite me the Director of this offic
-
So my sister got some friends over the last week and they were using the network of my sisters. They have changed the password and then alluded: "is iz blits (:". ")" I use my netbook (Samsung N130) sisters to watch anime them during the night and wr