Call the function browser plsql (403 error)

Hello

I m pl/sql developer and I m new in APEX. In fact, I have little trouble with Express application, authorization and call browser plsql. I found the pl/sql procedure to see the image (actually I don't like in pl/sql, I'll be happy if I calll Hello World of browser).

My Info: Oracle 12.1 c, Windows 7, default APEX 4.2

I found it is appeal possible function of the url in this way: http://localhost:8080/apex/APEX_040200.just_print and he return 403 for me, where:

Just_print is defined as

create or replace
PROCEDURE JUST_PRINT AS
BEGIN
htp.p('HAF');
END;

Just_print, it's in the APEX_040200 scheme

According to web articles that I give perform this function ANONYMOUS or APEX_PUBLIC_USER or PUBLIC. I don't like the safety (my local host, learning...) so I have him granted for all:

grant execute on just_print to anonymous,apex_public_user,public;

It must stop return 404 (not found) and start to return a 403 (forbidden) - it works (for anonymous scholarship, but I hold decided run grant for all accounts - just for sure)

Now, according to web I must change the function wwv_flow_epg_include_mod_local (in the APEX_040200 schema) and add the name of function. I tried but doesn't work. Yes, there is first line of the procedure returns alwas FAKE and I remove it, I also added the procedure IN the list. And also modified function that simply returns TRUE. Nothing works, real version is:

create or replace 
function                                     wwv_flow_epg_include_mod_local(
    procedure_name in varchar2)
return boolean
is
begin
    if upper(procedure_name) like '%PRINT%' or upper(procedure_name) like '%IMAGE%' then
        return TRUE;
    else
        return FALSE;
    end if;
end wwv_flow_epg_include_mod_local;

(u just removed comments to be the shortest).  Here it's like printing (the function) and image (feature first tried) and superior, also when I try this:

begin
if apex_040200.wwv_flow_epg_include_mod_local('just_print') then 
 dbms_output.put_line('OK'); 
 else dbms_output.put_line('FAIL');
 end if;
end;

It will print OK (and also for ctrl + c/ctrl + v in web broswer) and also for any changes - APEX_040200.JUST_PRINT etc so it should not be a typo error.

When I call just_print or PL/SQL region show_image (create page - add plsql - region and add the code begin just_print; end ;) it works.)

Also, I've run the instalation guide ACL policy (all).

I not found any other step to must be done - so I don't have anything else.

--

Any suggestion what I am doing wrong? (except the whole life, but this is another story...) )

THANK YOU VERY MUCH

Hello

I don't think it's your problem, but it's bad idea create procedures to the diagrams of the system as APEX_040200.

Create procedure to the own schema and then create public synonym for it.

Grant execute privilege to public for the procedure, just to test.

And change 040200.wwv_flow_epg_include_mod_local function always returns true, just to test

create or replace
function wwv_flow_epg_include_mod_local(
    procedure_name in varchar2
) return boolean
is
begin
  return FALSE;
end wwv_flow_epg_include_mod_local;

Then try the URL http://localhost: 8080/apex/just_print

Kind regards

Jari

Tags: Database

