Download File not opening correctly in Firefox... (Works fine in IE...)

Running the following code snippet in Oracle 11.2, APEX 4.2.3, IE 10, Firefox 24:
procedure download_to_user
is   
t_excel blob;
t_filename varchar2(200);
  begin
  t_excel := finish;
  t_filename := 'test.xlsx';
   htp.flush;
   owa_util.mime_header( 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', false );
   htp.print( 'Content-Length: ' || dbms_lob.getlength( t_excel ) );
  htp.print( 'Content-disposition: attachment; filename=' || t_filename || ';' );
  htp.print( 'Content-Description: Generated by as_xslx' );
  owa_util.http_header_close;
  wpg_docload.download_file( t_excel );
  apex_debug_message.log_message( 'done' );
  end;
Now the strange part.. It works fine in IE & Chrome when I have it called from a button click on a form, when I try it in Firefox, it returns a garbled file that Firefox thinks IT Should open...  I would think since all the issues we seem to have with IE that this would be the opposite..
Thank you,
Tony Miller
LuvMuffin Software

Hi TexasApexDeveloper,
I don't have IE10 to test this with but I find it strange that you don't need to add   
APEX_APPLICATION.stop_apex_engine;
or
APEX_APPLICATION.g_unrecoverable_error := TRUE;
at the end of your code, to stop possible branches or further rendering.
That's the only thing in your code that I can see that can indicate an error. Can you create an example on apex.oracle.com if that does not help?
Regards,
Joni

Similar Messages

  • Can't open Pdfs in firefox, works fine in Safari. Please help?

    Can't open Pdfs in firefox, works fine in Safari. Please help?

    This resolved my problem
    I checked and my Firefox is doing (or not doing in this case)  the same thing.  There seems to be a problem with the Snow Leopard and the Adobe browser plugin.  I was able to get Firefox working again by going to Firefox > Preferences > Applications and switching all to Adobe settings to "Use Adobe Reader (default)" instead of the plugin.  Then I went to Tools > Add-ons... > Plugins and disabled the Acrobat plugin.  Restarted Firefox and now pdf worked.

  • Safari won't open anything.  Firefox works fine.

    Safari won't open anyuthing.  Firefox works fine.  Is something happenng at the Safari end? 

    Sue --
    Are you really still on 10.5.1?
    Tell us your exact OS, the version of Safari you're running, how long this has been happening, etc.  Is it actually crashing?  Does it open up with your Home Page?  Then what happens when you want to see a site?

  • All downloads through Firefox are not opening correctly. Bookmarks open up a page with links flush left down the page that do not work. All file downloads do not open correctly with the same issue as bookmarks. Want to avoid losing all my bookmarks so don

    Something happened in the last day with FF. IE downloads files correctly. FF Delicious bookmarks open up a page with blue links that look like an outline but they are not my links. My downloads do the same. No virus.

    That can be caused by having some bookmarks with a long title in the main Bookmarks menu.
    The width of a column in the Bookmarks menu list is in current Firefox versions automatically adjusted to fit the bookmark with the longest name.
    You can check the names of the bookmarks and make the longer ones shorter.

  • Merged files not opening correctly from TOC

    Hi,
    We are having issues with one of our merged .chms. It is a
    small .chm with one topic and 8 merged TOCs. When this .chm file is
    compiled, the TOC works fine and all the TOC topics open and the
    topics display correctly in the right-hand frame.
    However, when we merge this .chm with our main help, we get
    the following error message when we click on a TOC entry:
    "The window name "Main" passed to HH_GET_WIN_TYPE has not
    been specified"
    We click OK to continue and the topic opens but in a new
    window as its own .chm, not in the right-hand frame like it should.
    And most of the time the new window does not have the correct
    title, it is picking up the title of TOC below or above it, or the
    one that was opened previously.
    Hope this is making sense, it is hard to explain without
    images...
    I have spent hours trying to figure this one out and was
    originally getting the same error in the stand alone .chm, but I
    think (fingers crossed) that I have fixed this. One of the merged
    TOC projects was corrupting everyhting else, but we have recreated
    that project from scratch, and now it all works fine.
    It is just when the .chm is merged with the main help.
    Is it because we have a merged TOC within a merged TOC?
    Thanks

    Hi Em0606,
    What version of RoboHelp are you using? There was a problem
    in RH X5.0.0 that was fixed by the X5.0.1 update. See the following
    link (scroll down to RoboHelp Office Updates):
    http://www.adobe.com/support/robohelp/downloads.html
    If that's got nothing to do with it, I shall bow out and let
    one of the experts offer a solution.
    Anne

  • DMG files not opening correctly in 10.8.2

    I was downloading second life on my ir running 10.8.2, and after the dmg downloaded, and i clicked it, instead of the usual drag to app folder Finder window, I got a strange one with four folders in it and a shaded arrow, and nothing really to drag. Repeated this after reboots and two different dmg files (I have not tried anything other than second life. But read on.
    I found a thread here where someone had a similar problem with other downloads. in their case, the finder window opened briefly and then closed, i believe. anyway they finally created a new admin user and downloaded and installed using that and it worked.
    I tried that, and it also worked. Created new user, downloaded same files, clicked, and they came up with the usual drag to applications window.
    Somehow ML has gotten confused on my main account. Ideas for what to do to clean it up? or should I just wait for 10.8.whatever?
    Thanks!

    You might give this a try:
    Repair the Hard Drive and Permissions - Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.

  • Downloaded files not opening

    Starting last week I've been unable to open and mount any downloaded item, either from Safari or Firefox. I tried using Stuffit directly, but when I drag/drop onto the Stuffit icon (whilst Stuffit is open), the computer pauses for a moment, and then nothing happens.
    I've transferred a 'working' Stuffit from another computer, and the same thing occurs.
    The last thing I successfully downloaded was EndNote from the website of my university. I might've updated Firefox around that time.
    Thank you in advance.

    Kjjg wrote:
    I've been trying to expand .dmg and .bin, which I had been doing earlier. I saw something on the Apple download page and tried to get it, and that doesn't work.
    *Hi Kjjg, Welcome (Back)* to Apple's Users Help Users Forums.
    Get Info on a .dmg wants to use "DiskimageMounter.app" and then click on "Change All" for ".dmg"s. Use "Stuffit" for "Bin" and "Hex" files.
    Good Luck, JP

  • Downloaded files not opening up automatically

    Hello,
    I have checked the Open Safe files on the preferences, but ever since I got the new Safari 3, Real sound files, torrent files on Transmission etc. do not open automatically. So I need to go to the desktop to double click every time. Can someone please tell me the way around it?
    thanks!

    the same happen to me with Safari 3 Public Beta for
    Windows, how can I make Safari to open automatically
    the download files, I have to open it manually from
    Desktop.
    Right click on the file and choose "Open" from a context menu.

  • Downloading file not the correct contents

    Hi,
    I have a link on another page the take me over to the page that contains the code below:
    <CFOUTPUT>
    <CFSET FPATH = #GetDirectoryFromPath(ExpandPath("*.*"))#>
    <cfdirectory directory="#FPATH#" name="FILES" action="LIST">
    <TABLE>
    <CFLOOP Query="FILES">
    <TR><TD>
    <CFIF #FILES.NAME# EQ "test.cfm">
    <A href="#FILES.NAME#"> #FILES.NAME# 
    <cfheader name="Content-Disposition" value="attachment;filename=#FILES.NAME#">
    </A>
    </CFIF>
    </TD>
    </TR>
    </CFLOOP>
    </TABLE>
    </CFOUTPUT>
    When I select the test.cfm link, a dialog box appears asking to either Save or Open the file.
    The issue is the file, test.cfm, contents is not what is being saved or displayed when Open is selected.
    Is there something I'm missing?
    Thanks,
    Mike

    I am trying to download a text file, not a cfm file.
    Mike

  • Help, files not opening correctly in Illustrator

    Hi there,
    I have a file that was originally created in CorelDrawX5 as both a dwg and pdf. I have opened both in Illustrator CS6 and they work fine.
    I then saved it as an eps and ai for my supplier to work from, they have Illustrator 10 so I made sure it was compatible to work with ver 10.  However when my supplier opens it all the letters and outlines are split up and spread out.
    Does anyone know what the issue could be?
    Thanks in advance.
    M

    Any ideas at all please?

  • 5.0 will not open, but 3.5 works fine

    i'd recently tried updating my browser to the FF with Twitter variant offered on twitter's site. but after installation the browser wouldn't open at all. it would show up on the task manager, but that was the extent of the browser's functionality. i've tried uninstalling and reinstalling 5.0 to only have the same luck.
    somehow installing 3.5 seems to have the browser working fine. but when upgrading to 3.6. .the same thing happens.
    i've tried disabling add ons and eventually uninstalling them to no avail. anything above 3.5 just will not work on this laptop.
    if there's anything you can do to help me out. ..i'd greatly appreciate it.

    Thanks for the feedback. I was able to open some PDF files on Acrobat 5 that I recently scanned at a Fed Ex office with no issue whatsoever. I could extract pages, delete pages, etc, the software Acrobat 5 worked fine.
    What I wonder is there a way I can make a change to a PDF file that will then allow me to open it in Acrobat 5? I have a gut feeling there is an adjustment that I can make in Adobe Reader after opening it that will then make the file accessible in Acrobat 5. I am playing with it but no luck thus far.

  • I develop electronic technical manuals. With new version all links to external xml files in the manual go to top of file not to designated ID. Works fine in IE.

    Links to external file in same directory does not go to proper location.
    <pre><nowiki>ex:Link
    <xref href="G00020-THRY-11-5840-390-23NP-510" inline="true" scilevel="no"
    security="uc" show="replace" title="RADAR W6" xml:link="simple"
    xrefentclass="xrefs"/>
    Destination: in G00020-THRY-11-5840-390-23NP-V-1-0-0.xml in same directory. Goes to top of this file. All similar links are defective in same manner. Does not recognize id ie.-510
    <row id="G00020-THRY-11-5840-390-23NP-510">
    <entry>
    <pcnarr>RADAR </pcnarr>
    <extref href="77A586771_REV-E.pdf" refconrevccrugenentname="null"
    refconrevgenentname="null" title="W6"/></entry>
    <entry>
    <pcnarr>77A586771P1 </pcnarr>
    </entry>
    <entry>
    <pcnarr>77A580358 SHT 2 ZONE C7 </pcnarr>
    <extref href="SCH_77A580325_REV-B.pdf" refconrevccrugenentname="null"
    refconrevgenentname="null" title="RADAR ASSEMBLY"/></entry>
    <entry>
    <pcnarr>77A580358 SHT 2 ZONE C6 </pcnarr>
    <extref href="SCH_77A580325_REV-B.pdf" refconrevccrugenentname="null"
    refconrevgenentname="null" title="RADAR ASSEMBLY"/></entry>
    <entry>
    <pcnarr>COMMS/CTRL/DISCRETES </pcnarr>
    </entry>
    <entry>
    <pcnarr>P1/A2A2J19 </pcnarr>
    </entry>
    <entry>
    <pcnarr>P2/A1J6 </pcnarr>
    </entry>
    <entry>
    <pcnarr>Point to Point : W6 connector P1 is mounted to the RPES bulkhead
    J6 on the curbside under the maintainence platform. The P2 connector
    is then routed to the AES bulkhead J19. </pcnarr>
    </entry>
    </row></nowiki></pre>

    I figured it out.
    I created the links in InDesign by making an interactive link to a file. When I open the file in Acrobat, the links work fine over the network. I burn to disk and the links no longer work.
    Problem: At some point, InDesign changes the "open file" hyperlink command in InDesign into a URL webpage request in Acrobat.
    Solution: So basically, I now have to go into the file in Acrobat and change all the buttons from "open web link" to "open file." It's only a product catalog with about 1,200 links that's due today.

  • Adobe bridge cc is not working on my mac snow leopard version 10.6.8. In other words the program will not open all other programs work fine

    Adobe bridge cc is not working on my mac snow leopard version 10.6.8. In other words the program will not open, but all other programs i have been able to open just fine

    Moving this discussion to the Bridge General Discussion forum.

  • Facebook not opening correctly in Firefox 17.0.1 in Windows 8

    Since i have installed Firefox on Windows 8 in my PC, i am not able to open Face book web site, this is the only web site which is found to be having issues with Firefox rest is ok, nowdays i am using chrome for my FB needs but would like for firefox to correct this issue. i am unable to view any thing when opening the website.
    On the bellow link you can find out the snapshot of my Firefox with FB open, this page does not load further and looks like this way only. kindly help.
    http://s9.postimage.org/rheb77b9r/image.jpg

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Trimmed Quicktime Time code Media Files not reading correctly in CS5+ (works in CS4).

    I'm using Prores footage with metadata Timecode inserted into the Quicktime file.  Then I edit the Quicktime file, click "Save" and then import the trimmed file into APP CS4.  CS4 recognizes the edited clip and displays the timecode correctly (adhearing to the trims made on the file with Quicktime).
    BUT, in CS5, when I use the SAME clips, the timecode displays what the untrimmed timecode on the trimmed image.  So now, my timecode is OFF. 
    Really want to figure out how to fix this.  Does CS6 fix this issue?  Is there a preference or custom setting I need to select in order to have CS5 adhere to the metadata stored in the Quicktime file's timcode information?
    Any help would be greatly appreciated!

    There is a difference between Save and Save As in QuickTime Player. When you Save after trimming, the trimmed data remains in the file and takes up the same amount of space as before. When you Save As, the trimmed data is not included and you end up with a smaller file.
    I don't know why CS5 is behaving differently but it's more efficient to Save As and it will solve the CS5 problem too.

Maybe you are looking for

  • How to make an interactive keynote preso like the photosynthesis keynote in Life on Earth book

    Ive asked this in the iBooks forum and got referred here.  Any thoughts?

  • RFBIBL00 No Batch Input Created after Executing

    Hello, After Executing SAP standard report - RFBIBL00, no batch input session has been created in SM35 in ECC 6.0 version. There is no error message but one message displayed as 'PRODPER not transferred.'

  • Managing LDAP groups and roles through SUN IDM

    Hi Guys, We have a requirement to build the following functionality in our Sun IDM tool. 1.     Ability to create/manage Static LDAP group. 2.     Ability to create/manage filtered LDAP group. 3.     Ability to create/manage Static LDAP roles. 4.    

  • Data Extraction From GLPCT

    Hi all, I need to extract data from <b>GLPCT</b> table from R/3. Can any one please tell me the Business content Data source, ODS and Cube to be used for extraction. This very urgent. Any help on this issue woul be highly appreciated. Regards, Manick

  • HELP photoshop to dreamweaver problems

    I put together a page in PS, I opened in web setting, put the images on, sliced it up and saved it for web and devices as  an html. But then when I opened it in DW it was just loads of empty squares... any idea why? 1. photoshop 2. Dreamweaver