Problems editing static file

I've uploaded a static file and have encountered some problems when trying to edit it.
1. The help text for both "Mime type:" and "File:" says "Identifies file name." No big deal, but why have help text if it's incorrect?
2. HTML DB reports the size of my file to be 1677 and the information region on the edit page says that files up 30,000 bytes can be edited; however, instead of allowing me to edit the file, I get this error message: "This text file is too large to edit. To change the content, you must edit the file on your local machine and upload it again." Which statement am I to believe? I suspect the error message is an error since the MIME type of the file is application/x-javascript rather than the TEXT MIME type indicated in the information region.
3. If, in fact, the reason that I cannot edit the file is that it doesn't have a TEXT MIME type, can the list of editable MIME types be extended to include application/x-javascript?
4. The browser isn't necessarily going to get the MIME type right during the upload. There even seems to be some controversy about the correct type to use for javascript. Can the MIME type itself be made editable?
Thanks.
Rodney

Rodney -
I have experienced the same problems. I've just had to learn to edit both CSS and Javascript files on my local machine and then re-upload them to HTMLDB. I am hoping in the next release of HTMLDB that this is resolved.
I've discussed some of these types of issues in a survey and have had some follow-up with that as well. That is why I hope this will be resolved in the next release.
Unfortunately, I don't think there is an immediate resolution or fix to the problems you are experiencing except to just deal with editing the files on your local machine and go through the arduous steps to reload it.
James