Similar Questions

  • JavaScript exception: error calling the function of selection: [object error] after the last update of the software Adobe Muse.  I export the html files and load them on my server.  I replaced all the files.  Only happens in IE11

    error.png

    UPGRADE to someone else who may have had this problem.  It's in compatibility mode settings.  Went in IE-tools and unchecked the option to view websites in compatibility mode, also went in the developer tools and changed the document aboard 11 mode.  This fixed the error!

  • JavaScript exception: error calling the function switch: TypeError: undefined is not an object (evaluation "jQuery.browser.msie") - HOW I ME get RID OF THIS

    Screen Shot 2015-12-12 at 16.54.47.pngScreen Shot 2015-12-12 at 17.01.45.png

    Hello

    I get these errors a lot lately on my sites of muse - it happens when I rename pages or change the navigation menu - I tried several times and this isn't to do with external plugins - this is a bug of muse - appears when my loading sites and also when you select a page in the navigation bar - in the past for a single page websites - I just copy the contents in memory - remove the rebonding and page - everything and it works again - of course, I don't want to do that with Web sites with multiple pages - in the past, anyone in the forum mentioned deleting a file of muse on the server to reset something - any who want to add to it or guide me to solve these problems, so I know what to do when they arrive

    Jay

    Don't know if it's the same thing, but share this discussion JavaScript exception: error calling the function of selection: [object error] after the last update of the software Adobe Muse.  I export the html files and load them on my server.  I replaced all the files.  Only happens in IE11 just in case it helps.

  • MuseJSAssert: Error calling the function switch: TypeError: cannot read property 'msie' undefined. Please help me in this.

    MuseJSAssert: Error calling the function switch: TypeError: cannot read property 'msie' undefined. Please help me in this.

    Hello

    Please check the following thread,

    Re: MuseJSAssert: error by calling the function of selection: [Object Error]

    Let me know if you have any question.

  • {Error: MuseJSAssert: error calling the function switch: SyntaxError: unexpected token}

    I built my site for the last days, and that 30 minutes, I click on the "Preview in browser" option to check my progress. {On one of these controls, as soon as the page loaded, I got the MuseJSAssert error message: error calling the function switch: SyntaxError: unexpected token} in a pop-up window and all my viewers stopped working. I tried to restart the browser, muse, my computer and even tried to save as a new website to use instead, and none of these options worked. Any ideas on how I can fix?

    Screen Shot 2014-11-10 at 2.12.21 PM.png

    If you have added a custom HTML/CSS/JS code using Page Properties > section Metadata or by using the function insert HTML code, try to remove and then preview.

    If the problem persists after removing all of the custom code, please send your .muse file (saved after removing all custom code) at [email protected]. Make sure that you mention the link to this topic in the subject of the e-mail.

    See you soon,.

    Vikas

  • MuseJSAssert: Error calling the function switch: TypeError: $(...). toBrowserWidth is not a function

    Hey,.

    I made a site with Muse on April 2014 and now (September 2014) I got the latest version of Adobe Muse, updated the site, send to an external FTP client directly from Muse, and now my client told me that he cannot see the site of Mozilla Firefox from his PC. It is said that MuseJSAssert: error calling the function switch: TypeError: $(...). toBrowserWidth is not a function. He can see the site in Internet Explorer. And it works with my Firefox, Chrome and Safari browsers on mac.

    I have found some answers and tried: I added / of the museutils.js of the file so that it looks like this: {url:"/scripts/pie.js... and (" / MuseJSassert:... instead of: {url: "scripts/pie.js... and (' MuseJSassert:...") "}")}

    Done with the code in parentheses editor and send the files to a remote server with Filezilla.

    Now, it displays error on my browsers as well, he said: some of the files on the server may be missing or incorrect. After you click OK, the site seems normal.

    I also deleted the site distance and exported directly from Muse again. Now it looks fine on my browser again, but not customers.

    Any help?

    It's frustrating because I'm not a coder (I chose the Muse of reason) and now I don't know what to do...

    I checked out the site on my end, but can't reproduce the same error:

    http://take.Ms/dAPJ0

    Please try to delete browser cookies or try to reset the preferences.

    Thank you

    Sanjit

  • Java Script alert: MuseJSAssert: error calling the function switch: security error?

    Hello

    I built a site of Muse and place a dashboard project animate the site. Here's the problem I have. When I saw in the browser through Muse all seem to work well. The problem is when I export to HTML. When I view the HTML file in Firefox, everything works fine. But when I discover the HTML in Chrome or Opera, I get the following error appears on the top of the browser: Java Script Alert: MuseJSAssert: error calling the function switch: security error: blocked a frame with original "null" access to a framework of cross-origin.

    Any ideas what is the cause? I noticed one thing, but if I click the button refresn the animation playback. The other thing I noticed, is that my full screen lide show is also affected by this error. He plays as the first image and the rest of the images are not displayed.

    Thank you for any suggestions to fix this.

    Hey all!

    I finally found how to solve this problem! At only took about 3 hours!

    Therefore, to do with the iframe code muse did for the lively edge file.

    If we take things from the outset, if everyone includes:

    1 publish a 'edge Animate Deployment Package (.oam)' dashboard animate

    2. in muse, file > Place > {exported .oem)

    3. put the file where you want

    4 muse export as HTML (file > export as HTML)

    5. your browser will open and display the error message, as shown above

    6 locate the HTML files and find "index.hml", or the page that your file hosted dashboard is on

    7. open it in Notepad, or editing program code. I use Adobe Edge Code CC

    8 remove the text: class = "animationContainer an_invi" (press ctrl + f and type to find the line)

    9 be sure to save and then reopen the Web page!

    10 smile for yourself and be raised

  • MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment ')

    Help, how do I fix this bug?

    MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment ' $('#u69').registerPositionScrollEffect ({"enterSpeedY": 1, "exitSpeedY": "offset" 0,:-0.04999 999999999005})')

    and I also have this error:

    MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment '$('.browser_width').toBrowserWidth ()')

    Help please help

    The most common cause of JavaScript errors on a page of Muse is missing from server or .js files or other files on the server, not all human beings of the backup of files .js version of Muse. If you use an external FTP client, you must re - download all the files and folders every time that a site is implemented using an updated version of Muse (since the code generated by changes of the Muse of liberation to free to improve page load performance, support new features, new versions of browsers or devices (, etc. of the address, etc.).

    The second most often the cause of errors JavaScript on a page Muse is bug embed code and/or include code that is in conflict with the JavaScript code used by Muse. Plan to temporarily remove your embed code to see if the problem goes away and so isolate the cause.

    And, of course, it is possible, a JavaScript error is caused by a bug in Muse or a bug in an update of the newly introduced browser, but frankly, given the level of tests that are placed in a statement of those who tend to be very rare and when they do occur, they are usually very quickly addressed by an update of Muse.

  • MuseJSAssert: Error calling the function switch: TypeError: undefined is not an object (evaluation of "a.rules")

    I have this error on my Web site every time that I go. It disappears when I refresh three times.

    "MuseJSAssert: error calling the function switch: TypeError: undefined is not an object (evaluation of"a.rules").

    I downloaded the site with Filezila.

    Please help, what's wrong here?

    Thank you

    Hi Barbara,

    The question began to happen after you downloaded using the latest version of Muse?

    If so, can you try to remove the old files of the web server and re-upload using Muse?

    Kind regards

    Akshay

  • Get this error on pages MuseJSAssert: error calling the function switch: TypeError: $(...). museMenu is not a function. Have read and did what I could find to solve problems.

    Hi I keep getting the error MuseJSAssert: error calling the function switch: TypeError: $(...). museMenu is not a function on my Web site which is not published, but I am downloading in British Colombia through muse.

    I'm on a PC.

    I tried export to HTML and still have the same problems locally.

    I saw that someone had a problem with mailchimp forms in one of a previous post. I removed the a widget of external source? for reservation and it was always happening.

    I created a new project like this and downloaded BC site all the files again to see if she could make a difference but still have the error.

    It's my URL BCdraft - home

    I tried to look at the site in the section "console" (where you can see the code of pages) to see if I could see the error that people had already advised but I get nothing... maybe not completely published because?

    I have reloaded the site through the muse in British Colombia with "all files" and is always the same.

    Here are some pictures that can help...

    Once on the home page, it may come with the error immediately or not... If you choose to say the title of the FAQ

    choose faq.png

    You must then (or choose other titles until it is) have this error coming...

    error.png

    Note that the title you have previously chosen as 'FAQ' now as 'price '.

    Changes to old title pricing.png

    This title is for some time and seems strange appears again.

    Here is a picture of scripts/css in the admin of BC as I've seen that this can be a problem but I don't know if this is normal or not and how to fix...

    cpanel.png

    I had taken a break from building the site for about a month and I had added on changes, but not them uploaded to the server just left saved on my PC.

    In the hope of an easy solution; p

    See you soon,.

    Steve.

    I published BC... what I wanted to say is that I did not live.

    Export HTML was to check if the error occurred in the HTML files locally.

    It ended up being a code of the external widget that was causing the problem. With him removed the pages work fine. (I had removed what I thought of them while troubleshooting, but I forgot to a separate embedded image)

    Specifically, it is because it was a pop-up overlay widget made for reservations. When I put it to then start a new page in the tab it works now. Seems that muse has changed to something allowing overlays?

    My thanks to Neha in support

  • MuseJSAssert: Error calling the function switch: TypeError: D.split is not a function

    I have this problem in my site:

    MuseJSAssert: Error calling the function switch: TypeError: D.split is not a function

    error-2.jpg

    and it's the loading error, please help!

    http://musecdn2.BusinessCatalyst.com/scripts/4.0/jQuery-1.8.3.min.js

    error-1.jpg

    I think it's solved now, please check the response of Zak here:

    https://forums.Adobe.com/thread/1879186

    Thank you

    Sanjit

  • MuseJSAssert: Error calling the function switch: TypeError: cannot read property 'msie' undefined

    Hello I have this JS error on my portfolio website.

    yeaforideas.com

    I tried to export to html and uploading this file on my FTP host site, but it did not work. We hope to have it resolved soon. Please advice. Thank you!

    Hi Yes,

    Please see the following post: MuseJSAssert: error calling the function switch: TypeError: 'undefined' is not a function (assessment ' )

    Kind regards

    Akshay

  • MuseJSAssert: Error calling the function switch: TypeError: undefined is not a function (assessment '$element .on this.')

    As usual I never update muse immediately incase of any question, however, a few days after the update (have not installed the update) I go on my site, this message appear out of no where "MuseJSAssert: error calling the function switch: TypeError: undefined is not a function (assessment ' this.)" ($element.sur ') ".

    So I decided to install the update and see, but the message would have still done appear then I wiped my server and download all my files to perhaps solve the problem of Javascript, and yet the message is still displayed.

    Note that this came from nowhere even tho I don't update my muse or uploaded to my FTP in days.

    My site entire is now totally useless after months in manufacturing.

    Can anyone help?

    The error on the sites is caused by having custom include the code that loads several different versions of jQuery. A single Web page should only have one.

    The redirect URL that fails intermittently. We actively work to diagnose and fix that, but which will not only cause these errors. Each Muse site contains a snippet of JavaScript that silently and automatically returns to use the version of jQuery that muse will be mailed to your host if the CA version is not available for some reason any.

    The problem is a number of customer sites have wrong incorporated several different versions of jQuery. When the CDN version is available, it is used. Unfortunately, when it is not available, an incompatible version loaded by the custom code or third-party widget is used and which translates these errors.

    Long term loading multiple versions of jQuery should be removed from the code or the third-party widgets on your site. In the short term, we will have solved CDN failure and these errors will disappear, but they return in the future if multiple copies of jQuery in the code no Adobe added to the page are not deleted.

  • I have the following error on my phone design-MuseJSAssert: error calling the function switch: Error: Invalid argument

    I tried to insert the third party html code 'a noaa weather map' in the design of my phone yesterday. It did not work well. So I deleted this return. Afterwords, I get the following:

    (Message on the Web page "MuseJSAssert: error by calling the function selection: error: invalid argument.")

    I already have all the design is complete and ready to publish. The desktop version works fine. But the design of the phone does not work. For the most part, I noticed that the menu master accordion does not work now.

    Help! I really want to redo the whole phone design. Thanks, H

    I have already found and corrected the error. Apparently, when you bind a phone

    Number of muse, he is not obliged to put a colon: in the figures. I have

    have removed the colon and handed over running the program and the error is cleared

    upward. A clear tutorial on the 'phone links' would be useful.

    Thank you. H

  • I exported a must of the site in HTML format and get the following error - MuseJSAssert: error calling the function switch: SecurityError: cannot read property 'documentLes' of 'HTMLIFrameElement': blocked a frame with original 'null '.

    I exported a must of the site in HTML format and get the following error - MuseJSAssert: error calling the function switch: SecurityError: cannot read property 'documentLes' of 'HTMLIFrameElement': blocked a frame with original 'null '.

    Does Anyon know what to do - how to fix this?

    Hello

    could you please take a look at this and see if that helps

    Java Script alert: MuseJSAssert: error calling the function switch: security error?

Maybe you are looking for