Why does Dreamweaver makes files?

Often, when I edit a file, Dreamweaver makes a copy with strange a name, for example "index_8EFYZ3AS8L.php" when I edit index.php, Why????????

Are you testing the pages in a browser? I would expect you are...
DW has an option in its preferences to create and use a temporary file for testing; switch that off.
Preferences --> Preview in browser --> Preview using temporary file

Similar Messages

  • Why does AddWatermark make file so big?

    I have created a 600 x 253 72 dpi gif file.  It is only 36kb in size.  When I take a 7 page 220kb PDF file and do a cfpdf action="addwatermark" to the file, it grows from 220kb to a whopping 1.3 MB!
    Strangely enough, if I open the same file in Adobe Acrobat Professional and manually add the exact same gif file as a watermark to the exact same PDF file, the result file actually got SMALLER!?!?!
    You don't believe me?  Try it yourself.
    Image file: https://www.calcerts.com/images/logo_main_watermark_color.gif
    Original PDF: https://www.calcerts.com/BB4031.pdf
    PDF File after doing a simple addwatermark: https://www.calcerts.com/BB4031_WTF.pdf
    PDF File if I add the image as a watermark in Adobe Acrobat Professional 8: https://www.calcerts.com/BB4031_AdobeWatermarked.pdf
    The code I used was this:
    <cfpdf action="addwatermark"
      source="d:\BB4031.pdf"
      destination="d:\BB4031_WTF.pdf"
      image="D:\images\logo_main_watermark_color.gif"
      opacity = 2
      foreground = "yes"
      rotation = 0
      showonprint = "yes"
      overwrite="yes"
      position = "0,250"
      >

    rotflmao!!!
    ok, Qui-Gon.....  Teach a man to fish, and that sort of thing, right?
    I found the Page Number footer code in the CFC, did not think to look there.  I thought it would have been in the CFM.  So that's done, thanks.
    I added (and modified) the footer info into the Watermark example:
    --WATERMARK CODE WORKS, SO I WON'T WASTE YOUR TIME POSTING THAT--
    //add the javaloader dynamic proxy library (and my iText jar) to the javaloader
    libpaths = [];
    arrayAppend(libpaths, expandPath("/CustCFX/javaLoader/support/cfcdynamicproxy/lib/cfcdynamicproxy.jar"));
    arrayAppend(libpaths, expandPath("/CustCFX/javaLoader/itext/iText-2.1.7.jar") );
    //we HAVE to load the ColdFusion class path to use the dynamic proxy, as it uses ColdFusion's classes
    loader = createObject("component", "CustCFX.javaLoader.JavaLoader").init(loadPaths=libpaths, loadColdFusionClassPath=true);
    //initialize the building blocks used by the custom page handler 
    textColor = loader.create("java.awt.Color").decode( "##000000" );
    BaseFont = loader.create("com.lowagie.text.pdf.BaseFont");
    textFont = BaseFont.createFont(BaseFont.COURIER, BaseFont.WINANSI, BaseFont.EMBEDDED);
    //intialize the page event handler component 
    eventHandler = createObject("component", "CustCFX.betterPdfPageEventHandler.PdfPageEventHandler").init( font=textFont, fontSize=8, textColor=textColor);
    eventHandler.setFooterText( "My Cool Footer - The Force is with ME!!!");
    //we can pass in an array of strings which name all the interfaces we want out dynamic proxy to implement
    interfaces = ["com.lowagie.text.pdf.PdfPageEvent"];
    //get a reference to the dynamic proxy class
    CFCDynamicProxy = loader.create("com.compoundtheory.coldfusion.cfc.CFCDynamicProxy");
    // create a proxy that we will pass to the iText writer
    eventHandlerProxy = CFCDynamicProxy.createInstance(eventHandler, interfaces);
    // adding content to each page 
    i = 0; 
    while (i LT totalPages) { 
       i = i + 1; 
       // Prepare to place image on OVERcontent 
       content = pdfStamper.getOverContent( javacast("int", i) ); 
       // Only needed if you are changing the opacity, blending, etcetera .. 
       content.setGState(gState); 
       // Center the watermark. Note - using deprecated methods for CF8/iText 1.4 compatability 
       rectangle = pdfStamper.getReader().getPageSizeWithRotation( javacast("int", i) ); 
       x = rectangle.left() + (rectangle.width() - img.plainWidth()) / 2; 
       y = rectangle.bottom() + (rectangle.height() - img.plainHeight()) / 2; 
       img.setAbsolutePosition(x, y); 
       content.addImage(img);
       content.saveState();
       content.beginText();
       NOW WHAT?!?!
    I tried: content.setPageEvent( eventHandlerProxy ); like in the Footer example, but that errored out.  I understand what is SUPPOSED to happen here, but I am not getting the syntax.  At this point, I need to apply the eventHandler to the content.  But what everything I have tried has errored out.
    One thing that I have learned is that syntax is EVERYTHING with script (that's why I love ColdFusion so much, it's much more foregiving for us non-purebread programmers. 
    so once I hvae initiate the beginText, what is the syntax for applying the eventHandler to content?

  • Why does Dreamweaver upload a blank page when i "put" a .php or .html file that I just edited. It's

    Why does Dreamweaver upload a blank page when i "put" a .php or .html file that I just edited. It's like Dreamweaver isn't putting the complete file. So when i check my work (refresh the page), it is now blank. This happens about 50 percent of the time and can occur with any of the websites I maintain. (If I pull out my macbookpro, i can edit and upload the page, but the screen is smaller and i would rather be at my desktop). I am using CS5 on a MacPro, operating system 10.7.5.

    I've never heard of that type of error before. If it were happening to me, here are a few things I would do...
    Verify it's DW
         Download Filezilla (free and very nice in reality) and make sure it uploads correctly from there to rule out connection issues
    Rebuild Site Cache
         From the Files window of your site, click the menu and go to Site > Recreate Site Cache
    Delete DW File Cache
         If the above does nothing, I'd kill my DW Cache File: http://forums.adobe.com/thread/494811
    Uninstall, clean, reinstall
         Uninstall the program, use the cleaner tool here: http://www.adobe.com/support/contact/cscleanertool.html to kill everything (Adobe leaves behind things that are picked up again in a normal uninstall/reinstall) then reinstall it.

  • Why does C:\Program Files (x86)\Hewlett-Packard\IAM\Bin\asghost.exe run continually at almost 50% CPU use whenever Firefox is started

    Every time I start Firefox 8.0 the following programs runs continuously, i.e. Why does C:\Program Files (x86)\Hewlett-Packard\IAM\Bin\asghost.exe run continually at almost 50% CPU use whenever Firefox is started?

    Start your '''Computer''' in safe mode. Then start Firefox. Try '''Safe''' web sites.
    '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Starting The Computer In Safe Mode;<br>Free Online Encyclopedia]'''
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Why doesn't flash player stay installed and why does the saved file disappear.

    Why doesn't flash player stay installed and why does the saved file disappear.  I have downloaded and installed flash player several times on my Win7 Vaio laptop. I have uninstalled and deleted all versions.  I am the administrator and I have also turned off my Security Software, but the same thing keeps happening over and over.  The Java Script is enabled and I have tried both downloading via IE and firefox.  It is rediculous that it keeps disappearing and I keep getting messages that the newest version is needed.  I am downloading directly from adobe and they say it is the latest.  Getting very frustrated.  They ask if we have any problems when we go to the finish line, but there is no place for comments.  I guess they don't really care if it works or not.

    So is it actually installed, or is it not?  If not, download and run the offline installers:
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    If it still does not work correctly, check
    http://forums.adobe.com/thread/885448
    http://forums.adobe.com/thread/867968
    In Firefox also check if the Shockwave Flash plugin is enabled.

  • Why does FF save files to desktop, when I have "downloads" checked in options? This is a new issue with the latest version 3.6.3 Windows XP Thanks.

    Why does FF save files to desktop, when I have "downloads" checked in options? This is a new issue with the latest version 3.6.3 . Using Windows XP Driving me nuttier! Thanks.
    (Is is that MicroNetFrame Asst thing?)
    == This happened ==
    Every time Firefox opened
    == When I installed latest version

    Thanks for your reply. I appreciate your help.
    It was just a hunch that MircoNetFrame was causing the problem. I disabled it as you suggested, and I still have the problem.
    I just changed under Tools>Options> General - had checked "ask me every time" under downloads, so instead of asking me, FF saved the download to I know not where. It no longer saves it to the desktop, leaving a duplicate in "my documents".
    In windows, I have found unless one knows the entire name of the document, one can never find anything. It isn't listed under recent ''''''__. I can't recall the nomenclature, but the
    capability is ridiculous. So, I don't know where that file I just downloaded is!
    I downloaded a PDF file, but this happens with all DL's. It was so easy to have them all stacked in one place and I could recall
    what I had and when I downloaded it easily.
    Do you have any other suggestions other that going back to the old version of FF, which I would rather not do?
    Thanks again for your time, it is very considerate to help a complete stranger, I must say. Sounds like something I might do! Cheers!

  • Why does a PDF file created in Pages, attached to e-mail, not get sent?

    Why does a PDF file created in Pages, attached to e-mail, not get sent?  I even blank copied myself and nothing seems to have been sent.  Could it bee the size of the PDF file?

    They send for me, my test document was 3.8 MB.

  • Why does Dreamweaver load so many fonts at startup?

    On my Mac Pro I'm using Dreamweaver CS4, and FontAgent Pro for font management. When I try to close fonts I don't need or use, they seem to get re-opened whenever I open Dreamweaver; and they're fonts that aren't "web" fonts, like Big Caslon, Cochin, and Stone Sans Semi Italic. How can I tell DW that I don't want these fonts open? Does DW need them for itself?

    I guess I should have been more specific. I have many, many fonts — Open Type, Postscript, as well as True Type — all managed by FontAgent Pro. By "close", I mean deactivate in FontAgent Pro. FontAgent Pro does physically re-organize and move the System fonts out of the various Fonts folders to manage them (except for System/Library/Fonts ... it doesn't touch that folder.) And the fonts that Dreamweaver requests at startup (that are deactivated, only to be activated via FontAgent Pro's auto-activation) aren't standard system fonts, nor standard web fonts. So my question is, why does Dreamweaver need those fonts?

  • Why does the book file bloat?

    Every time I refresh (reimport) the EDD to the files of a book, the book file gets larger and larger indefinitely (which never happens to the individual fm-files).
    Okey, I can resave as mif and then resave the mif back as a .book file to get rid of that junk, but why? It's pretty annoying. Why does it bloat? What's the purpose of bloating it rather than just replacing the old structure definitions? This has been so for all versions of FM I know of.
    Regards,

    in servlet try to do somthing like
    realpath=this.getServletContext().getRealPath("/")+"path from web app root"
    if you whant to get WebInfpath try:
    String webinf_path=this.getServletContext().getRealPath("/")+"Web-inf"

  • Pre "Rendering Preview" colours are better - why does LR make it worse?

    Hi guys
    When I upload a photo for the first time and then view its larger preview for the first time. When lightroom is generating its preview, it takes a second to generate it. When it generates the preview, the colours that it generates arn't as good as the first image of the photo you see. The photo changes colour after its generating the larger preview... and the generated colours are not as  good.
    Why does this occur. In all cases the colour of the photo prior to the preview being rendered are better than the colours once it has finished generating.
    Cheers
    Anthony

    Anthony
    Ok cool that makes sense... If I didn't take the photo in landscape mode or anything like that, do I just shift it back to "Camera Faithful"...
    Yes and No. The profile is not chosen based on what you were shooting with (this only affects your JPGs), but based on the default, which is Adobe Standard (see also below). But switching it gives you another point to start your editing on.
    Also I have a fair few photos that I would like to change back from "Adobe Standard" to  "Camera Faithful" is there any way to do this on mass?
    1) To change multiple photos to a specific profile:
    In Develop:
    Set one photo to the desired profile
    Select all additional images to have the same profile in the film strip (Shift+Click or Ctrl+Click)
    Press Sync...
    Deselect all settings but Calibration
    Hit Synchronize
    2) To make a certain profile default for all imports for a specific camera type:
    Set one photo to the desired profile (do not alter any other parameters, as they will be set as default also)
    Press Alt and click on Set Default ...
    Hit Update to Current Settings
    Note: The Defaults set this way are valid for imports for a specific Camera Model, limited to  a Camera Serial-No. and/or ISO Setting, depending on your settings in Preferences/Presets.
    Lastly, are the colour profiles better in LR 3...
    Somebody else will have to answer for this question, I think they are basically the same, but the underlying algorithm has been vastly improved. Btw, "better" is a generally a bad word when refering to camera profiles. You'll find lots of posts here regarding this subject, e.g. here.
    Beat Gossweiler
    Switzerland
    Message was edited by: b_gossweiler

  • Why does this make *nix crash ?

    why does
    :(){ :|:& };:
    make my system crash ?
    * Don`t try it if you don`t want to crash your box

    :(){:|:&};:
    can also be viewed as
    function(){
    function|function&
    Does this look more familiar? It's basically a standard bash function. The code you posted, called a forkbomb, creates a bash function called ":" which calls itself recursively twice through a pipe and sends the recursion call to the background. Basically, this causes the process to fork (or split) itself forever. This creates a huge number of processes which overrun your CPU, causing your precious computer to freeze/crash/whatever.
    Sending the second function call to the background causes the calling function to not wait until the call returns. Since there is no stop condition for this recursion, the function would wait forever allowing you to kill it and all its children with ^C. Since the recursion call is running in the background, the calling function will complete immediately making it damn near impossible to kill its child processes.
    So why call it twice? Because of the recursive call in the background, the calling process dies as soon as it makes the recursive call. Hence, if we only call it once it will always have one process replacing its parent, defeating the purpose of a forkbomb.
    What's the point? It's a denial of service attack, plain and simple.
    Various other type of forkbombs...
    Windows
    %0|%0
    -or-
    :s
    start %0
    %0|%0
    goto :s
    Perl
    fork while fork
    Haskell
    import Control.Monad
    import System.Posix.Process
    forkBomb = forever $ forkProcess forkBomb
    Python
    import os
    while True:
    os.fork()
    Ruby
    loop { fork }
    C/C++
    #include <unistd.h>
    int main(void)
    while(1)
    fork();
    return 0;
    NASM
    section .text
    global _start ;Call start
    _start:
    push byte 2 ;syscall to Linux fork
    pop eax ;set EAX argument for fork to NULL [So it works in strings]
    int 0x80 ;Execute syscall with fork & the EAX [null, above] argument
    jmp short _start ;Go back to beginning, causing a fork bomb
    Lisp
    (defmacro wabbit () ;; A program that writes code.
    (let ((fname (gentemp 'INET)))
    `(progn
    (defun ,fname () ;; Generate.
    nil)
    (wabbit))))
    (wabbit) ;; Start multiplying.
    * Disclaimer: It's not my fault if you fuck up your system trying these out.
    ** Edit: Wow... in the time it took me to write that up a crapload of people answered the question... oh well.
    Last edited by Ghost1227 (2009-06-21 14:02:55)

  • Why does JDBC make me commit a query?

    I was working with two DB2 database connections, A and B, and performed the following logic:
    Turned off AutoCommit for A and B
    Updated A
    Updated B
    Committted A
    Rolled back B
    Selected from A
    Selected from B
    Updated A
    Committed A
    Closed Connection A
    Closed Connection B
    Everything worked well until I tried to close Connection B. It threw a SQL Exception with the description "invalid transaction state". I read online that this means you are trying to close a connection with uncommitted data. It didn't make sense because the only thing I had done since rolling back was SELECT. When I tried it with a rollback or commit immediately before closing the connection, it worked. Any ideas why it would make me commit a SELECT? Is this just an unintended bug or could they have implemented it like this on purpose?

    I also first was wondering why a select should be committed.
    But also a select can cause locks that influence other connections. How, depends on the isolation level you set. For example SERIALIZABLE would block inserts by another connection that would change your retrieval in case you repeat it.
    To make the DBMS know that after your retrieval your processing of these data is done - no changes following - you must end the transaction by commit (or rollback - would be the same here since you've done no changes).

  • Why does Illustrator make you save every file 20 times or more?

    OK I exaggerate, but really, saving 3-4 times over and over is quite annoying...

    Tom:
    What you are referring to is when you save a file for the first time. I used to think "what the hey?" until I figured out why it does what it does...
    When you go to save, you type in the file name, but without appending the extension, because you're used to the program doing this, right? Try typing the extension on the end and hit save, it will skip a step, adding the extension is all Illustrator does the first click.
    The second main dialog window gathers all the pertinent info you want to save with the file, so that is kinda important.
    What more do you want?

  • Why does Aperture make D7000 RAW files Dark????????

    Okay, i've been through a million different ways - files look GREAT, then you load them into Aperture and they look like sh*t.
    And i finally figured out a way to PROVE that Aperture is screwing up my files! Here's what I did:
    Transfered original RAW files from my Nikon D7000 to a folder on a hard drive.
    1. Photo Mechanic: Loaded a RAW file into photo mechanic, it looked nice - exactly like it looked on my camera screen, did absolute nothing to it, exported it as a JPG. It came out looking NICE! Nice soft colors, lots of subtleties, beautiful. Could be a little sharper, but I wanted to make absolutely NO adjustments - since the test was for overall color and image quality.
    2. Aperture: Loaded the exact same original RAW file into Aperture and it looked like crap! DARK, muddy, all the subtletiy is lost. I did Nothing to adjust it, exported it as a high quality JPG - it came out DARK and muddy. Ugly!
    ***????? So annoying!!! This happens over and over and over again.
    It's YOU Aperture! Not me!! Not my files! Not my camera - which i've brought back to get checked countless times to see if something was wrong with the camera.
    It's really annoying. You have to fix it! There are countless comments online about this same problem. FIX IT!!!!!!!
    If you email me i'll attach the two sample files. I did NOTHING to adjust either of them in either program. This is just the crappy dark garbage that Aperture generates from perfectly beautiful RAW files from Nikon D7000 cameras.
    - please respond.

    What happens if, as an experiment, you use Adobe DNG Converter to convert one of the D7000's NEFs into a DNG? Same result?

  • Why does Dreamweaver open a "temp" file?

    I recently installed Studio 8, and now when I open an
    existing html file, for example "index.html," Dreamweaver opens it
    and calls it "INDEX~1.HTM". I then have to do a "save as" in order
    to get it back to "index.html" as the filename. Any suggestions???
    THANKS in advance!

    PREFERENCES | Preview in Browser - are temp files enabled?
    This is a good
    thing. And you DEFINITELY don't want to save the previews.
    When you
    preview (with temp files enabled) you do not have to save
    anything.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "pizza-n-beer" <[email protected]> wrote in
    message
    news:e3oka0$3tr$[email protected]..
    >I recently installed Studio 8, and now when I open an
    existing html file,
    >for
    > example "index.html," Dreamweaver opens it and calls it
    "INDEX~1.HTM". I
    > then
    > have to do a "save as" in order to get it back to
    "index.html" as the
    > filename.
    > Any suggestions??? THANKS in advance!
    >

Maybe you are looking for