Similar Messages

  • Editing static files - changes not recognized by Application

    I've uploaded a txt file into the static files area of my application, and I'm able to refer to the functions within it. They're working great. Now I'd like to be able to modify one of those functions.
    Under Shared Components > Static Files, I click to open the existing static file. I make a change to the file and click Apply Changes. It's a very simple change: one of the functions returns hex code #FFFF00 (yellow), and I changed it to return #FF0000 (red).
    I log in to the application, make a change to a field that should fire the color function. Yes indeed, that function DOES fire. Unfortunately, it produces the OLD result - I'm still seeing a yellow field.
    However, if I delete the static file and upload it again, I get red as expected.
    Am I doing something wrong, or missing a step to "activate" the changes that I make online?
    Apex 4.1.1.00.21, on apex.oracle.com.

    Excellent, Scott. Thank you for the corroboration. Your mention of the "run time user" led me to a partial workaround.
    I think I've discovered that the problem is in the browser cache. Although it appears that the change to the static file is taking effect immediately as far as APEX is concerned, the browser is caching the information from the static file, and therefore any changes to that static file are being ignored. Simply closing the browser and coming back in is not enough. Nothing short of clearing the browser's cache of Temporary Internet Files seems to help.
    I'm able to easily reproduce this with multilple tabs in a single browser session as well, without even involving a run-time user.
    (1) open a browser (IE or Firefox) and connect to the APEX application. Note the current behavior of the affected object(s).
    (2) open another browser tab pointing to Shared Components > Static Files
    (3) apply a change to the static file;
    (4) clear the browser cache as follows:
          Internet Explorer: Delete Browsing History > Temporary Internet Files
          Firefox: Clear Recent History > cache
    (5) return to the first tab and refresh the browser page
    Although I don't particularly like this "answer", it seems that the problem isn't with Apex, so I'll say that my question has been answered.
    Helpful points for Scott.

  • Problem editing .mov files in CS6

    Hi Adobe folk,
    I've uploaded .mov files from my Canon 7D camera onto Adobe Premiere CS6, but after doing some editing the footage in the playback screen is very jerky/slow. I'm working on a brand new iMac OSX and have a RAM of 4GB, so I have no idea why the playback would be so slow.
    It's an urgent project that I'm working on, so any solutions would be much appreciated.
    Thanks :-)

    All .mov files aren't the same thing though. Quicktime/.mov files are just the "container" for the actual "codec" the codec is what determines basically everything other than the file extension itself anyways. Basically the type of .mov file you're attempting to edit is using the h.264 codec, which is a codec that puts a TON of strain on your CPU. Converting the files to ProRes would make playback better, but will produce huge files, and if you start stacking several layers of video on top of each other it will start to playback in a choppy manor, because you're not using a RAID array.  In this case I don't think the RAM will help that much, although it should make your overall experince much better.
    Although how many layers of video are you attempting to edit on the same track and what effects are you using? Because your system should be able to at least playback a single video clip inside Premiere without issue.
    Although once you post what the resolution is I'll be able to recommend what codec to use, because for certain resolutions some codecs tend to become more efficient than others. But basically unless you have FCP on your machine you can't convert to ProRes, however if you don't have final cut no worries because you can use the Cineform codec which is just as good as ProRes. The cineform codec is also free now days which is great.  But honestly I think that most likely you're going to need to transcode the footage to a ligher codec, basically you don't need to worry about files being too big because, even though it seems like a smaller file would be easier for your machine to handle it's actually quite the opposite unless you start hitting a HDD bottleneck. Which won't happen in most cases, (depending on resolution etc though or unelss the video is totally uncompressed HD).
    Here is the basic reason why the less compressed a video clip is the easier you can edit the file without strain on the CPU. Video clips that use "GOP's" or Group of Pictures use
    I - frames
    B - frames
    P - frames        (With mpeg-1 there is also D-frames but it's not used anymore to my knowledge)
    Anyways though when your CPU plays back a h.264 clip it has to decode the video which the longer the GOP is the harder your CPU has to work, and in general H.264 footage is almost always GOP because it's so heavily compressed. Unless it's I-frame only. Because basically the further the I-frames are from each other the harder your cpu must work to decode it. When dealing with footage that is much less compressed though you're CPU is basically free to process other stuff such as heavy CC or other effects.

  • Problem editing hosts file in Snow Leopard

    I am having trouble editing my hosts file in Snow Leopard. Well, I can edit it fine, but the changes seem to give no effect whatsoever.
    My hosts file looks like so:
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
    127.0.0.1 localhost www.localhost.com
    I cannot access localhost by entering '127.0.0.1' into my browser, nor can I access it by entering 'www.localhost.com'.
    Firefox simply tells me either 'Unable to Connect' or 'The Connection was reset', respectively.
    Is there something I am doing wrong?? I have been looking all over the internet all week and cannot see what I might be missing!
    The only way I can connect to localhost is by visiting 'http://localhost:8888/'.
    If it helps, I am running MAMP.
    Thanks to anyone who can help.

    Never mind, I found out MAMP was using port 8888 instead of 80, so I reset it and now it works fine

  • Problem editing .mts files

    When I try to edit my .mts video files in Premiere Elements 12, I feel like the hd quality of the videos is lost. Sound is great and the image doesn't lag, but it still looks quite fuzzy. Will I recover the quality when I finish my movie?

    janlubs
    A lot more details needed to be included for us to help you.
    What computer operating system is your Premiere Elements 12 running on?
    Then the other usual questions, to get them out of the way,
    a. do you have the latest version of QuickTime installed on your computer with Premiere Elements 12?
    b. are you running the program as Run As Administrator or from a User Account with Administrative Privileges?
    c. do you have the latest video card driver version according to the manufacturer of that video card.
    Then we get to the project itself and its setup, importing of media, and export.
    a. What are the properties of your source media...video and audio compressions, frame size, frame rate, interlaced or progressive frame rate, duration, etc to go along with your .mts file extension?
    b. What are you or the program setting for the project preset so that the project preset matches the properties of the source media?
    c. What is your export choice and how are you viewing the export?
    a. Share/......., preset, and export settings under the Advanced Button/Video Tab?
    Is your computer optimized? Do you multitask while editing and exporting a Premiere Elements project? What does the rendered Timeline look like in the Edit Mode monitor before you export your video?
    Let us start here and then decide what next.
    Thanks. Looking forward to your follow up.
    ATR

  • Using Publisher 2013 problem editting 2010 files with border

    Hi guys,
    Wondering if you could help. We have files created in Publisher 2010. I can choose any part of the document and edit.
    If I open the same document in publisher 2013, if click on the document it highlights the whole thing and I can't choose individual items. Only way to edit any of the document is to remove borders. Was wondering if it was supposed to work this way or the
    original document was created wrong somehow? Same document opens in 2010 andi  can edit everything right away so it's a small annoyance.
    Any ideas/suggestions?
    Thanks

    Hi,
    Is this issue specific to a single file?
    I'm not able to reproduce this issue: I created a publisher document in Publisher 2010, and opened it in Publisher 2013, I could choose any individual items.
    In case I misunderstood anything, please share a file that you created in Publisher 2010 and has the issue. To protect your private information, you can send the file to our email address:
    [email protected]
    Please add the URL of this thread in the email for easy trace.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Problem editing converted files

    Why can't I edit my converted PDF file?

    Hi Devon,
    What file did you convert your PDF into? What was the file prior to it becoming a PDF? A scanned copy or original?
    I'd like to assist!
    Looking forward to hearing back from you.
    Regards, Stacy

  • How to import "static files" into HTMLDB 2.0

    Hello!
    I have a problem with "static files" in HTMLDB 2.0.
    First i exported the "static files" from a workspace.
    the result is a ".sql" file.
    now i want to import this file into another workspace.
    but in HTMLDB theres no option to import "static files".
    Hope someone could help me to solve this problem!
    Best regards
    Bastian

    Bastian - Sorry, that facility is not in 2.0. You'll have to import static files into the new workspace individually.
    Scott

  • Problems with import of static files/images

    I have a series of static files (such as jquery/jquery ui libraries) that we have been storing in WORKSPACE_IMAGES. We had hoped to be able to export the static files and use our automated build process to import the files via sqlplus. However, I have run into problems with the files being "corrupted"...either they don't show up at all in firebug, or one file contains parts of another file, rendering it useless. If I delete these files and re-upload them separately through the builder, then I don't have any problems.
    I can only assume there is some perhaps special character or some other issue that I'm not aware of either during the export process or the import process.
    My first preference would be to store these files on the app server, but unfortunately that's not on the table at the moment.
    Any ideas what would be causing the issues here?
    Any help would be appreciated.
    Thanks in advance
    Jeff

    Hello all,
    This is an old thread, but it's an old problem that I'm concerned may still be continuing.
    We're moving from 3.2 to 4.1. While copying our applications from 3.2 to a test 4.1 installation, we did a static file export for "All static files" from 3.2 and did an import to 4.1. We're seeing the same behavior that I and others have reported in the past - any static files that are javascript are corrupted when "all static files" was chosen. Exporting/importing each javascript static file individually appears to work fine.
    If the bug was in 3.2 in that it was generating a corrupted export file when "all static files" is chosen, then I'm not concerned - we're moving from 3.2 anyway. But, if the issue is in the import then it must still exist in 4.1 and that would be a concern.
    Does anyone know if this was a recognized bug in 3.2 and has since been corrected?
    Thanks!
    John

  • Embeding Uploaded PDF Static Files - Problems

    Good morning all.
    I have an application where users enter details and need to read through a selection of documents depending on what details they entered. I have uploaded 5 documents to my Apex server and used the following code to embed them inline (within the HTML itself)
    <EMBED
    SRC="http://server_name:7777/pls/apex/wwv_flow_file_mgr.get_file?p_security_group_id=824213546944709&p_fname=file1.PDF&p_inline=NO"
    HEIGHT=500 WIDTH=800>This code was taken from the links on the Shared Components -> Static Files page in the Application builder
    This all worked file on my development server, all the documents were displaying inline with the HTML document (Example - http://www.planetpdf.com/mainpage.asp?webpageid=1682 Example #1)
    However, I realised one of the documents being displayed was wrong - file 1 was showing instead of file 2. I had embeded the wrong file in the page. So I just changed the &p_fname to file2.pdf. When I ran the page, all the other embeded documents were working fine, but the recently updated one was popping out of the window, and the region where I embeded the file was blank.
    Now, I just exported my application to a new server for testing, and have had to change all the embeded regions to point to the newly uploaded files on the new server. None of these now show anything. They either show the little picture icon (red square, blue circle, red triangle) if I include the &p_inline=YES code, the same icon if I say &p_inline=NO instead, or if I drop this argument, the entire region is blank, and the Adobe PDF icon displays streched across the region after a new seconds.
    Any hints?
    Cheers,
    Kate

    Thanks for that Denes.
    I just have one question - the source for your XML Report region shows the following code
    DECLARE
       v   VARCHAR2 (200);
    BEGIN
       v :=
             'SELECT '
          || '''<iframe src="#OWNER#.File_Table_Disp_Pr?p_file='
          || 2967670122524254593
          || '"'
          || ' height="880" width="600"></iframe>'''
          || ' document_display'
          || ' FROM DUAL';
       RETURN v;
    END;The "2967670122524254593" refers to that file that was uploaded, yes? How do I find this number for my uploaded documents? I think it was a table somewhere, but I can't for the life of me remember which one.
    Update: I found it - apex_applcation_files. I should just be able to insert the ID of the document I want in there, yes? I copied my document ID number (select id from apex_application_files) but the document is 404'ing on me.
    help?

  • Editing Zip File Problem

    Hi All
    I want to write a program to edit an entity in a zip file
    When I tried to use java.util.zip.ZipFile I didn�t find way to do that, so if anybody have a way to do that please tell me as fast as possible
    Thank you,
    Best regards,
    Nageh M. El Gendy

    You can't "edit" zip files. You have to re-create the ZIP to contain the entries you want.

  • Not able to access files from Workspace Images and Static files

    Hi,
    We have just migrated our APEX Application from one server to another.
    All the functionality is working fine except the images or files which we are uploading
    in
    Shared Components -> Static Files
    Shared Components -> Images
    We are uloading Images in Shared Components -> Images but those are not getting displayed there.
    Similarly the files which we are uploaded in Shared Components -> Static Files are not accessible. If we
    try to download using download icon its showing blank screen.
    I am using some javascript files which i have uploaded into static files, but not able to refer them in page.
    Please someone guide us how to resolve the above problem.
    Thanks in advance.
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on May 25, 2010 1:35 AM
    Edited by: user11204334 on May 25, 2010 3:45 AM

    Hello Sanjay,
    If you upload any static files such as IMAGES, FILES, or CSS you have to use the tags: #WORKSPACE_IMAGES# or #IMAGE_PREFIX# depending on your files location..
    then try something like htp.p ('<img src="#IMAGE_PREFIX#fileName.gif" />');
    And it should show the fileName.gif on your browser...
    I am not sure if i remember correctly, you can reference files to a specific application or to the whole application, if I am not mistaken..Correct me..
    Regards,
    Noel Alex Makumuli,
    Tanzania

  • Static Files with same name. How does apex determine which files to serve?

    Hello, I'm using apex 4.2.1.00.08 and I cannot figure out how apex manages the static files and cannot find any help in the docs (other that some high level UI description).
    The application is serving some file and I cannot find which one it is in any easy way.
    I have a workspace where there are several files that have the same name, and I cannot understand how apex figures out which one to serve, and also don't understand what is value of associating a file with an application.
    There are files associated with application 0, which don't appear to show up in the "shared components", but can be seen as
    SELECT *
    FROM wwv_flow_files
    WHERE flow_id = 0;
    and can apparently only be deleted using "SQL Commands" inside apex.
    the URL called is something like
    wwv_flow_file_mgr.get_file?p_security_group_id=13498126233076320&p_fname=myfile.css
    so apparently the only parameters that matter are the workspace and the file name. The associated application is irrelevant.
    apparently files linked to flow_id 0 have precedence over all the other files ...
    Thanks for clearing up a bit of "fog" on this issue.

    VC wrote:
    Go to that application > shared components > Static files you should see the file.the problem is that there are multiple files with that name, and that sometimes the file being served is linked to application "0" and it doesn't show in the "shared components" interface ...
    I have a workspace where there are several files that have the same name, and I cannot understand how apex figures out which one to serve, and also don't understand what is value of associating a file with an application.Static files can be uploaded to apex with optionally associating with an application within that workspace.
    Files associated with an application are referenced using *#APP_IMAGES#*
    Files not associated with an application are referenced using *#WORKSPACE_IMAGES#*I referenced with #WORKSPACE_IMAGES#, but now I see that if I use #APP_IMAGES# the URL generated will also contain the application ID. This would help to discriminate between different files with the same name but linked to different applications ...
    There are files associated with application 0, which don't appear to show up in the "shared components", but can be seen asWhy are you particularly interested in application 0?Because somehow APEX puts the files that I uploaded there ... they can be seen selecting from wwv_flow_files. Do they take precedence over all other files with the same name?
    Filename is unique for the given workspace[and application]I disagree. I have multiple files with the same name ... the root of this problem ...
    so apparently the only parameters that matter are the workspace and the file name. The associated application is irrelevant.How is your static file referenced??
    But not always, try associating an static file with and application and reference it using #APP_IMAGES# instead of #WORKSPACE_IMAGES#
    See
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm#BEIDCGAJ
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/ui_file_manage.htm#HTMDB06011
    Thanks, but the documentation doesn't give much details ... apparently files referenced with #WORKSPACE_IMAGES# can still resolve to files linked to specific applications ... I would like to understand the actual workflow for the various cases (file references with APP_IMAGES, referenced with WORKSPACE_IMAGES, file associated with the application, with another application, with no application, with application "0" ...).
    Also, I find it somewhat misleading that you can have files associate with applications that don't exist anymore (e.g. have been deleted).
    Edited by: GChierico on Apr 11, 2013 2:16 PM

  • [BUG] Performance Issue When Editing Large FIles

    Are other people experiencing this on the latest JDevelopers (11.1.1.4.0 and the version before it) ?
    People in the office have been experiencing extremely slow performance happening seemingly at random while editing Java files. We have been using JDev for almost 10 years and this has only become an issue for us recently. Typically we only use the Java editing and the database functionality in JDev.
    I have always felt that the issue has been related to network traffic created by Clearcase and have never really paid attention, but a few days ago after upgrading to the latest version of JDev, for the first time I started having slowdowns that are affecting my speed of work and decided to look into it,
    The main symptom is the editor hanging for an unknown reason in the middle of typing a line (even in a comment) or immediately after hitting the carriage return. All PCs in the office have 2Gig or more RAM and are well within recommended spec.
    I've been experimenting for a few days to try and determine what exactly is at the root of the slowness. Among the things I have tried:
    o cutting Clearcase out of the equation; not using it for the project filesystem; not connectiing to it in JDev
    o Not using any features other than Java editing in JDev (no database connections)
    o never using split panes for side by side editing
    o downloading the light version of JDev
    o Increasing speed of all pop-ups/dynamic helpers to maximum in the options
    o disabling as many helpers and automations as possible in the options
    None of these have helped. Momentary freezes of 3-5 seconds while editing are common. My basic test case is simply to move the cursor from one line to another and to type a simple one-line comment that takes up most of the line. I get the freeze most usually right after typing the "//" to open the comment - it happens almost 100% of the time.
    I have however noticed a link to the file size/complexity.
    If I perform my tests on a small/medium sized file of about 1000 lines (20-30 methods) performance is always excellent.
    If I perform my test on one of our larger files 10000 lines ( more than 100 methods) the freezes while editing almost always occur.
    It looks like there is some processor intensive stuff going on (which cannot be turned off via the options panel) which is taking control of the code editor and not completing in a reasonable amount of time on large Java files. I have a suspicion that it's somehow related to the gutter on the right hand side which show little red and yellow marks for run-time reports of compile errors and warnings and haven't found any way to disable it so I can check.

    Just a small follow-up....
    It looks like the problem is happening on only a single Java file in our product! Unfortunately it happens to be the largest and most often updated file in the project.
    I'm still poking around to figure out why JDev is choking consistently on this one particular file and not on any of the others. The size/complexity is not much bigger than the next largest which can be edited without problems. The problem file is a little unusual in that it contains a large number of static functions and members.
    Nice little mystery to solve.

  • Static Files Bug?

    I've noticed that deleting a static file from Shared Components doesn't actually remove the file from the files table.
    When running :
    SELECT * FROM APEX_WORKSPACE_FILES WHERE FILE_NAME LIKE 'bulk_import_%'
    I see a series of old files that have been 'deleted'.
    This is a problem because the 'Static Files' page shows the last record, but the download and edit links give you the first record.
    This prevents you from updating a file with the same file name. If you do the old file is the one you get when you try to download it.
    You can upload a new file with a new file but then you have to update every single link you have to that file.
    Is this a known bug? I've tried searching metalink but didn't find anything useful.
    Any tips would be appreciated.
    Matt

    Matt,
    I also encountered the same issue. I think, it is a bug.
    Regards, Tamas

Maybe you are looking for

  • How to set up two iphones on same computer

    I'm trying to set up a second Iphone on my computer.  When I try to download music, it has information from my first Iphone.  How do I set up a second Iphone?  I've created all the accounts I can think of but it's like it doesn't recognize my second

  • HP 6500 all in one not printing in black and cartridge is full

    my printer suddenly stopped printing in black, all other colors come out fine.  The carriage moves as though it is printing, but the page is blank, where black text should be.  I have cleaned and aligned the print heads several times.  This occurred

  • Do you need anti virus software for mac book pro

    Is it true that the new mac book pro computers are now more susceptable to virus attacks and malware then the Mac books made  5 years ago. If this is true what is being recommended to protect your mac book pro? thank you

  • Query to to know user is logged in

    Hi i am new to OAF and EBS development. i need to quey apps db whether user is logged in or not? Can any one help how we query it?

  • R12 Sourcing Award Approval (PONAWAPR)  Workflow Issue

    Hi, We are implementing R12.1.3 Financial and Procurement currently at client site. We modified Sourcing Award Approval workflow to remove "Forward" button. Tested in various Instance, its working fine. But recently we created another instance which