[Bug] Disappearing Code

Since upgrading to Flash CC my colleagues and I have noticed several isntances of code disappearing. We would write code in the FLA on the timeline, save, export, and see the movie working only to be scolded by QA an hour later saying we didn't do any work! We then return to the FLA to find missing blocks of code. Perhaps there is some issue with FLA saving in Flash CC x64? Or perhaps the new code editor (which still lags, I was hoping the new Flash could finally pull of a text editor without lag with reliable code completion) just randomly loses things?

Yes, we are upgrading old CS6 projects. However all of the projects I've done in CC so far have been AS3. In some cases, we are even sharing projects between folks that still use CS6 and have noticed that movieclips containing groups of more movie clips do not port back too well but otherwise haven't had many problems.
Both times my code disappeared though I was the only one who had touched the FLA all day and only used CC and it happened at some point in the middle of development. What I found most intriguing is that it hasn't yet removed code that caused an error. It is usually like we write a for loop like so:
for(...) {
     // some code
and occaisionally // some code will disappear but both the for loop and any code before and after will remain intact. My guess is that is related to saving or marking a file as saved. Perhaps I hit ctrl+s and the close the project and it lets me because the asterisk has disappeared but it was not yet complete. I had another save related bug in CS6 where for a couple months I would need to save twice in order to get the asterisk to go away every time and then one week it just started having to only save once again after no update. This happens on Windows 7 x64 by the way. I haven't had the chance to install Flash CC at home on my Windows 8.1 PC yet.

Similar Messages

  • Help! Dreamweaver CS6 bug makes code disappear!

    I manage a dozen or so very stable websites in DW. Yesterday when I went to edit one, all the text was gone! I was able to workaround by pasting fresh text in Design mode from the web page. Today it's happening with another site. Both these sites have templates with editable regions.  It's not happening in all of my sites, nor on every page of the affected ones.
    Here's an example.
    The web page:
    The file:
    It's so bizarre! Any ideas?

    #1 If you're using a Mac with Mavericks, disable your system's "Dictation & Speech Recognition" features.
    #2  Validate code and fix reported errors.
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    #3 When DW starts acting weird for no other reason, the first thing to try is Deleting Corrupted Cache in DW
    http://forums.adobe.com/thread/494811
    #4  If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Nancy O.

  • WIKI Editor Bug with Code Blocks!

    This is a reminder of a problem that was talked lot of time and still an issue!
    For example this thread:
    http://social.technet.microsoft.com/Forums/en-US/8645bd04-474a-468f-8c0f-0f8678689437/code-block-edit-bug?forum=reportabug
    and Here is a new image to show the problem again:
    >> In the left you can see there is a code block without style formatting! The format messed up.
    looking at the HTML code we can notice the problem!
    All the style properties in regarding the code blocks disappeared
    1. the main div should be like this:
    <div class="reCodeBlock" style="border:1px solid #7f9db9;width:97%;overflow-y:auto;">
    but it become like this:
    <div class="reCodeBlock">
    each line in the code in in DIV and should be:
    <div style="background-color:#ffffff;">
    but it become:
    <div>
    >> I took a screenshot of the bug and I will take another screenshot in moment after I will fix it
    [Personal Site] [Blog] [Facebook]

    Is this the color problem, where all colors (not just in code) that are specified in the HTML with RGB values (decimal or hex) are lost when the article is saved in certain browsers? If so, we have found that even after the article is "fixed", if it
    is later saved in certain browers it will be broken again.
    I thought the fix was to replace all RGB values with standard color names. However, when the article is later saved, the standard color names can get converted back to RGB values, which get lost after another save (in the wrong browser). If this is the issue,
    it has been known for some time, but gets complicated and difficult to understand fully. It is believed that using Firefox or Chrome avoids the problem, but if someone later edits the article in IE, no matter how minor the edit, the colors can still be
    lost.
    Richard Mueller - MVP Directory Services

  • Bug in Code View font spacing - very annoying...

    Hello,
    I encounter a really annoying bug in the last version of Dreamweaver CC. The font in Code View is too spaced in the new version...
    See below for screenshots from CS6 and CC to see the difference.
    I'm using the font Courier New 9pt in both version...
    Please advise.
    Screenshots.
    Dreamweaver CS6
    Dreamweaver CC - Notice the font spacing

    I've managed to change the font to "Source Code Pro" in the Regeditor here: HKEY_CURRENT_USER\Software\Adobe\Dreamweaver CC\Font Preferences.
    Style, the font is not as good as it was with Courier New... And Courier New is not working... I'm looking to have a normal Courier New in CC... Or at least anothe similar font... Not light as Source Code Pro...
    Thanks
    See screenshots below:
    Source Code Pro In CC
    Courier New in CS6
    Courier New in CC..

  • BUG: JDeveloper code editor shows valid static import call as error

    I've noticed what appears to be a bug in the JDeveloper code validator when dealing with static imports.
    The following classes demonstrate the problem:
    package test;
    public class Parent {
      public static void parentMethod() {
        System.out.println("called parentMethod.");
    package test;
    public class Child extends Parent {
      public static void childMethod() {
        System.out.println("called childMethod.");
    package test;
    import static test.Child.*;
    public class StaticInheritanceTest {
      public static void main(String[] args) {
        Child.childMethod();
        Child.parentMethod();
        childMethod();
        parentMethod();  //<-- this line is highlighted as an error
    }Notice how on lines 7 and 8 of StaticInheritanceTest, the code validator does recognise that both parentMethod and childMethod are static methods of the Child class.
    Since 'Child' has been statically imported, then parentMethod should be available. Although parentMethod is presented as an 'auto-suggest' at line 11 in StaticInheritanceTest, when you try to call it the code editor shows the call as an error and the Ctrl-Click (to drill down into the method) doesn't work.
    When I run the class, it compiles successfully and runs with the following output:
    called childMethod.
    called parentMethod.
    called childMethod.
    called parentMethod.This might seem like an obscure and theoretical problem, but I've hit this whilst using Mockito, which uses exactly this kind of inherited static method to provide matchers.

    Hi,
    thanks. Will file a bug. This seems to be a designtime only issue that does not present a show stopper.
    Frank

  • Bug with code folding margin

    Hi all.
    I'm using SQL Developer 3.1.07.42 for win32, windows 7.
    Not sure but probably bug - Tools|Preferences|Code Editor|Display|Show Code Folding Margin works only for current worksheet.
    If I open any another worksheet (no matter unshared it or not) this margin comes up even if checkbox Show Code Folding Margin is unchecked.
    Is it bug or feature?

    I can reproduce it, but I'm not sure where the bug lies.
    The worksheet and the code editor aren't the same (perhaps they should be) and the bug may be that the preference affects the current worksheet at all. The preference seems to work correctly for code editors.

  • BUG? Code folding is unreliable.

    Code folding for PL/SQL does not work consistently.
    Some blocks won't fold although inner blocks can. When I click on the [-] for a non-folding block, all the [-] below that point in the file disappear.
    Hovering over the [-] shows that for blocks which don't fold, the scope of the block is only a single line, while for blocks which do fold, the scope is shown correctly.

    CREATE OR REPLACE
    PACKAGE BODY "CAP_PLUGINS" AS
    -- $Header: h:\\cvs/capmgmt/ddl/cap_plugins.pkb,v 1.3 2005/08/30 10:41:38 jim.smith Exp $
    -- $Log: cap_plugins.pkb,v $
    -- Revision 1.3  2005/08/30 10:41:38  jim.smith
    -- Implemented do_segment_space procedure
    -- Revision 1.2  2005/08/04 13:51:28  jim.smith
    -- Modified to ues new tablesructures
    -- Revision 1.1  2005/08/04 12:14:26  jim.smith
    -- Initial versions
    -- =======================================================================
    procedure do_table_counts(rundate in date,collection_name in varchar2,schema in varchar2) is
    type thingy is record (
              table_name varchar2(30),
              object_name varchar2(30),
              object_id number);
    type tablelist is table of thingy;
    tlist tablelist;
    collection_id number;
    new_co_id number;
    stmt varchar2(100);
    stat_rec collected_stat%rowtype;
    tcount number;
    begin
      -- FIRST GET THE collection id
      begin
        select coll_id
        into collection_id
        from collection
        where coll_name = collection_name;
      exception
        WHEN no_data_found then
          return;
        WHEN OTHERS THEN RAISE;
      end;
      -- get the list of tables
      -- including tables which are not in collection_objects
      begin
        select table_name,co_name,co_id
        bulk collect
        into tlist
        from dba_tables
          left outer join ( SELECT co_name ,co_id
                          from collection_objects
                            inner join collection
                            on co_coll_id=coll_id
                          where coLL_object_type='TABLE'
                          and coll_name=collection_name)
        on table_name=co_name
        where owner=schema;
      exception
        when no_data_found then
          return;
        when others then
          raise;
      end;
      --  Now process the list
      for i in tlist.first..tlist.last
      loop
        -- if the table isn't already in the collection, add it
        if tlist(i).object_name is null then
         elx_capmgmt.create_collection_object(collection_id,tlist(i).table_name,tlist(i).table_name,new_co_id);
        else
         new_co_id:=tlist(i).object_id;
        end if;
        -- collect the stats
        begin
        stmt:='select count(*)  from '||schema||'.'||tlist(i).table_name;
        execute immediate(stmt) into tcount;
        exception
          when others then
            raise;
        end;
        stat_rec.cs_co_id:=new_co_id;
        stat_rec.cs_timestamp:=rundate;
        stat_rec.cs_stat_value:=tcount;
        elx_capmgmt.CREATE_STATISTIC(stat_rec);
      end loop;
      commit;
    end;
    procedure do_tablespace_size ( rundate in date, collection_name in varchar2 ) is
    collection_id number ;
    new_co_id number;
    stat_rec collected_stat%rowtype;
    cursor tablespace_size is
    select * from (
      SELECT T.TABLESPACE_NAME TBLSPC,
             ROUND(sum(T.BYTES)) TOTAL
      from  (select * from DBA_DATA_FILES union select * from dba_temp_files) T
       GROUP BY  TABLESPACE_NAME
       ) left outer join ( SELECT coll_id,co_id,co_name
                          from collection_objects
                            inner join collection
                            on co_coll_id=coll_id
                          where coll_name=collection_name)
        on tblspc = co_name;
    ts2 tablespace_size%rowtype;
    begin
      -- FIRST GET THE collection id
      begin
        select coll_id
        into collection_id
        from collection
        where coll_name = collection_name;
      exception
        WHEN no_data_found then
          return;
        WHEN OTHERS THEN RAISE;
      end;
      -- now get the data
      begin
        for ts in tablespace_size
        loop
          ts2:=ts;
          -- if the tablespace is not part of the collection, add it
          if ts.co_id is null then
            elx_capmgmt.create_collection_object(collection_id,ts.tblspc,ts.tblspc,new_co_id);
          else
            new_co_id:=ts.co_id;
          end if;
          -- now load the statistics
          stat_rec.cs_co_id:=new_co_id;
          stat_rec.cs_timestamp:=rundate;
          stat_rec.cs_stat_value:=ts.total;
          elx_capmgmt.create_statistic(stat_rec);
        end loop;
      exception
        when dup_val_on_index then
          return;
        when others then
          raise;
      end;
    end;
    procedure do_tablespace_usage ( rundate in date, collection_name in varchar2  ) is
    cursor tablespace_usage  is
    select * from (
      SELECT T.TABLESPACE_NAME TBLSPC,
             ROUND(sum(T.BYTES)) TOTAL
      from  DBA_segments  T
       GROUP BY  TABLESPACE_NAME
       ) left outer join ( SELECT coll_id,co_id,co_name
                          from collection_objects
                            inner join collection
                            on co_coll_id=coll_id
                          where coll_name=collection_name)
        on tblspc = co_name;
    collection_id number ;
    new_co_id number;
    stat_rec collected_stat%rowtype;
    begin
      -- FIRST GET THE collection id
      begin
        select coll_id
        into collection_id
        from collection
        where coll_name = collection_name;
      exception
        WHEN OTHERS THEN RAISE;
      end;
      -- now get the data
      begin
        for ts in tablespace_usage
        loop
          -- if the tablespace is not part of the collection, add it
          if ts.co_id is null then
            elx_capmgmt.create_collection_object(collection_id,ts.tblspc,ts.tblspc,new_co_id);
          else
            new_co_id:=ts.co_id;
          end if;
          -- now load the statistics
          stat_rec.cs_co_id:=new_co_id;
          stat_rec.cs_timestamp:=rundate;
          stat_rec.cs_stat_value:=ts.total;
          elx_capmgmt.create_statistic(stat_rec);
        end loop;
      exception
        when others then raise;
      end;
    end;
    procedure do_tablespace_free ( rundate in date, collection_name in varchar2  ) is
    cursor tablespace_free  is
    select * from (
      SELECT T.TABLESPACE_NAME TBLSPC,
             ROUND(sum(T.BYTES)) TOTAL
      from  DBA_free_space  T
       GROUP BY  TABLESPACE_NAME
       ) left outer join ( SELECT coll_id,co_id,co_name
                          from collection_objects
                            inner join collection
                            on co_coll_id=coll_id
                          where coll_name=collection_name)
        on tblspc = co_name;
    collection_id number ;
    new_co_id number;
    stat_rec collected_stat%rowtype;
    begin
      -- FIRST GET THE collection id
      begin
        select coll_id
        into collection_id
        from collection
        where coll_name = collection_name;
      exception
        WHEN OTHERS THEN RAISE;
      end;
      -- now get the data
      begin
        for ts in tablespace_free
        loop
          -- if the tablespace is not part of the collection, add it
          if ts.co_id is null then
            elx_capmgmt.create_collection_object(collection_id,ts.tblspc,ts.tblspc,new_co_id);
          else
            new_co_id:=ts.co_id;
          end if;
          -- now load the statistics
          stat_rec.cs_co_id:=new_co_id;
          stat_rec.cs_timestamp:=rundate;
          stat_rec.cs_stat_value:=ts.total;
          elx_capmgmt.create_statistic(stat_rec);
        end loop;
      exception
        when others then raise;
      end;
    end;
    procedure do_tablespaces(rundate in date) is
      running_job_id number:=-1;
    begin
      elx_utilities.make_job_log_entry(running_job_id,elx_utilities.STAGE_ENTRY,0,'Capmgmt.do_tablespace_size','0');
      do_tablespace_size(rundate,'TBLSPCSIZE');
      elx_utilities.make_job_log_entry(running_job_id,elx_utilities.STAGE_ENTRY,0,'Capmgmt.do_tablespace_free','0');
      do_tablespace_free(rundate,'TBLSPCFREE');
      elx_utilities.make_job_log_entry(running_job_id,elx_utilities.STAGE_ENTRY,0,'Capmgmt.do_tablespace_used','0');
      do_tablespace_usage(rundate,'TBLSPCUSED');
      commit;
    end;
    procedure do_segment_space(rundate in date,collection_name in varchar2,schema in varchar2) is
    type thingy is record (
              segment_name varchar2(30),
              total_size number,
              coll_id number,
              object_id number,
              object_name varchar2(30));
    type segmentlist is table of thingy;
    slist segmentlist;
    collection_id number;
    new_co_id number;
    stat_rec collected_stat%rowtype;
    begin
      -- FIRST GET THE collection id
      begin
        select coll_id
        into collection_id
        from collection
        where coll_name = collection_name;
      exception
        WHEN no_data_found then
          return;
        WHEN OTHERS THEN RAISE;
      end;
      begin
        select *
        bulk collect
        into slist
        from ( select segment_name, sum(size2 ) totalsize
        from (     select segment_name,' ',segment_type,bytes size2
              from dba_segments
              where owner=SCHEMA
              and segment_type='TABLE'
              union
              select i.table_name,segment_name,segment_type,s.bytes size2
              from dba_segments s
                inner join dba_indexes i
                on segment_name=index_name
              where s.owner=SCHEMA
              and segment_type='INDEX')
      group by segment_name )
      left outer join ( SELECT coll_id,co_id,co_name
                      from collection_objects
                        inner join collection
                        on co_coll_id=coll_id
                      where coLL_object_type='SEGMENT'
                      and coll_name=collection_name)
      on segment_name = co_name;
      exception
        when others
          then raise;
      end;
      for i in slist.first..slist.last
      loop
        -- if the table isn't already in the collection, add it
        if slist(i).object_name is null then
         elx_capmgmt.create_collection_object(collection_id,slist(i).segment_name,slist(i).segment_name,new_co_id);
        else
         new_co_id:=slist(i).object_id;
        end if;
        -- collect the stats
        stat_rec.cs_co_id:=new_co_id;
        stat_rec.cs_timestamp:=rundate;
        stat_rec.cs_stat_value:=slist(i).total_size;
        elx_capmgmt.CREATE_STATISTIC(stat_rec);
      end loop;
    null;
    end;
    END;

  • Small bug in code complete?

    I'm not sure how significant this bug is, but I think it's a bug.  Please advise.
    I defined a variable with the type UIComponent using code complete.  I Realized that I had chosen fl.core.UICompent instead of mx.core.UIComponent, which import statement was written by organized import.  Highlighting the type and choosing the correct type using code complete yielded something like this.
    var varname:mx.core.UIComponent;

    Jason,
    Thank your attention. Please, let me explain more clearly.
    I defined a variable statement with UIcomponent type using code completion.  ie
    import fl.core.UIComponent;
    var varname:UIComponent;
    Realizing I had chosen the wrong component, I highlight type UIComponent in my variable statement, and use the code completion to select type mx.core.UIComponent.  The result is this.
    import mx.core.UIComponent;
    var varname:mx.core.UIComponent;
    That's not right, is it?  Thank you.
    Garrick

  • Labview screen refresh bug (disappearing VI icons in diagram window)

    Hello,
    I have Labview 6 (fully patched with just about EVERY download NI offers on this site) running on a Windows NT 4.00.13.81 box. Since this is a screen refresh problem, it might be useful to mention that the graphics card is a ATI 3D Rage Pro (bought in 1999, driver versions 5.2.040, 4.0.0).
    I think I've ran into either a Labview or a graphics card driver bug, because the VI icons in the diagram window seem to disappear every time I move the mouse over them. Minimising the window and maximising it again makes them appear (if only someone had included a "refresh" shortcut in Labview I could even learn to live with this!), but the bug persists. Shrinking and reinstating the diagram window co
    nstantly is a reasonable way to work.
    I cannot remember for sure, but I believe this bug appeared when I patched Labview 6.0 into 6.0.2.
    Any help will be much appreaciated, this bug is frustrating and doesn't let me work!I really do not want to upgrade to Labview 7 either, as all my work is in 6.0.x and I have no time for major shifts in versions.
    Thank you,
    -Alexandros

    Hi Alexandros
    I believe this could help:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000055550000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    regards
    Pawel

  • Silverlight bug: Error code: 1001

    Recently Silverlight stopped working on my machine. In my development environment (Visual Studio 2012) I was getting the following vague error message:
    Line: 56
    Error: Unhandled Error in Silverlight Application
    Code: 1001   
    Category: RuntimeError      
    Message: 1001 An error has occurred.    
    MethodName:     
    Any websites I visited with Silverlight demos failed to load (only leaving a white space where the XAP should load)
    I tried installing Firefox, the same errors were happening there.
    I tried uninstalling and reinstalling.
    I tried uninstalling the Silverlight 5 SDK and Silverlight 4 SDK.
    None of this worked.
    Eventually after wasting a day searching up on this, I came across a Silverlight bug reported back in 2012. Apparently this is still a bug today in 2015 with Silverlight 5.
    Here are the details:
    https://connect.microsoft.com/VisualStudio/feedback/details/719317/silverlight-5-error-1001-font-filename-issue
    The fix was simple - I discovered a font file that had been recently installed. The font file name was Avenir.ttc but it contained versions of the font with & in the font name.
    I uninstalled this font (using Control panel > Fonts) and Silverlight started working immediately.
    If you ever have this issue, check your fonts directory!
    Thanks Microsoft!

    Hi,
    Thanks for sharing this information to us, it will be very beneficial for other community members who have similar questions. From your description, you have encountered an issue that is similar with the
    Silverlight 5 Error 1001 bug, if you could reproduce this bug again, I would suggest you submit a new feedback with the detail steps to let the Silverlight team to know this issue.
    Best Regards,
    Jambor   
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DW CS6 horizontal scrolling bug in code/design view & code view alone

    I posted a video demonstrating the issue.
    Dreamweaver CS6 12.02 Build 6006
    http://www.youtube.com/watch?v=E7x5QZWNfk0
    Will there be a fix in the works?

    Believe me Thomas, I know exactly what you are going through.  I used to work for a company that used an archaic ecommerce platform called Marketlive.  It was a beast, but caused more problems than what it was worth.  But the companies that have grown with them have become so big they are afraid of change themselves.  Unfortunately, you just have to make with what you have.  Personally I'd still try to push about the paths because a find and replace could still be done ont he database side, although a bit more complicated than DW's because you would have to write a query to replace the values, but still possible.  Honestly, I would just do without the preview and just code as if DW is your text editor and then upload and test.  I wish there was a better answer, but even when I was in the tough situation that's what I worked with.  If they don't like how time consuming it can be that way, then you need to show management how you could save time and money.

  • ICal Bug: Disappearing Meetings

    I am posting in the hope that someone else can validate and help me solve a problem I have been having sporadically with iCal. I have done other searches and see that people have complete vanishing calendars but this seems to be a more subtle form of the same issue.
    Problem: Meetings will vanish or disappear from my Calendar.
    Factors: I have two macs, synced through .mac. My home computer and my laptop. Both running 10.3.4. Both running the current versions of iCal and iSync. I generally have iCal running on both computers at the same time, but I only update one at a time (since I only use my laptop at work and my desktop at home)
    I haven't been able to reliably reproduce it which is the frustrating part.
    It seems that between closing iCal and restarting, it will loose meetings / meeting information(for example, it will show "New Event" but be missing the name and location information), which makes me think that there might be problem relating to sync -- that something from one computer is overwriting the new one with "no meeting" so it is getting erased. It shouldn't work that way, but I cannot explain it any other ways.
    It has happened enough that I now have to go in and check repeatedly to see whether a meeting is still there. It is very frustrating as the missing meetings have made me miss calls or appointments.
    I have checked to make sure I haven't accidentally put it on a different day / time (I am 99% sure it is not user error)
    Details:
    Mac OS 10.3.4
    iCal: 1.5.2
    iSync: 1.4
    The meetings are only with myself - I don't usually invite other attendees.

    A similar thing happened to me recently. An entire calendar ("home") completely vanished, not just a few entries. I had recently added some birthdays to the calendar and the next time I opened up the program. Poof, all gone. I'm going to have to avoid the program until this problem is fixed. I can't have important information across an ENTIRE category vanish like this. It could be devastating if too much info months in advance gets put in there.
    I don't synch it up with anything, so I don't think that's what caused the problem. I did enter each birthday address with an "eternal" setting. I wonder if this is what corrupted it so badly? Too many birthdays times infinity?
    Mark Tedin

  • Disappearing Code

    I frankly dont know if this is an HTML or PHP or MySQL issue, but I have created a template, then created a child page, the content in the editable region is called from a MySQL DB using PHP, however all code below the php script does not make it to the browser.
    This is the effected page  http://www.johnfinleyphotographer.com/elk.php
    Notice is ends on </div>
    However the code for the page is
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/newfin.dwt.php" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <style type="text/css">
    </style>
    <link href="p7pmm/p7PMMv02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="newfin.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="sigline"><h1>John Finley Photographer</h1></div>
    <div id="toptube"></div>
    <div id="main">
    <div id="menu">
    <?php include('includes/newfinmenu.inc.php'); ?>
    </div>
    <!-- InstanceBeginEditable name="EditRegion3" -->
    <div id="onecol">  <?php
    $all = '';//!="" means is not empty
    $bear = ('where bear !="" ');
    $birds_of_prey= ('where birds_of_prey !="" ');
    $bobcat= ('where bobcat !="" ');
    $canadian_lynx = ('where canadian_lynx !="" ');
    $cap_asc =('ORDER BY caption asc');
    $cats = ('where cats !="" ');
    $coyote= ('where coyote !="" ');
    $flowers = ('where flowers !="" ');
    $fox = ('where fox !="" ');
    $insects = ('where insects !="" ');
    $deer= ('where deer !="" ');
    $elk = ('where elk !="" ');
    $small_mammals = ('where small_mammals !="" ');
    $large_mammals = ('where large_mammals !="" ');
    $moose = ('where moose !="" ');
    $mountian_lion = ('where mountain_lion !="" ');
    $owls= ('where owls !="" ');
    $tigers = ('where tigers !="" ');
    $whales = ('where whales !="" ');
    $wildlife = ('where wildlife !="" ');
    $wolves = ('where wolves !="" ');
    include('connection code');//sanitized for board
    $query = "SELECT IM.image_id, IM.caption, IM.where_taken, IM.description, IM.file_name,
                      IM.image_file, IM.submitted, KW.fox, KW.wolves, KW.wildlife,
                     KW.deer, KW.small_mammals, KW.large_mammals, KW.cats, KW.flowers, KW.insects, KW.bear, KW.moose, KW.tigers, KW.whales, KW.bobcat, KW.buffalo, KW.canadian_lynx, KW.birds_of_prey, KW.owls, KW.mountain_lion, KW.elk
               FROM images IM JOIN keywords KW  ON IM.image_id = KW.image_id $elk limit 3
    $data = mysqli_query($batchconnection, $query) or die(mysqli_error($batchconnection));
      while ($row = mysqli_fetch_array($data))    {
    echo '<div >';
    echo '<table>';
    echo '<tr><td class="resultheading"><h2>' .$row['caption'].'</h2></td></tr>';
    echo '<tr><td class="resultheading"><h3>'. ' This picture was taken in '.  $row['where_taken'].'</h3></td></tr>';
    echo '</table>';
    echo '<table><tr><td class="resultbody">'. $row['description'] . '</td>';
    echo '<td class="resultbody"><img src="./images/'.$row['image_file'].'" width="250px" /></td></tr>';
    echo '</table>';
    echo '<hr />';
    echo '</div>';
    $id=$_GET['image_file'];
    if(!isset($id) || empty($id))    {
    die ("");
    }else{
    $query = mysqli_query("SELECT FROM images WHERE image_file='".$id. "'");
    $row = mysqli_fetch_array ($query);
    $content = $row['image_file'];
    header('Content-type: image/jpg');
    header('Content-type: image/png');
    header('Content-type: image/gif');
    header('Content-type: image/jpeg');
      mysqli_close($batchconnection);
    ?></div>
    <!-- InstanceEndEditable --></div>
    <div id="bottom"></div>
    <div id="footer"><?php include('includes/footer.inc.php'); ?></div>
    </body>
    <!-- InstanceEnd --></html>
    And example of what it should look like
    http://www.johnfinleyphotographer.com/newfin.php
    Anyone have a clue as to what is cause the code to dissappear?
    Thanks
    Gary

    I'm not sure why I am unable to communicate what the issue is, but let me try again.
    The code that I have written, the code that is in my DW file in NOT the same code that you are able to view in your browser.  The code is being truncated, cut off and not able to be viewed.
    The code in my DW, the code I am uploading to the servier is :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/newfin.dwt.php" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <style type="text/css">
    </style>
    <link href="p7pmm/p7PMMv02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="newfin.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="sigline"><h1>John Finley Photographer</h1></div>
    <div id="toptube"></div>
    <div id="main">
    <div id="menu">
    <?php include('includes/newfinmenu.inc.php'); ?>
    </div>
    <!-- InstanceBeginEditable name="EditRegion3" -->
    <div id="onecol">  <?php
    $all = '';//!="" means is not empty
    $bear = ('where bear !="" ');
    $birds_of_prey= ('where birds_of_prey !="" ');
    $bobcat= ('where bobcat !="" ');
    $canadian_lynx = ('where canadian_lynx !="" ');
    $cap_asc =('ORDER BY caption asc');
    $cats = ('where cats !="" ');
    $coyote= ('where coyote !="" ');
    $flowers = ('where flowers !="" ');
    $fox = ('where fox !="" ');
    $insects = ('where insects !="" ');
    $deer= ('where deer !="" ');
    $elk = ('where elk !="" ');
    $small_mammals = ('where small_mammals !="" ');
    $large_mammals = ('where large_mammals !="" ');
    $moose = ('where moose !="" ');
    $mountian_lion = ('where mountain_lion !="" ');
    $owls= ('where owls !="" ');
    $tigers = ('where tigers !="" ');
    $whales = ('where whales !="" ');
    $wildlife = ('where wildlife !="" ');
    $wolves = ('where wolves !="" ');
    include(connect);
    $query = "SELECT IM.image_id, IM.caption, IM.where_taken, IM.description, IM.file_name,
                      IM.image_file, IM.submitted, KW.fox, KW.wolves, KW.wildlife,
                     KW.deer, KW.small_mammals, KW.large_mammals, KW.cats, KW.flowers, KW.insects, KW.bear, KW.moose, KW.tigers, KW.whales, KW.bobcat, KW.buffalo, KW.canadian_lynx, KW.birds_of_prey, KW.owls, KW.mountain_lion, KW.elk
               FROM images IM JOIN keywords KW  ON IM.image_id = KW.image_id $elk limit 3
    $data = mysqli_query($batchconnection, $query) or die(mysqli_error($batchconnection));
      while ($row = mysqli_fetch_array($data))    {
    echo '<div >';
    echo '<table>';
    echo '<tr><td class="resultheading"><h2>' .$row['caption'].'</h2></td></tr>';
    echo '<tr><td class="resultheading"><h3>'. ' This picture was taken in '.  $row['where_taken'].'</h3></td></tr>';
    echo '</table>';
    echo '<table><tr><td class="resultbody">'. $row['description'] . '</td>';
    echo '<td class="resultbody"><img src="./images/'.$row['image_file'].'" width="250px" /></td></tr>';
    echo '</table>';
    echo '<hr />';
    echo '</div>';
    $id=$_GET['image_file'];
    if(!isset($id) || empty($id))    {
    die ("");
    }else{
    $query = mysqli_query("SELECT FROM images WHERE image_file='".$id. "'");
    $row = mysqli_fetch_array ($query);
    $content = $row['image_file'];
    header('Content-type: image/jpg');
    header('Content-type: image/png');
    header('Content-type: image/gif');
    header('Content-type: image/jpeg');
      mysqli_close($batchconnection);
    ?></div>
    <!-- InstanceEndEditable --></div>
    <div id="bottom"></div>
    <div id="footer"><?php include('includes/footer.inc.php'); ?></div>
    </body>
    <!-- InstanceEnd --></html>
    Notice it has closing </body> ande </html> tags.
    This is the code you are able to view and the validator is able to view:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/newfin.dwt.php" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <style type="text/css">
    </style>
    <link href="p7pmm/p7PMMv02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="newfin.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="sigline"><h1>John Finley Photographer</h1></div>
    <div id="toptube"></div>
    <div id="main">
    <div id="menu">
      <div id="p7PMM_1" class="p7PMMv02">
        <ul class="p7PMM">
          <li><a href="#">Home</a></li>
          <li><a href="about-john.php">About John</a></li>
          <li><a href="#">Pictures</a>
              <div>
                <ul>
                  <li><a href="elk.php">Elk</a></li>
                  <li><a href="#">Mountain Lion</a></li>
                  <li><a href="#">Wolves</a></li>
                </ul>
              </div>
          </li>
          <li><a href="#">Shop</a>
              <div>
                <ul>
                  <li><a href="#">Calenders</a></li>
                  <li><a href="#">Framed Pictures</a></li>
                  <li><a href="#">Digital Picture Frames</a></li>
                  <li><a href="#">Signed Originals</a></li>
                </ul>
              </div>
          </li>
          <li><a href="#">John on Photography</a>
          <div>
                <ul>
                  <li><a href="the-camera.php">The Camera</a></li>
                  <li><a href="wildlife-photography.php">Wildlife Photography</a></li>
                  <li><a href="effects.php">Effects</a></li>
                </ul>
              </div>
          </li>
          <li><a href="#">Contact</a></li>
        </ul>
        <!--[if lte IE 7]>
    <style>.p7PMMv02, .p7PMMv02 a, .p7PMMv02 ul {height:1%;}.p7PMMv02 li{float:left;clear:both;width:100%;}</style>
    <![endif]-->
        <!--[if IE 5.500]>
    <style>.p7PMMv02 {position: relative; z-index: 9999999;}</style>
    <![endif]-->
        <!--[if IE 5]>
    <style>.p7PMMv02 a, .p7PMMv02 ul {height: 1%; overflow: visible !important;}</style>
    <![endif]-->
        <script type="text/javascript">
    <!--
    P7_PMMop('p7PMM_1',0,2,-5,-5,0,0,0,1,0,3,1,1,0);
    //-->
        </script>
    </div>
    </div>
    <!-- InstanceBeginEditable name="EditRegion3" -->
    <div id="onecol">  <div ><table><tr><td class="resultheading"><h2>Baby Elk In Fall</h2></td></tr><tr><td class="resultheading"><h3> This picture was taken in Canadian Rockies</h3></td></tr></table><table><tr><td class="resultbody">In the Fall the Elk herds including young come to the lower meadows for winter.  The young are often unafraid and are curious about humans, especially the funny looking ones.</td><td class="resultbody"><img src="./images/Baby Elk in Fall.jpg" width="250px" /></td></tr></table><hr /></div><div ><table><tr><td class="resultheading"><h2>Bellowing Bull Elk</h2></td></tr><tr><td class="resultheading"><h3> This picture was taken in Canadian Rockies</h3></td></tr></table><table><tr><td class="resultbody">The bellowing bull Elk sing a lonely, yet beautiful song, haunting, yet colorful.  Often several sing together and the song carries through the mountains for miles.</td><td class="resultbody"><img src="./images/Bellowing Bull Elk.jpg" width="250px" /></td></tr></table><hr /></div><div ><table><tr><td class="resultheading"><h2>Bellowing Elk</h2></td></tr><tr><td class="resultheading"><h3> This picture was taken in Canadian Rockies</h3></td></tr></table><table><tr><td class="resultbody">In Fall, the Elk travel to the lower meadows for protection from the harsh mountain winters.  Here they find open meadows for food and forest for safety.  The will also find the lonely photographer waiting to meet them.</td><td class="resultbody"><img src="./images/Bellowing Elk in Meadow.jpg" width="250px" /></td></tr></table><hr /></div>
    Notice is does not have the closing </body> ande </html> tags.
    In short, the code I am uploading is not the code that the browser is displaying, the question is why.
    Gary

  • Bug in code HELP!!! please

    When i put a term that isnt in my dictionary it says it isnt in dictionary which is what i want it to do but when i type one that works and it asks to do another one and i click yes or no it says it cant be found, and i cant find what i did wrong.
    dont mind my language in the code, =o
    import javax.swing.JOptionPane;
    public class InternetTranslater
         public static void main(String [] args)
              String[] Slang = {"lol","lmao","lmfao","rofl","roflmfao",
              "imo","oic","joo","pwn","pwns","owned","ttyl","brb",
              "gtg","g2g","lvl","IM","omg"};
              String[] Real = {"Laugh out Loud","Laugh my ass off",
              "Laughing my fucking ass off","Rolling on floor laughing",
              "Rolling on floor laughing my fucking ass off",
              "in my opinion","oh i see","You","Better than","Very awsome",
              "Severly beaten","Talk to you later","Be right Back",
              "Got to go","Good too go","level","Instant Message","oh my god"};
              String Term;
              int o = 1;
              JOptionPane.showMessageDialog(null,
              "This program is easy to use.","Start",
              JOptionPane.INFORMATION_MESSAGE);
              while(o == 1){
              Term = JOptionPane.showInputDialog("Please enter the chat term");
              for(int i=0;i<18;++i)
                   if(Term.equalsIgnoreCase(Slang))
                        JOptionPane.showMessageDialog(null,
                        Real[i],"Chat",
                        JOptionPane.INFORMATION_MESSAGE);
                        int p;
                        Object[] options = { "YES", "NO" };
                        p = JOptionPane.showOptionDialog(null,
                        "Click YES to do another",
                        "Warning", JOptionPane.DEFAULT_OPTION,
                        JOptionPane.WARNING_MESSAGE,
                        null, options, options[0]);
                        if(p == 0)
                             o = 1;
                        else
                             o = 0;
                        i = 0;          
                   if(i == 17)
                        JOptionPane.showMessageDialog(null,
                        "Term not found in the dictionary","Chat",
                        JOptionPane.ERROR_MESSAGE);
                        o = 1;
              System.exit(0);     

    You need to improve on:
    -not using magic numbers (e.g. replace 18 with slang.length)
    -using Java naming conventions (e.g. slang not Slang)
    -using useful classes such as Hashtable
    import javax.swing.JOptionPane;
    import java.util.Hashtable;
    public class InternetTranslator
         public static void main(String [] args)
              String[] slang = {"lol","lmao","lmfao","rofl","roflmfao",
              "imo","oic","joo","pwn","pwns","owned","ttyl","brb",
              "gtg","g2g","lvl","IM","omg"};
              String[] real = {"Laugh out Loud","Laugh my ass off",
              "Laughing my ******* ass off","Rolling on floor laughing",
              "Rolling on floor laughing my ******* ass off",
              "in my opinion","oh i see","You","Better than","Very awsome",
              "Severly beaten","Talk to you later","Be right Back",
              "Got to go","Good too go","level","Instant Message","oh my god"};
              Hashtable hashtable = new Hashtable();
              if (slang.length != real.length)
                   throw new RuntimeException("oops, my arrays don't match");
              for (int i = 0; i < slang.length; i++)
                   hashtable.put(slang.toLowerCase(), real[i]);
              //JOptionPane.showMessageDialog(null,
              //"This program is easy to use.","Start",
              //JOptionPane.INFORMATION_MESSAGE);
              while (true) {
                   Object o = JOptionPane.showInputDialog("<html>Please enter the chat term:<br>(press cancel to stop)</html>");
                   if (o == JOptionPane.UNINITIALIZED_VALUE || o == null)
                        break;
                   String s = o.toString().trim().toLowerCase();
                   String r = (String) hashtable.get(s);
                   if (r != null)
                        JOptionPane.showMessageDialog(null, "The full expression is: " + r, "Result", JOptionPane.INFORMATION_MESSAGE);
                   else
                        JOptionPane.showMessageDialog(null, "Expression not found!", "Uh-Oh!", JOptionPane.ERROR_MESSAGE);
              System.exit(0);

  • Forte and disappearing code

    Hi,
    I have encountered an issue when working with Forte and cvs. If a developer creates a new component, say a JFrame, and add some other components to it and there after check in the result in the cvs (.java, .form and .nbatrs), everything seems to work just fine. Then another developer check out the code and open it in Forte then Forte some times remove components from the file and tell the developer that the file has changed (via an *). (Where not using Fortes own cvs tools). It only happens with files that have an form file.
    Beside this, the same issue randomly arise when editing files.
    Would be glad if somebody could help me.
    Mats

    I have noticed the same thing. In my case it's the JMenuBar on a JFrame that gets trashed. The menu is still there, all that changes is
    (1) value="menuBar" changes to value="(No menu)" in the <SyntheticProperty name="menuBar" ...> entity in the .form file (menuBar is the name of the menu bar)
    (2) the setJMenuBar(menuBar); statement in the .java file goes away
    and
    (3) the menu bar no longer appears in the form.
    It seems to be pretty reproducible.

Maybe you are looking for

  • How can I delete photos in batches on my iPhone

    I have 1,526 photos in my camera roll on my iPhone. Is there any way I can select more than one photo then delete a batch at a time? Deleting one at a time is pretty tedious.

  • File Open trys A:\ first

    I'm using version 1.5.1.54.40 on Windows XP. Everytime i try to open a file it first tries to open A:\ and give me an error. I assume there is a preference i can change, but i cant figure it out. Thanks for your help.

  • Itunes will not install correctly

    My itunes nwill not open on my pc. It says window error 7error 127. When i try to reinstall. It doesnt work.

  • How to put APD into process chain ??

    Hi all, I have created a analytical process in the transaction RSANWB. And I would like to incorporate it into process chain. Is it possible ?? Thank in advance JJ

  • How to install MaxlRunner in 11.1.2.1

    Hi can anybody help me how to install maxlrunnerin 11.1.2.1 ???? Regards, Saurav