I need help with these two crash IDs nsStyleContext::FindChildWithRules(nsIAtom const*, nsRuleNode*) and DFusionWebPlugin@0x86b5

I need help with these two crashes...
PL_DHashTableOperate | GCGraphBuilder::NoteRoot(unsigned int, void*, nsCycleCollectionParticipant*)
DFusionWebPlugin@0x86b5
The first one happened a couple of days ago, a few times and not on any specific website.
The second one only happens on the site below.

The second one indicates a problem with the DFusionWebPlugin that shows in your More system details list.
# D'Fusion Web Plug-In for Safari 64 bits (3.00.13774.0)
# D'Fusion Web Plug-In (3.00.13774.0)
What you posted are crash signatures.<br />
It might help if you post the actual crash IDs (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).<br />
You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
See http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)

Similar Messages

  • HT4528 I am trying to sync iTunes and download ringtones from Apple store.  I am not able to on my iPhone.  need help with these two issues

    I am having issues with several areas on my iPhone:
    1. When I am trying to update my iTunes on my phone from my laptop I have trouble syncing to my iPhone. How do I get my songs from iTunes transfered to my iPhone?
    2. I am not able to purchase/download ring tones to my iPhone.  Am I able to purchase ringtones?
    3. My daughter has an iPhone also, and it appears that we have to share contacts?  My phone was populated with her contacts and vice versa.  How do I seperate the contacts?

    If it's an iPhone 4S or earlier, download iTunes 10.6.3. This requires Mac OS X 10.5.8.
    If it's an iPhone 5, you need to buy a Mac OS X 10.6 DVD, run the Mac OS X 10.6.8 combo updater, and then install iTunes 11.
    (80456)

  • I need help with controlling two .swf's from third.

    Hi, thanks for reading!
    I need help with controlling two .swf's from third.
    I have a problem where I need to use a corporate designed
    .swf in a digital signage solution, but have been told by the legal
    department that it can not be modified in any way, I also can't
    have the source file yada yada. I pulled the .swfs from their
    website and I decompiled them to see what I was up against.
    The main swf that I need to control is HCIC.swf and the
    problem is it starts w/ a preloader, which after loading stops on a
    frame that requires user input (button press) on a play button,
    before the movie will proceed and play through.
    What I have done so far is to create a container swf,
    HCIC_container.swf that will act as Target for the HCIC.swf, and
    allow me to send actionscript to the file I'm not allowed to
    modify.
    I managed to get that done with the help of someone on
    another forum. It was my hope that the following script would just
    start HCIC.swf at a frame past the preloader and play button, and
    just play through.
    var container:MovieClip = createEmptyMovieClip("container",
    getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener(this);
    mcLoader.loadClip("MCIC.swf", container);
    function onLoadInit(mc:MovieClip) {
    mc.gotoAndPlay(14);
    But unfortunately it didn't solve my problem. Because there
    is a media-controller.swf, that is being loaded by HCIC.swf that
    has the controls including the play button to start HCIC.swf.
    Here's a link to a .zip file with all 3 .swf files, and all 3
    .fla files.
    http://www.axiscc.com/temp/HCIC.zip
    What I need to do is automatically start the HCIC.swf file
    bypassing the pre-loader and play button without editing it or the
    media-controller.swf in anyway. So all the scripting needs to be
    done in HCIC_container.swf.
    I know this is confusing, and its difficult to explain, but
    if you look at the files it should make sense.
    ActionScripting is far from my strong point, so I'm
    definitely over my head here.
    Thanks for your help.

    Got my solution on another forum.
    http://www.actionscript.org/forums/showthread.php3?t=146827

  • TS2771 I need help with my camera it's shows a black screen. And I have restarted it many times

    I need help with my camera it's shows a black screen. And I have restarted it many times

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem. Y are not alones. Sometimes the camera fails.
    Apple Retail Store - Genius Bar                                      

  • Help with these two loops

    Hi I hope someone can help me?
    I have these two loops, which at the moment prints out like this
    addr1, id, phone, lastname, firstname
    town, addr2, postcode, county, country
    [7,4,2,1,0]
    [9,8,6,5,3]
    the first two lines is what vector vv2 holds inside it.
    the second two line is what vector vv holds inside it.
    my problem is how can i get it to printout like this?
    [7,4,2,1,0]
    addr1, id, phone, lastname, firstname
    [9,8,6,5,3]
    town, addr2, postcode, county, country
    I hope someone can help me thanks
    nicky
    for (int ii2=0;ii2 < results2.size(); ii2++) {
                    vv2 = (Vector)results2.elementAt(ii2);     
                          ste2 = vv2.toString();
                             stb2 = new StringBuffer(ste2);
                             stb12 = new StringBuffer();
                             int is = stb2.length();
                             int is2 = is-2;
                             int is3 = is-1;
                             stb2.replace(0,1,"");
                             stb2.replace(is2,is3,"");
                             for(int i222 = 0; i222 < vv2.size(); i222++){
                                  stb12.append(",");
                                  stb12.append("?");
                                  stb12.replace(0,1,"");
                                  System.out.println(stb2);
    for (int ii = 0; ii < results.size(); ii++) {
        vv = (Vector)results.get(ii);
    System.out.println(vv);
    }

    You are using more for loops than you need to. If you just want to print out the element of one vector after the other then just put it in the same loop. Here try this:
    for (int ii2=0;ii2 < results2.size(); ii2++) {
                    vv2 = (Vector)results2.elementAt(ii2);     
                          ste2 = vv2.toString();
                             stb2 = new StringBuffer(ste2);
                             stb12 = new StringBuffer();
                             int is = stb2.length();
                             int is2 = is-2;
                             int is3 = is-1;
                             stb2.replace(0,1,"");
                             stb2.replace(is2,is3,"");
                             for(int i222 = 0; i222 < vv2.size(); i222++){
                                  stb12.append(",");
                                  stb12.append("?");
                                  stb12.replace(0,1,"");
                                  System.out.println(stb2);
         vv = (Vector)results.get(ii2);
         System.out.println(vv);
          And for god sakes man use some better names for your for loop iterator. Usually it is custom to start with i and if you need an inner for loop or another for loop within the same scope move on to using j and then k, so on and so on. All those numbers in your variables make the code harder to read than it needs to be. Just a suggestion, good luck.

  • Need help with Firefox constantly crashing. Here is one of my crash reports 9df1066e-d25d-44fa-b05f-7d22e2110713. They all have this signature "_de_casteljau."

    Firefox constantly crashing no matter what site I go to. Here are my crash reports - you can see the times and dates are pretty frequent.
    Only 1 module doesn't have a version number, but doing google search there are ton of results for this file.
    Google searched, checked for updates for firefox, add-ons, java, and flash..i've added these add-ons AdBlock, IE Tab, Webmail, and a theme(LavaFox V1 1.3.3).
    Ran virus scans and nothing.

    The crashes seem to be related to garbage collection (i.e. cleanup 'unused' memory, but in this case the memory may still be in use) and such crashes are hard to diagnose.
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I need help with these adobe illustrator questions?

    Please help with the following questions. Thanks!!
    The keyboard short for selecting the direct selection tool is?
    The rectangle that shows the outermost dimensions of any box is called the?
    A floating panel can be placed on the panel dock by?
    The selection tool is displayed as a black arrow and is used to select, resize, or move an entire item.(true or false)
    One way to deselect an object is to click somewhere else on the document (true or false)
    A stroke is on the inside of a shape or object (true or false)
    The more text framed you use, the better your document. (true or false)
    The rectangle frame has a non printing X on it (true or false)
    To print preview a document, click on the Save icon on the standard toolbar. (true or false)

    I'm not sure if it's a good idea to go the route you go now.
    You are asking for assistance and – as I understand it – you are just trying to pass a class right now, but you don't know the answers to a lot of pretty basic questions.
    What's your purpose?
    I – as well as many people here – could answer all your questions. Also, I could provide some misleading hints which could cause serious trouble for you in case you would use them in your exam.
    You should go a different route.

  • Need help merging these two files togehter

    I have the following class files one reads in a file another creates a file, Can somebody help me put the two class files together so i have one file which creates a file and reads it in, as i am stuck as to which bits need to be copied and which bits i only need once.
    /////////////////////////////////////////////////Code to create and save data in to file////////////////
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import bank.BankUI;
    import bank.*;
    public class CreateSequentialFile extends JFrame {
       private ObjectOutputStream output;
       private BankUI userInterface;
       private JButton enterButton, openButton;
       private Store store;
       private Employee record;
       // set up GUI
       public CreateSequentialFile()
          super( "Creating a Sequential File of Objects" ); // appears in top of gui
          // create instance of reusable user interface
          userInterface = new BankUI( 9 );  // number of textfields
          getContentPane().add( userInterface, BorderLayout.CENTER );
          // configure button doTask1 for use in this program
          openButton = userInterface.getDoTask1Button();
          openButton.setText( "Save to file" );
          // register listener to call openFile when button pressed
          openButton.addActionListener(
             // anonymous inner class to handle openButton event
             new ActionListener() {
                // call openFile when button pressed
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
          // configure button doTask2 for use in this program
          enterButton = userInterface.getDoTask2Button();
          enterButton.setText( "Save to file..." );
          enterButton.setEnabled( false );  // disable button
          // register listener to call addRecord when button pressed
          enterButton.addActionListener(
             // anonymous inner class to handle enterButton event
             new ActionListener() {
                // call addRecord when button pressed
                public void actionPerformed( ActionEvent event )
                   addRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          // register window listener to handle window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // add current record in GUI to file, then close file
                public void windowClosing( WindowEvent event )
                             if ( output != null )
                                addRecord();
                                  closeFile();
             } // end anonymous inner class
          ); // end call to addWindowListener
          setSize( 600, 500 );
          setVisible( true );
         store = new Store(100);
       } // end CreateSequentialFile constructor
       // allow user to specify file name
       private void openFile()
          // display file dialog, so user can choose file to open
          JFileChooser fileChooser = new JFileChooser();
          fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
          int result = fileChooser.showSaveDialog( this );
          // if user clicked Cancel button on dialog, return
          if ( result == JFileChooser.CANCEL_OPTION )
             return;
          File fileName = fileChooser.getSelectedFile(); // get selected file
          // display error if invalid
          if ( fileName == null || fileName.getName().equals( "" ) )
             JOptionPane.showMessageDialog( this, "Invalid File Name",
                "Invalid File Name", JOptionPane.ERROR_MESSAGE );
          else {
             // open file
             try {
                output = new ObjectOutputStream(
                   new FileOutputStream( fileName ) );
                openButton.setEnabled( false );
                enterButton.setEnabled( true );
             // process exceptions from opening file
             catch ( IOException ioException ) {
                JOptionPane.showMessageDialog( this, "Error Opening File",
                   "Error", JOptionPane.ERROR_MESSAGE );
          } // end else
       } // end method openFile
       // close file and terminate application
       private void closeFile()
          // close file
          try {
    int storeSize = store.getCount();
    for (int i = 0; i<storeSize;i++)
    output.writeObject(store.elementAt(i));
             output.close();
             System.exit( 0 );
          // process exceptions from closing file
          catch( IOException ioException ) {
             JOptionPane.showMessageDialog( this, "Error closing file",
                "Error", JOptionPane.ERROR_MESSAGE );
             System.exit( 1 );
       } // end method closeFile
       // add record to file
       public void addRecord()
          int employeeNumber = 0;
          String fieldValues[] = userInterface.getFieldValues();
          // if account field value is not empty
          if ( ! fieldValues[ BankUI.IDNUMBER ].equals( "" ) ) {
             // output values to file
             try {
                employeeNumber = Integer.parseInt(
                   fieldValues[ BankUI.IDNUMBER ] );
                        String dob = fieldValues[ BankUI.DOB ];
                        String[] dateofBirth = dob.split ("-"); // what used to put between number
                        String sDate = fieldValues[ BankUI.START ];
                        String[] startDate = sDate.split ("-");
                        String sex = fieldValues[ BankUI.GENDER ];
                        char gender = (sex.charAt(0));
    if ( employeeNumber >= 0 ) {
                    record  = new Employee(
                    fieldValues[ BankUI.NAME ],
                        gender,
                    new Date(     Integer.parseInt(dateofBirth[0]),
                              Integer.parseInt(dateofBirth[1]),
                              Integer.parseInt(dateofBirth[2])),
                        fieldValues[ BankUI.ADDRESS ],
                        fieldValues[ BankUI.NATINTNO ],
                        fieldValues[ BankUI.PHONE ],
                        fieldValues[ BankUI.IDNUMBER ],
              new Date(     Integer.parseInt(startDate[0]),
                              Integer.parseInt(startDate[1]),
                              Integer.parseInt(startDate[2])),
              Float.parseFloat( fieldValues[ BankUI.SALARY ] ));
                        if (!store.isFull())
                             store.add(record);
                        else
                        JOptionPane.showMessageDialog( this, "The Store is full you cannot add\n"+
                         "anymore employees. \nPlease Save Current File and Create a New File." );
                             System.out.println("Store full");
                        store.displayAll();
                        System.out.println("Count is " + store.getCount());
                                  // output record and flush buffer
                        //should be written to fuile in the close file method.
                   output.flush();
                else
                    JOptionPane.showMessageDialog( this,
                       "Account number must be greater than 0",
                       "Bad account number", JOptionPane.ERROR_MESSAGE );
                // clear textfields
                userInterface.clearFields();
             } // end try
             // process invalid account number or balance format
             catch ( NumberFormatException formatException ) {
                JOptionPane.showMessageDialog( this,
                   "Bad ID number, Date or Salary", "Invalid Number Format",
                   JOptionPane.ERROR_MESSAGE );
             // process exceptions from file output
             catch ( ArrayIndexOutOfBoundsException ArrayException ) {
                 JOptionPane.showMessageDialog( this, "Error with Start Date or Date of Birth",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                      // process exceptions from file output
             catch ( IOException ioException ) {
                 JOptionPane.showMessageDialog( this, "Error writing to file",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                closeFile();
          } // end if
       } // end method addRecord
       public static void main( String args[] )
          new CreateSequentialFile();
    } // end class CreateSequentialFile
    /////////////////////////////Code to read and cycle through the file created above///////////
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import bank.*;
    public class ReadSequentialFile extends JFrame {
       private ObjectInputStream input;
       private BankUI userInterface;
       private JButton nextButton, openButton, nextRecordButton ;
       private Store store = new Store(100);
         private Employee employeeList[] = new Employee[100];
         private int count = 0, next = 0;
       // Constructor -- initialize the Frame
       public ReadSequentialFile()
          super( "Add Employee" );
          // create instance of reusable user interface
          userInterface = new BankUI( 9 ); 
          getContentPane().add( userInterface, BorderLayout.CENTER );
          // get reference to generic task button doTask1 from BankUI
          openButton = userInterface.getDoTask1Button();
          openButton.setText( "Open File" );
          // register listener to call openFile when button pressed
          openButton.addActionListener(
             // anonymous inner class to handle openButton event
             new ActionListener() {
                // close file and terminate application
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
          // register window listener for window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // close file and terminate application
                public void windowClosing( WindowEvent event )
                   if ( input != null )
                             closeFile();
                   System.exit( 0 );
             } // end anonymous inner class
          ); // end call to addWindowListener
          // get reference to generic task button doTask2 from BankUI
          nextButton = userInterface.getDoTask2Button();
          nextButton.setText( "Next Record" );
          nextButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   readRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          //get reference to generic task button do Task3 from BankUI
          // get reference to generic task button doTask3 from BankUI
          nextRecordButton = userInterface.getDoTask3Button();
          nextRecordButton.setText( "Get Next Record" );
          nextRecordButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextRecordButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   getNextRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          pack();
          setSize( 600, 300 );
          setVisible( true );
       } // end ReadSequentialFile constructor
       // enable user to select file to open
       private void openFile()
          // display file dialog so user can select file to open
          JFileChooser fileChooser = new JFileChooser();
          fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
          int result = fileChooser.showOpenDialog( this );
          // if user clicked Cancel button on dialog, return
          if ( result == JFileChooser.CANCEL_OPTION )
             return;
          // obtain selected file
          File fileName = fileChooser.getSelectedFile();
          // display error if file name invalid
          if ( fileName == null || fileName.getName().equals( "" ) )
             JOptionPane.showMessageDialog( this, "Invalid File Name",
                "Invalid File Name", JOptionPane.ERROR_MESSAGE );
          else {
             // open file
             try {
                input = new ObjectInputStream(
                   new FileInputStream( fileName ) );
                openButton.setEnabled( false );
                nextButton.setEnabled( true );
             // process exceptions opening file
             catch ( IOException ioException ) {
                JOptionPane.showMessageDialog( this, "Error Opening File",
                   "Error", JOptionPane.ERROR_MESSAGE );
          } // end else
       } // end method openFile
       // read record from file
       public void readRecord()
          Employee record;
          // input the values from the file
          try {
                  record = ( Employee ) input.readObject();
                   employeeList[count++]= record;
                   store.add(record);
              store.displayAll();
              System.out.println("Count is " + store.getCount());
             // create array of Strings to display in GUI
             String values[] = {
                        String.valueOf(record.getName()),
                            String.valueOf(record.getGender()),
                        String.valueOf( record.getDateOfBirth()),
                        String.valueOf( record.getID()),
                             String.valueOf( record.getStartDate()),
                        String.valueOf( record.getSalary()),
                        String.valueOf( record.getAddress()),
                           String.valueOf( record.getNatInsNo()),
                        String.valueOf( record.getPhone())
    // i added all those bits above split onto one line to look neater
             // display record contents
             userInterface.setFieldValues( values );
          // display message when end-of-file reached
          catch ( EOFException endOfFileException ) {
             nextButton.setEnabled( false );
          nextRecordButton.setEnabled( true );
             JOptionPane.showMessageDialog( this, "No more records in file",
                "End of File", JOptionPane.ERROR_MESSAGE );
          // display error message if class is not found
          catch ( ClassNotFoundException classNotFoundException ) {
             JOptionPane.showMessageDialog( this, "Unable to create object",
                "Class Not Found", JOptionPane.ERROR_MESSAGE );
          // display error message if cannot read due to problem with file
          catch ( IOException ioException ) {
             JOptionPane.showMessageDialog( this,
                "Error during read from file",
                "Read Error", JOptionPane.ERROR_MESSAGE );
       } // end method readRecord
       private void getNextRecord()
               Employee record = employeeList[next++%count];//cycles throught accounts
          //create aray of string to display in GUI
          String values[] = {String.valueOf(record.getName()),
             String.valueOf(record.getGender()),
              String.valueOf( record.getStartDate() ), String.valueOf( record.getAddress()),
         String.valueOf( record.getNatInsNo()),
         String.valueOf( record.getPhone()),
             String.valueOf( record.getID() ),
               String.valueOf( record.getDateOfBirth() ),
         String.valueOf( record.getSalary() ) };
         //display record contents
         userInterface.setFieldValues(values);
         //display record contents
      // again i nicked these write them on one line
      // close file and terminate application
       private void closeFile()
          // close file and exit
          try {
             input.close();
             System.exit( 0 );
          // process exception while closing file
          catch ( IOException ioException ) {
             JOptionPane.showMessageDialog( this, "Error closing file",
                "Error", JOptionPane.ERROR_MESSAGE );
             System.exit( 1 );
       } // end method closeFile
       public static void main( String args[] )
          new ReadSequentialFile();
    } // end class ReadSequentialFile

    I tired putting both codes together and got this, it runs but does not do what i want can anybody help me put the above two codes together as one
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import bank.BankUI;
    import bank.*;
    public class togehter extends JFrame {
       private ObjectOutputStream output;
       private BankUI userInterface;
       private JButton enterButton, openButton;
       //private Store store; wont work if i un comment this
       private Employee record;
    // from read
         private ObjectInputStream input;
         private JButton nextButton, openButton2, nextRecordButton ;
            private Store store = new Store(100);
         private Employee employeeList[] = new Employee[100];
         private int count = 0, next = 0;
    // end of read
       // set up GUI
       public togehter()
          super( "Creating a Sequential File of Objects" ); // appears in top of gui
          // create instance of reusable user interface
          userInterface = new BankUI( 9 );  //  textfields
          getContentPane().add( userInterface, BorderLayout.CENTER );
          // configure button doTask1 for use in this program
          openButton = userInterface.getDoTask1Button();
          openButton.setText( "Save to file" );
          // register listener to call openFile when button pressed
          openButton.addActionListener(
             // anonymous inner class to handle openButton event
             new ActionListener() {
                // call openFile when button pressed
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
    // from read
          // get reference to generic task button doTask1 from BankUI
          openButton2 = userInterface.getDoTask1Button();
          openButton2.setText( "Open File" );
          // register listener to call openFile when button pressed
          openButton2.addActionListener(
             // anonymous inner class to handle openButton2 event
             new ActionListener() {
                // close file and terminate application
                public void actionPerformed( ActionEvent event )
                   openFile();
             } // end anonymous inner class
          ); // end call to addActionListener
    // from read end
    // from read
    // register window listener for window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // close file and terminate application
                public void windowClosing( WindowEvent event )
                   if ( input != null )
                             closeFile();
                   System.exit( 0 );
             } // end anonymous inner class
          ); // end call to addWindowListener
    //from read end
    // from read
       // get reference to generic task button doTask2 from BankUI
          nextButton = userInterface.getDoTask2Button();
          nextButton.setText( "Next Record" );
          nextButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   readRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          //get reference to generic task button do Task3 from BankUI
          // get reference to generic task button doTask3 from BankUI
          nextRecordButton = userInterface.getDoTask3Button();
          nextRecordButton.setText( "Get Next Record" );
          nextRecordButton.setEnabled( false );
          // register listener to call readRecord when button pressed
          nextRecordButton.addActionListener(
             // anonymous inner class to handle nextRecord event
             new ActionListener() {
                // call readRecord when user clicks nextRecord
                public void actionPerformed( ActionEvent event )
                   getNextRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
    // from read end
          // configure button doTask2 for use in this program
          enterButton = userInterface.getDoTask2Button();
          enterButton.setText( "Save to file..." );
          enterButton.setEnabled( false );  // disable button
          // register listener to call addRecord when button pressed
          enterButton.addActionListener(
             // anonymous inner class to handle enterButton event
             new ActionListener() {
                // call addRecord when button pressed
                public void actionPerformed( ActionEvent event )
                   addRecord();
             } // end anonymous inner class
          ); // end call to addActionListener
          // register window listener to handle window closing event
          addWindowListener(
             // anonymous inner class to handle windowClosing event
             new WindowAdapter() {
                // add current record in GUI to file, then close file
                public void windowClosing( WindowEvent event )
                             if ( output != null )
                                addRecord();
                                  closeFile();
             } // end anonymous inner class
          ); // end call to addWindowListener
          setSize( 600, 500 );
          setVisible( true );
         store = new Store(100);
       } // end CreateSequentialFile constructor
       // allow user to specify file name
       private void openFile()
          // display file dialog, so user can choose file to open
          JFileChooser fileChooser = new JFileChooser();
          fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
          int result = fileChooser.showSaveDialog( this );
          // if user clicked Cancel button on dialog, return
          if ( result == JFileChooser.CANCEL_OPTION )
             return;
          File fileName = fileChooser.getSelectedFile(); // get selected file
          // display error if invalid
          if ( fileName == null || fileName.getName().equals( "" ) )
             JOptionPane.showMessageDialog( this, "Invalid File Name",
                "Invalid File Name", JOptionPane.ERROR_MESSAGE );
          else {
             // open file
             try {
                output = new ObjectOutputStream(
                   new FileOutputStream( fileName ) );
                openButton.setEnabled( false );
                enterButton.setEnabled( true );
             // process exceptions from opening file
             catch ( IOException ioException ) {
                JOptionPane.showMessageDialog( this, "Error Opening File",
                   "Error", JOptionPane.ERROR_MESSAGE );
          } // end else
       } // end method openFile
    // from read
    public void readRecord()
          Employee record;
          // input the values from the file
          try {
                  record = ( Employee ) input.readObject();
                   employeeList[count++]= record;
                   store.add(record);/////////ADDS record to Store
              store.displayAll();
              System.out.println("Count is " + store.getCount());
             // create array of Strings to display in GUI
             String values[] = {
                        String.valueOf(record.getName()),
                            String.valueOf(record.getGender()),
                        String.valueOf( record.getDateOfBirth()),
                        String.valueOf( record.getID()),
                             String.valueOf( record.getStartDate()),
                        String.valueOf( record.getSalary()),
                        String.valueOf( record.getAddress()),
                           String.valueOf( record.getNatInsNo()),
                        String.valueOf( record.getPhone())
             // display record contents
             userInterface.setFieldValues( values );
          // display message when end-of-file reached
          catch ( EOFException endOfFileException ) {
             nextButton.setEnabled( false );
          nextRecordButton.setEnabled( true );
             JOptionPane.showMessageDialog( this, "No more records in file",
                "End of File", JOptionPane.ERROR_MESSAGE );
          // display error message if class is not found
          catch ( ClassNotFoundException classNotFoundException ) {
             JOptionPane.showMessageDialog( this, "Unable to create object",
                "Class Not Found", JOptionPane.ERROR_MESSAGE );
          // display error message if cannot read due to problem with file
          catch ( IOException ioException ) {
             JOptionPane.showMessageDialog( this,
                "Error during read from file",
                "Read Error", JOptionPane.ERROR_MESSAGE );
       } // end method readRecord
    //from read end
    // from read
    private void getNextRecord()
               Employee record = employeeList[next++%count];//cycles throught accounts
          //create aray of string to display in GUI
          String values[] = {String.valueOf(record.getName()),
             String.valueOf(record.getGender()),
              String.valueOf( record.getStartDate() ), String.valueOf( record.getAddress()),
         String.valueOf( record.getNatInsNo()),
         String.valueOf( record.getPhone()),
             String.valueOf( record.getID() ),
               String.valueOf( record.getDateOfBirth() ),
         String.valueOf( record.getSalary() ) };
         //display record contents
         userInterface.setFieldValues(values);
         //display record contents
    // from read end
       // close file and terminate application
       private void closeFile()
          // close file
          try {
                                            int storeSize = store.getCount();
                                            for (int i = 0; i<storeSize;i++)
                                            output.writeObject(store.elementAt(i));
             output.close();
    input.close(); // from read
             System.exit( 0 );
          // process exceptions from closing file
          catch( IOException ioException ) {
             JOptionPane.showMessageDialog( this, "Error closing file",
                "Error", JOptionPane.ERROR_MESSAGE );
             System.exit( 1 );
       } // end method closeFile
       // add record to file
       public void addRecord()
          int employeeNumber = 0;
          String fieldValues[] = userInterface.getFieldValues();
          // if account field value is not empty
          if ( ! fieldValues[ BankUI.IDNUMBER ].equals( "" ) ) {
             // output values to file
             try {
                employeeNumber = Integer.parseInt(
                   fieldValues[ BankUI.IDNUMBER ] );
                        String dob = fieldValues[ BankUI.DOB ];
                        String[] dateofBirth = dob.split ("-"); // what used to put between number chnage to /
                        String sDate = fieldValues[ BankUI.START ];
                        String[] startDate = sDate.split ("-");
                        String sex = fieldValues[ BankUI.GENDER ];
                        char gender = (sex.charAt(0)); // check if m or f prob check in employee
    if ( employeeNumber >= 0 ) {
                    record  = new Employee(
                    fieldValues[ BankUI.NAME ],
                        gender,
                    new Date(     Integer.parseInt(dateofBirth[0]),
                              Integer.parseInt(dateofBirth[1]),
                              Integer.parseInt(dateofBirth[2])),
                        fieldValues[ BankUI.ADDRESS ],
                        fieldValues[ BankUI.NATINTNO ],
                        fieldValues[ BankUI.PHONE ],
                        fieldValues[ BankUI.IDNUMBER ],
              new Date(     Integer.parseInt(startDate[0]),
                              Integer.parseInt(startDate[1]),
                              Integer.parseInt(startDate[2])),
              Float.parseFloat( fieldValues[ BankUI.SALARY ] ));
                        if (!store.isFull())
                             store.add(record);
                        else
                        JOptionPane.showMessageDialog( this, "The Store is full you cannot add\n"+
                         "anymore employees. \nPlease Save Current File and Create a New File." );
                             System.out.println("Store full");
                        store.displayAll();
                        System.out.println("Count is " + store.getCount());
                             output.flush();
                else
                    JOptionPane.showMessageDialog( this,
                       "Account number must be greater than 0",
                       "Bad account number", JOptionPane.ERROR_MESSAGE );
                // clear textfields
                userInterface.clearFields();
             } // end try
             // process invalid account number or balance format
             catch ( NumberFormatException formatException ) {
                JOptionPane.showMessageDialog( this,
                   "Bad ID number, Date or Salary", "Invalid Number Format",
                   JOptionPane.ERROR_MESSAGE );
             // process exceptions from file output
             catch ( ArrayIndexOutOfBoundsException ArrayException ) {
                 JOptionPane.showMessageDialog( this, "Error with Start Date or Date of Birth",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                      // process exceptions from file output
             catch ( IOException ioException ) {
                 JOptionPane.showMessageDialog( this, "Error writing to file",
                    "IO Exception", JOptionPane.ERROR_MESSAGE );
                closeFile();
          } // end if
       } // end method addRecord
       public static void main( String args[] )
          new togehter();
    } // end class CreateSequentialFileI GOT IT WORKING BUT THERE WAS A WEIRD ERROR I GET WHEN TRYING TO READ A FILE I JUST WROTE THE THREAD FOR THAT CAN BE FOUND:
    http://forum.java.sun.com/thread.jspa?threadID=5147209
    Message was edited by:
    ajrobson

  • Need help with PS CS5 crashing while openinng specific document!

    Good morning all, I am the network admin at my company, and i have a user expereicneing a strange issue.  I do not know much about PS, other than how to install it, so i am at a loss to troublshoot this issue.  Any help would be greatly appreciated.
    Background: Computer is a Dell Precision 690 with 4GB RAM, running windows 7 pro x64 with SP1 (this was happening before SP1 was applied as well). Video card is nVidia Quadro NVS 285 .  I have fully updated and patched everything i can find, including using the most up to date, and "performance" drivers from nVidia (neither driver solved the problem) for the video card.  I could not find a partner certified driver for this partticular card.  The software is Photoshop CS5 version Version: 12.0.3 (12.0.3x20101211 [20101211.r.1222 2010/12/11:02:00:00 cutoff; r branch]) x64.
    I have another user, with the exact same computer, and exact same software (they were made form the same image) whom does not have this problem.
    The issue:  Basically, when opening this one particular image (from the users desktop) PS crashes and throws up the following error.  Sometimes it will actually display the image, then crash as soon as you try to even so much as click anywhere on the image.  Other times it conks out before the image is even displayed.
    Problem signature:
    Problem Event Name:     APPCRASH
    Application Name:     Photoshop.exe
    Application Version:     12.0.3.0
    Application Timestamp:     4d035d7d
    Fault Module Name:     CoolType.dll
    Fault Module Version:     5.7.83.10783
    Fault Module Timestamp:     4cab0d45
    Exception Code:     c0000005
    Exception Offset:     0000000000033a38
    OS Version:     6.1.7601.2.1.0.256.48
    Locale ID:     1033
    Additional Information 1:     3a1d
    Additional Information 2:     3a1d09b5925693dbcbec7b77fa814510
    Additional Information 3:     bce7
    Additional Information 4:     bce7b9096fa4d3e33239f38f9b4cacd0
    My user says there is nothing fancy or odd about this image, and the filesize wasn't any bigger than anything else he works on.  What really baffles me is that the other user with the same setup has no issue...  Thanks in advance!
    -Jim

    Since CoolType is implicated, it seems likely that user has installed a font that throws Photoshop for a loop.  The recourse in that case is to try to figure out which one it is and remove it from the system (and/or reinstall an un-corrupted copy of that font).
    Some tricks to try to figure out which font it is:
    1.  Look in the document that's failing to open with the other user's copy of Photoshop.  See what fonts are there.
    2.  Create a new document on the offending machine, invoke the Horizontal Type Tool, then open the font list.  You might find the list stops abruptly before the offending font.
    3.  Remove all fonts except the Windows standard ones, see if the problem goes away, then add them back piecemeal until the problem recurs.
    If the above doesn't get you success, another thing to think about when a problem is user-specific:   You might reset their Photoshop preferences to out-of-box defaults.  To do that you press and hold Control-Shift-Alt immediately after starting Photoshop from its menu entry or shortcut.  You have to be very quick, and if you do get its attention it will prompt and ask whether the preferences should be reset.  Keep in mind some Photoshop reconfiguration will need to happen after you do this, so it's not something to do lightly or you might get your users upset at you.
    Best of luck.
    -Noel

  • Really need help with CS5 constantly crashing.

    I last posted here about 5 months ago with problems with CS5 hanging or crashing. And then the advice was to remove all third-party plugins which I did, I also deleted a whole slew of fonts that had been installed by other applications without my really noticing. Something worked, because CS5 became relatively stable. I was able to work on big multi-layered files. I even reintroduced some of my plugins without causing any problems. But a few weeks ago it started crashing again. It is much worse than before, I can't use it for more than a few minutes, usually, before getting the dreaded "stopped working" error message. Sometimes I don't even get past Camera Raw, because Camera Raw hangs. The crashes seem to be random, they don't occur in relation to a particular task, it can happen when I am opening a file, or saving one, or at almost any time in between.
    It is CS5 32 bit on Vista Home Premium (32 bit). I have 4gb of RAM, the graphics card is an ATI Radeon 3800 series with 512GB. (Not the greatest, I know, but it is on Adobe's list as a supported card. I don't mind upgrading the card but I'd like to know that it will solve the problem.) It has the latest drivers installed. I've tried running Photoshop with with Open GL Enabled and with it not enabled. It doesn't make any difference. I have reset the preferences. I have, of course, uninstalled all the third party plugins. I've checked for duplicate and corrupt fonts. I uninstalled and reinstalled CS5 and all the updates. Nothing has helped and i have no idea what else to try.
    (The really infuriating thing is that CS runs and is stable on my old laptop, which is running XP and has integrated graphics and 1GB of RAM. It's very, very slow, and I can't imagine what it would be like if I was trying to work with loads of layers, but it never crashes.)
    The Event Viewer log description is not enlightening, unless I am missing something:  Faulting application Photoshop.exe, version 12.0.4.0, time stamp 0x4d9d8cbc, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x5b780000, process id 0x%9, application start time 0x%10.
    Any suggestions would be most welcome. I have work piling up and I'm getting desperate.

    Thank you, Noel and Chris.
    Chris, that is exactly what is in the log:
    process id 0x%9, application start time 0x%10.
    I guess I should start really worrying now, then!
    Malware, well, I do regular complete scans. The last one was just a couple of days ago. I'll do another.
    A few days ago I also ran sfc/scannow, which reported some corrupt files, which were supposedly repaired. And some files that could not be repaired, which the cbs log revealed to be some truetype fonts (not system fonts). I reinstalled the fonts anyway. Running the scan doesn't reveal anything now, but I don't know how how reliable it is.
    Re the .NET error, I wonder if this relates to the shutdown process. I have noticed that after getting the message that Windows is closing Photoshop it then sometimes hangs and I have to close it manually from Task Manager.
    Noel, I have checked the RAM, though only using Windows Memory Diagnostic. It didn't find anything amiss. I also ran CHKDSK, which didn't find any hard drive errors.
    But bottom line, it looks like my problem is a system problem and not a Photoshop one, I guess, so I really shouldn't even be posting all this rubbish here! I'm still not sure why the only application so far affected is Photoshop, except that perhaps it is the most resource hungry application that I run.
    I think I need to make the time to buy that new system.
    Thanks again!

  • Need help with doing two things at once

    hey all!
    i'm trying to write a program where the user has twenty seconds to guess the houshold item. every five seconds the pc gives a clue, if the user manages to guess it in time, they win! else...
    anyway, my compiler comes up with nothing but when i execute it and press "go" to start the process, the program does what it is meant to exept for at the end where it always displays "you lose" regardless of anything that has happened.i'm not sure what i'm doing wrong.
    here's the code:
    import java.util.Random;
    import javax.swing.event.DocumentListener;
    import javax.swing.event.DocumentEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.FlowLayout;
    import static java.lang.System.out;
    import java.util.Timer;
    import java.util.TimerTask;
    class Quiz extends JFrame implements ActionListener, ItemListener{
         public static void main(String args[]){
              new Quiz();
         String qp;
         int duh = 1;
         int funnum = 0;
         Timer othertime = new Timer();
         JLabel ql1 = new JLabel();
         JLabel ql2 = new JLabel();
         JLabel ql3 = new JLabel();
         JLabel ql4 = new JLabel();
         JLabel ql5 = new JLabel();
         JLabel ql6 = new JLabel();
         JLabel timelabel = new JLabel();
        JButton qlb1 = new JButton("go");
        JComboBox box = new JComboBox();
         public Quiz(){
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         setLayout(new FlowLayout());
         add(ql1);
         ql1.setVisible(false);
         add(ql2);
         ql2.setVisible(false);
         add(ql3);
         ql3.setVisible(false);
         add(ql4);
         ql4.setVisible(false);
         add(ql5);
         ql5.setVisible(false);
         add(ql6);
         add(timelabel);
         add(qlb1);
         qlb1.addActionListener(this);
         add(box);
         box.addItem("");
         box.addItem("shower");
         box.addItem("bed");
         box.addItem("spade");
         box.addItem("knife");
         box.addItem("book");
         box.addItem("rake");
         box.addItem("bookshelf");
         box.addItem("sink");
         box.addItem("bedside lamp");
         box.addItem("wooden spoon");
         box.addItem("'quiet' sign");
         box.addItem("baking tray");
         box.addItem("desk");
         box.addItem("toilet");
         box.addItem("compost");
         box.addItem("pillow");
         box.addItem("blanket");
         box.addItem("pan");
         box.addItem("study computer");
         box.addItem("tap");
         box.addItem("bookworms");
         box.addItem("duvey");
         box.addItem("bath");
         box.addItem("plants");
         box.addItem("cooker");
         box.addItem("trampoline");
         box.addItemListener(this);
         box.setEnabled(false);
         pack();
         setVisible(true);     
         public void actionPerformed(ActionEvent e){
         qlb1.setEnabled(false);
         int rndmnm = new Random().nextInt(10)+1;
         final int getnum = rndmnm;
         switch(getnum){
         case 1:
         ql1.setText("this is a kitchen item");
         ql2.setText("it is used for cooking");
         ql3.setText("it requires heat");
         ql4.setText("it needs greasy paper");
         qp = "baking tray";
         break;
         case 2:
             ql1.setText("this is a kitchen item");
             ql2.setText("this item has no food put into it to cook");
             ql3.setText("this item does not require heat");
             ql4.setText("it is used for mixing ingredients");
             qp = "wooden spoon";
            break;
           case 3:
             ql1.setText("this is a bathroom item");
             ql2.setText("it is used when washing");
             ql3.setText("it does not create foam");
             ql4.setText("it can be relaxing");
             qp = "bath";
                break;
                case 4:
                ql1.setText("this is a bathroom item");
                ql2.setText("it squirts water");
                ql3.setText("it is stationary");
                ql4.setText("temperature does not matter");
                qp = "toilet";
                break;
                case 5:
                ql1.setText("this is a bedroom item");
                ql2.setText("it is slept on top of");
                ql3.setText("all except the head sleeps on top of it");
                ql4.setText("it is not hard");
                qp = "duvey";
                break;
                case 6:
                ql1.setText("this is a bedroom item");
                ql2.setText("it is not hard");
                ql3.setText("legs generally never lie on top of it");
                ql4.setText("it is nearly as long as the duve");
                qp = "blanket";
                break;
                case 7:
                ql1.setText("this is a library item");
                ql2.setText("it is of great use");
                ql3.setText("it is material");
                ql4.setText("it stores much data");
                qp = "bookshelf";
                break;
                case 8:
                ql1.setText("this is a library item");
                ql2.setText("it is simple to use");
                ql3.setText("you do not nead to search much to find it");
                ql4.setText("it is not made of wood or other carpentry material");
                qp = "'quiet' sign";
                break;
                case 9:
                ql1.setText("this is a garden item");
                ql2.setText("it covers area");
                ql3.setText("it can crush plants...");
                ql4.setText("...but is also very useful to them");
                qp = "compost";
                break;
                default:
                ql1.setText("this is a garden item");
                ql2.setText("it requires heavy work to do");
                ql3.setText("and good looking after");
                ql4.setText("the outcome is surprisingly delicate");
                qp = "plants";
                break;
         othertime.scheduleAtFixedRate(new TimerTask() {
                   int otherval = 0;
                   public void run() {
                        switch (otherval)
                             case 1:
                             timelabel.setText("20");
                                  ql5.setText(qp);
                                  ql1.setVisible(true);
                                  box.setEnabled(true);
                                  break;
                             case 2:
                                 timelabel.setText("19");
                                 break;
                                      case 3:
                                 timelabel.setText("18");
                                 break;
                                      case 4:
                                 timelabel.setText("17");
                                 break;
                             case 5:
                                  timelabel.setText("16");
                                  ql2.setVisible(true);
                                  break;
                                       case 6:
                                 timelabel.setText("15");
                                 break;
                                      case 7:
                                 timelabel.setText("14");
                                 break;
                                      case 8:
                                 timelabel.setText("13");
                                 break;
                                      case 9:
                                 timelabel.setText("12");
                                 break;
                             case 10:
                                 timelabel.setText("11");
                                  ql3.setVisible(true);
                                  break;
                                       case 11:
                                 timelabel.setText("10");
                                 break;
                                      case 12:
                                 timelabel.setText("9");
                                 break;
                                      case 13:
                                 timelabel.setText("8");
                                 break;
                                      case 14:
                                 timelabel.setText("7");
                                 break;
                             case 15:
                             timelabel.setText("6");
                                  ql4.setVisible(true);
                                  break;
                                       case 16:
                                 timelabel.setText("5");
                                 break;
                                      case 17:
                                 timelabel.setText("4");
                                 break;
                                      case 18:
                                 timelabel.setText("3");
                                 break;
                                      case 19:
                                 timelabel.setText("2");
                                 break;
                             case 20:
                                 timelabel.setText("1");
                                 break;
                             case 21:
                                 timelabel.setText("");
                                 duh --;
                             if(duh == 1){
                             ql6.setText("you win!!!");     
                             } else {
                             ql6.setText("you lose");
                                  break;
                        otherval++;
                   } }, 1000, 1000);
           public void itemStateChanged(ItemEvent e){
                        box.setEnabled(false);
                        if(box.getSelectedItem() == ql5.getText()){
                        duh ++;
                        } else {
                      funnum ++;
      }as i say, the ending will always be "you lose".
    anyhoo, for those of you who want a question its "what am i doing wrong that prevents the user from winning?"
    thankyou for your help (if you do help).

    the point of the decremation is that duh is incremented if you get the answer right,
    public void itemStateChanged(ItemEvent e){
                        box.setEnabled(false);
                        if(box.getSelectedItem() == ql5.getText()){
                        duh ++;
                        } else {
                      funnum ++;
                   } and then duh is decremented, like so:
         case 21:
                                 timelabel.setText("");
                                 duh --;
                             if(duh == 1){
                             ql6.setText("you win!!!");     
                             } else {
                             ql6.setText("you lose");
                                  break;the point is that if the user gets it right, duh should be incremented, then in the switch statements decrements the value of duh. so if the user got it right, duh should equal 1. else duh will be decreased to zero
    hope that makes it more clear (i'm not very good with explaining stuff)

  • Need help with adobe flash crashing my computer.

    i use firefox is this a problem with adobe flash?

    You might want to give some specifics. Other then my computer crashes with Adobe....Not to be a S.A but there are a lot of different Adobe programs and computers. You mention FF so Windows would be my guess, or you could be running Linux. Do you see the variables here? What kind of computer? Not a Desktop or Laptop or Dell or HP. Specs like GPU, CPU, Memory. Program running, what you were doing, etc. The more detailed you are the more a user can hop in and try and help you.

  • Need Help With Combining Two Variables For A Redirect

    Hello-
    <br />
    <br />In a different part of my site (built with ADDT) I have this script that creates a variable by combining two session variables, and then the new variable is submitted into a mysqul database table using a hidden form field:
    <br />
    <br />
    <form>
    <input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_login_user']; ?><?php echo $_SESSION['kt_exer_reference']; ?> <br />" />
    <br />
    <br />There is also this part of the script in the header script:
    <br />
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "POST", "exerreference");
    <br />
    <br />What I am trying to do now on another page is combine a session variable "kt_login_user" with a piece of dynamic text "AA" so that I can compare it to the field "exerreference" that was inserted into the database using the above script. If the two variables match, the idea is to have a redirect to another page.
    <br />
    <br />So in a hypothetical example, if the value of the session variable "kt_login_user " is "bestperson," and static text is "AA" then I need to create the variable bestpersonAA (because this is how the variables exist in the exerreference recordset). This variable bestpersonAA then needs to be compared to the recordset value exerreference and if they match, the page redirects to ../previous/portalpre.php. If the two variables do not match, then there is no redirect.
    <br />
    <br />Here is what I have so far:
    <br />
    <br />if (isset($_SESSION['kt_login_user']))
    <br />{
    <br />if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    <br />{
    <br /> header ("Location: ../previous/portalpre.php");
    <br />}
    <br />}
    <br />
    <br />The script doesn't work yet - it's redirecting regardless of if the two varibles match. Any ideas on the correct syntax to get this working correctly?
    <br />
    <br />Thanks
    <br />Dale</form>

    Hi Dale,
    if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    for checking whether two variables match, you´ll need the == comparison operator:
    if ($_SESSION['kt_login_user'.'AA'] == $row_Recordsetexer1['exerreference'])
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Need help with these error.

    Hi,
    While trying to boot the app server i encounter these error. I notice it when i view the TUXLOG file:
    114559.ehr.nc.com.my!PSADMIN.5476: Begin attempt on domain enchrms9
    114601.ehr.nc.com.my!tmadmin.7308.3086382784.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
    114603.ehr.nc.com.my!tmboot.7316.3086133456.-2: 05-12-2009: Tuxedo Version 9.1, 32-bit
    114603.ehr.nc.com.my!tmboot.7316.3086133456.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 60 seconds
    114603.ehr.nc.com.my!tmboot.7316.3086133456.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    114604.ehr.nc.com.my!BBL.25165.3086620352.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server WATCH/1
    114605.ehr.nc.com.my!BBL.7321.3085944512.0: 05-12-2009: Tuxedo Version 9.1, 32-bit, Patch Level 036
    114605.ehr.nc.com.my!BBL.7321.3085944512.0: LIBTUX_CAT:262: INFO: Standard main starting
    114607.ehr.nc.com.my!tmboot.7328.3086420176.-2: 05-12-2009: Tuxedo Version 9.1, 32-bit
    114607.ehr.nc.com.my!tmboot.7328.3086420176.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 60 seconds
    114607.ehr.nc.com.my!tmboot.7328.3086420176.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    114607.ehr.nc.com.my!PSWATCHSRV.7329.3086382784.-2: 05-12-2009: Tuxedo Version 9.1, 32-bit
    114607.ehr.nc.com.my!PSWATCHSRV.7329.3086382784.-2: LIBTUX_CAT:262: INFO: Standard main starting
    114607.ehr.nc.com.my!PSAPPSRV.7330.3086760688.0: 05-12-2009: Tuxedo Version 9.1, 32-bit
    114607.ehr.nc.com.my!PSAPPSRV.7330.3086760688.0: LIBTUX_CAT:262: INFO: Standard main starting
    114614.ehr.nc.com.my!BBL.25165.3086620352.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server WATCH/1
    114614.ehr.nc.com.my!cleanupsrv.7345.3086157504.-2: 05-12-2009: Tuxedo Version 9.1, 32-bit
    *114614.ehr.nc.com.my!cleanupsrv.7345.3086157504.-2: server WATCH/1: CMDTUX_CAT:536: ERROR: Server to be cleaned up is still running.*
    *114614.ehr.nc.com.my!cleanupsrv.7345.3086157504.-2: CMDTUX_CAT:557: ERROR: Automatic Server Recovery failure;*
    *          Server processes require manual intervention.*
    114624.ehr.nc.com.my!BBL.25165.3086620352.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server WATCH/1
    114624.ehr.nc.com.my!cleanupsrv.7410.3086935744.-2: 05-12-2009: Tuxedo Version 9.1, 32-bit
    114624.ehr.nc.com.my!cleanupsrv.7410.3086935744.-2: server WATCH/1: CMDTUX_CAT:536: ERROR: Server to be cleaned up is still running.
    I need some further explanation on these 2 error.
    Thanks

    hi Sujai,
    204036.psweb.tf.net!BBL.10485.3086112992.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server APPSRV/1
    204036.psweb.tf.net!BBL.10485.3086112992.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server WATCH/1
    204036.psweb.tf.net!BBL.10485.3086112992.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server APPSRV/2
    204036.psweb.tf.net!BBL.10485.3086112992.0: LIBTUX_CAT:550: WARN: Cleaning up restartable server APPSRV/3
    204036.psweb.tf.net!cleanupsrv.6640.3086874304.-2: 03-28-2011: Tuxedo Version 9.1, 32-bit
    204036.psweb.tf.net!cleanupsrv.6640.3086874304.-2: server APPSRV/1: CMDTUX_CAT:536: ERROR: Server to be cleaned up is still running.
    204036.psweb.tf.net!cleanupsrv.6640.3086874304.-2: CMDTUX_CAT:557: ERROR: Automatic Server Recovery failure;
    Server processes require manual intervention.
    This error is there a way around it?

  • I need help with combining two pdf files together but it won't let me in the latest Acrobat DC?

    Hi,
    I had two ai files, 11 by 17 on separate pages, and made them into pdf's. When I combine the files, it will let one out of the two files go through. The funny thing is that it will let the larger file go through than the smaller file. The file that went through had been in  ai, dropped it into photoshop and put it back into ai again. The file that won't go through is a quote with different text. What should I do? What does pdf/a, pdf/x, pdf/e and preflight mean?
    Thank you

    Make sure neither of the PDF have been secured in some manner like password protection, form rights or forms distribution.
    Forms created with live cycle cannot be combined by Acrobat.

Maybe you are looking for

  • How do I get back to the default view when iTunes is showing is the MiniPlayer?

    When I fire up iTunes on my PC all that shows is the mini-player.  I can't figure out how to get back to the default view. I have installed the latest update (11.0.3) for the Windows 64-bit system.

  • QT Pro key - Migrating from PB to MBP

    Hello there, I just got a MacBook Pro and transfered (just about everything transferable) from my old PB using the Migration Assistant. I can see that my QT Pro key was transfered over with the migration process that was part of the original configur

  • BootCamp fails after installation of Windows 7 Ultimate 64bit

    So guys , as we know loads of people had same issue i been searching it for whole day and couldnt get any answer. First i have installed Windows XP home 32bit sp3 whole computer worked like charm. Today i have deleted xp did re partition installed Wi

  • Explain the terms of  Revaluations,Goods Movements,Material Stocks.

    Hi all, I am technical consultant, need to under satnd the terms in Inventory Evaluation so please help me regarding the below things: 1. Please tell what is" Revaluations" process in Inventory & what is this effect on stock? 2. what is the Goods Mov

  • Transfer data from iMac to MacBook

    My daughter have a profile on my iMac and she will now get a Macbook. What is the best process to transfer her complete profile from the iMac to the new Macbook?