Record insertion problem and another question...

I know I'm now php mysql expert so I am trying to use the
insertion wizard and I can make the form and have it supposed to
link to another page after its done inserting but when I run the
page and fill in the details it inserts the record but does not
goto the directed page and also shows the error:
Warning: Cannot modify header information - headers already
sent in C:\wamp\www\toursite\admin\users\add.php on line 56
and on line 56 is:
header(sprintf("Location: %s", $insertGoTo));
Can anyone help me here?
My second problem is not really a dreamweaver problem but it
may be linked to it. Im using a server package called WAMP and
pages that I can run will sometimes cause and error box to popup
saying that Apache has caused error, the box that gives you the
option of sending the report or not. Anyone know what the problem
is here?
If I have not given enough information to help please ask for
more.
Thanks
Dan

mondan wrote:
> Warning: Cannot modify header information - headers
already sent in
> C:\wamp\www\toursite\admin\users\add.php on line 56
> and on line 56 is:
> header(sprintf("Location: %s", $insertGoTo));
> Can anyone help me here?
The headers already sent error is a common problem that
baffles
beginners. It's caused by some output being sent to the
browser before a
call to certain functions, such as header() or
session_start(). You need
to eliminate that output, and the problem will go away.
Common causes of output are:
* Blank space before the opening PHP tag
* Blank space before the opening PHP tage or after the
closing PHP tag
of any include files
* Use of echo or print anywhere before the call to the
problem function
* Error messages generated by PHP
> Im using a server package called WAMP and pages that I
can run will
> sometimes cause and error box to popup saying that
Apache has caused error, the
> box that gives you the option of sending the report or
not.
None of the server packages are endorsed by PHP. Some are
good, others
not so good. It sounds as though you have a bad installation.
Seek
advice from the WAMP team or support forum if they have one.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Applet problems and another question

    Hey guys, I am having two problems with some code of mine.
    (1) I can't get this code to run in a browser, it says the class DrawingFrame is not found, but it is in the same directory and it runs using JBuilder in an applet viewer. What is wrong?
    (2) I need to calculate the lengths of the paths in a fractal tree. I have no idea how to do this correctly. I can calculate it when both path scales are the same but when they are different everything is shot. Plus it prints out twice as many lengths as there are paths!
    Please help with this problem, I have been pulling my hair out, thanks.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import com.borland.jbcl.layout.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    import java.awt.geom.*;
    import java.io.*;
    import java.util.Vector;
    public class DrawingFrame extends JApplet {
      JPanel contentPane;
      XYLayout xYLayout = new XYLayout();
      Graphics g = getGraphics();
      Button startButton = new Button();
      Button clearButton = new Button();
      Label rRatioLabel = new Label("R Branch %");
      Label lRatioLabel = new Label("L Branch %");
      Label rAngleLabel = new Label("R Angle");
      Label lAngleLabel = new Label("L Angle");
      Label iterationsLabel = new Label("# Iterations");
      TextField rRatio = new TextField("60");
      TextField lRatio = new TextField("60");
      TextField rAngle = new TextField("45");
      TextField lAngle = new TextField("45");
      TextArea pathLength = new TextArea();
      TextField iterations = new TextField("3");
      void clearButton_actionPerformed(ActionEvent e) {
            Graphics g = getGraphics();
            reset(g);
            }  //end clearButton_actionPerformed
      void startButton_actionPerformed(ActionEvent e) {
          Graphics g = getGraphics();
          int rRat = Integer.valueOf(rRatio.getText()).intValue();
          int lRat = Integer.valueOf(lRatio.getText()).intValue();
          int rAng = Integer.valueOf(rAngle.getText()).intValue();
          int lAng = Integer.valueOf(lAngle.getText()).intValue();
          int itera = Integer.valueOf(iterations.getText()).intValue();
          assignStats(contentPane.getWidth()/2,contentPane.getHeight()-20,rRat,lRat,rAng,lAng,itera);
           drawTree(g,contentPane.getWidth()/2,contentPane.getHeight()-100, Math.PI/2, 100, 100, itera, 100, 100);
             }  //end startButton_action performed
             private int xstart,ystart;
             double rRat, lRat, rAng, lAng,lLength,rLength;
             int itera;
      public void assignStats(int xStart, int yStart, int rRat, int lRat, int rAng, int lAng, int itera)  {
                  xstart = xStart;
                  ystart = yStart;
                  this.rRat = (double)rRat/100;
                  this.lRat = (double)lRat/100;
                  this.rAng = (double)180/rAng;
                  this.lAng = (double)180/lAng;
                  this.itera = itera;
                }  // end assignLocation
      public void drawTree( Graphics g, int x, int y, double a, double lLength, double rLength, int itera, double rpath, double lpath)  {
             if (itera<0) {
               rpath = rpath - lLength;
               pathLength.append(rpath+" ");
               return;
                   int x0 = x + (int)(lLength*Math.cos(a));
                   int y0 = y - (int)(lLength*Math.sin(a));
                   g.drawLine(x, y, x0, y0);
                   lLength = lLength*lRat;
                   rLength = rLength*rRat;
                   rpath = rpath + lLength;
                   lpath = lpath + rLength;
                   double a0 = a+Math.PI/rAng;
                   double a1 = a-Math.PI/lAng;
                   itera--;
                   drawTree(g, x0, y0, a0, lLength, rLength, itera, lpath, rpath);
                   drawTree(g, x0, y0, a1, rLength, rLength, itera, rpath, lpath);
      public void reset(Graphics g) {
                   g.setColor(Color.lightGray);
                   pathLength.setText("");
                   g.fillRect(0,0,900,900);
                   }  //end reset
                 //Component initialization
      public void init() {
               startButton.setBackground(Color.red);
               startButton.setFont(new java.awt.Font("Dialog", 1, 14));
               startButton.setForeground(Color.blue);
               clearButton.setBackground(Color.red);
               clearButton.setFont(new java.awt.Font("Dialog", 1, 14));
               clearButton.setForeground(Color.blue);
               startButton.setLabel("Draw Tree");
               clearButton.setLabel("Clear Tree");
         startButton.addActionListener(new java.awt.event.ActionListener() {
                 public void actionPerformed(ActionEvent e) {
                        startButton_actionPerformed(e);
         clearButton.addActionListener(new java.awt.event.ActionListener() {
                           public void actionPerformed(ActionEvent e) {
                             clearButton_actionPerformed(e);
                     contentPane = (JPanel) this.getContentPane();
                     contentPane.setLayout(xYLayout);
                     this.setForeground(Color.black);
                     contentPane.setBackground(Color.lightGray);
                     contentPane.add(startButton, new XYConstraints(470, 5, 119, -1));
                     contentPane.add(clearButton, new XYConstraints(470, 35, 119, -1));
                     contentPane.add(rRatioLabel, new XYConstraints(10, 10, 60, 18));
                     contentPane.add(lRatioLabel, new XYConstraints(90, 10, 60, 18));
                     contentPane.add(rAngleLabel, new XYConstraints(170, 10, 60, 18));
                     contentPane.add(lAngleLabel, new XYConstraints(250, 10, 60, 18));
                     contentPane.add(iterationsLabel, new XYConstraints(330, 10, 60, 18));
                     contentPane.add(rRatio, new XYConstraints(10, 25, 50, 18));
                     contentPane.add(lRatio, new XYConstraints(90, 25, 50, 18));
                     contentPane.add(rAngle, new XYConstraints(170, 25, 50, 18));
                     contentPane.add(lAngle, new XYConstraints(250, 25, 50, 18));
                     contentPane.add(pathLength, new XYConstraints(10,65,760,75));
                     contentPane.add(iterations, new XYConstraints(330, 25, 50, 18));
                 }  //end drawingFrame

    You are using Swing in an applet.
    1) Are you using Sun's plugin (JRE 1.4) or Microsoft JVM?
    2) The code
    import com.borland.jbcl.layout.*;indicates that you probably would have to include some Borland classes in your applet JAR file (I don't know which ones to include!) if you want to run the applet.
    List the JAR please:
    jar tf <your applet jar file>
    Example:
    jar tf myapplet.jar
    It will help you.
    For instance, if you do not get in your listing a line like:
    DrawingFrame.class
    your applet will never run.

  • According your advice reset my home screen layout but not yet show apple store application and another question when I any thing brows from apple site by safari then show "this address is invalided" please advice me......

    According your advice reset my home screen layout but not yet show apple store application and another question when I any thing brows from apple site by safari then show "this address is invalided" please advice me......

    I am using windows Vista and having this problem also (not exactly, but iTunes gives pop-up that "files are in use"). Acting a suggestion from another answer in this thread, I clicked on Computer and selected eject...windows did warn me that the device was in use, but also gave me a CONTINUE button, which I clicked and it was ejected...had to go back to iTunes and eject the iPod there also, but it did eject

  • Find record insert date and time in a table

    Hi All,
    I want to get record insert date and time in a table. There is no datetime column in my table. Are there any possibility to get date and time for each record?
    Thank You

    Thats not easy. If your transaction info still resides on active portion of the log you can use fn_dblog to read out the time at which the transactions occurs. This is useful only if you try it shortly after transaction.
    the code would look like this
    SELECT *
    FROM fn_dblog(null,null)
    WHERE [Transaction Name] LIKE 'INSERT%'
    OR [Transaction Name] LIKE 'UPDATE%'
    Also see
    http://www.mssqltips.com/sqlservertip/3076/how-to-read-the-sql-server-database-transaction-log/
    http://solutioncenter.apexsql.com/read-a-sql-server-transaction-log/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • 8 G Nano Freezing Problems--How Widespread Is It And Another Question

    I got this 8 G Nano about 1 and 1/2 weeks ago. Last night it froze. I did the "hold switch on and off" and it worked. Then I did the "center and menu" option which gave me the Apple icon when I turned it on with a prompt to use iTunes to restore the Nano. Since I am away from my computer, I have not be able to do that yet. My questions are: how widespread is the freezing problem and is there anything I can do to lessen the chances of it occuring, and since I got the Apple icon on the screen will I encounter any problems when I do the restore?

    I think it would be a little bit of a skewed judgement of how widespread any particular problem is based on the responses on this board. You have to keep in mind that most people come here in the first place because of a problem they are experiencing. So it's likely that the ratio on here would be extremely high. The people that post on here only represent a small number (ratio wise) of ipod users world wide so over all the problems described on here may not be as widespread as it may appear (also keep in mind that other sites where complaints are logged would have the same issue...and it's very likely that a number of the complaints here are reposted on various sites by the same people). On here, I am one of the few people that has not experienced the majority of the issues that others have posted about. I have not had to reset my ipod or do a restore or go through any of the 5 R's. On here I feel like I may be on of the lucky minority but the people around me represent a different picture. No problems with their units with the exception of the on-the-go playlists bug and the initial firmware bugs everyone experienced.
    As for experiencing any problems when you go to restore due to you having the Apple icon...in theory I would like to tell you no, you won't have any problems, but the reality seems to be that it's impossible to really predict what will happen.
    Hope all works out for you.

  • Recurrent single record Insert problems

    Hi,
    we have on production environment a Java based application that makes aprox 40.000 single record Inserts per hour into a table.
    We ha traced the performance of this Insert and the medium time is 3ms, that is ok. Our Java architecture is based in Websphere Application Server and we access to Oracle 10g through a WAS datasource.
    But we have detected that 3 or 4 times a day, during aprox 30 seconds, the Java service is not able to make any insertion in that table. And suddenly it makes all the "queued inserts" in only 1 second. That "pause" in the insertion cause problems of navigation because is the top layer there is a web application.
    We are sure that is not a problem with the WAS or the Java code. We are sure that is a problem with the Oracle configuration, or some tunning action for this kind of applications that we don´t know. We first thought it could be a problem with a sequence field in the table. Also, a problem when occurs the change of the redo log. But we've checked it with our DBA and this is not the problem.
    Has anybody any idea of what could be the origin of this extrange behaviour?
    Thanks a lot in advance.
    Jose.

    If by one single disk you mean a single physical disk then spreading the online redo lobs onto multiple disks would be a good idea. Log Group A should be on a seperate disk from Log Group B and the members of each log group should also be on seperate disks.
    Note that Oracle does not stop processing when it does a checkpoiint. Here is basically how it works. When online redo LogA fills a checkpoint is signaled and Oracle immediately starts writing to LogB. The ckeck point is processed by ckpt and dbwr.
    If logB fills and a switch to LogC occurs before the ckeckpoint signaled by the switch from LogA to LogB has completed then you get the checkpoint not complete information message. Oracle will continue processing though it has more work to do having to combine two ckeckpoints. If the problem continues then you get 3 and 4 checkpoints backed up. This will bog Oracle down as the buffer cache has to be pretty full at this point. You cannot read data unless you have a clean buffer to read into.
    The checkpoint not complete message normally means your online redo logs are too small and are filling too quickly. In the absence of Data Guard configured to use log shipping you should look to see how many log switches you are doing per day. If is is more the 24 - 48 then increase the size of the online redo logs.
    Database writer performance issues are the next area you would want to ckeck after properly sizing the online redo logs and verifying the IO performance of log writer. Pretty much all you can do to help log writer IO is put enough physical disk under the logs to spread the IO out.
    If your problem is caused by the activity level during peak periods then setting MTTR probably will not help since dbwr will be busy writing anyway.
    You really should run a statspack or AWR report to help clarify the issue.
    If you determine you are switching online redo logs too many times and increase the size take a set of statspack both before and after you make the change. This will help you see the effect on the database as a whole.
    HTH -- Mark D Powell --

  • LR 4.4 (and 5.0?) catalog: a problem and some questions

    Introductory Remark
    After several years of reluctance this March I changed to LR due to its retouching capabilities. Unfortunately – beyond enjoying some really nice features of LR – I keep struggling with several problems, many of which have been covered in this forum. In this thread I describe a problem with a particular LR 4.4 catalog and put some general questions.
    A few days ago I upgraded to 5.0. Unfortunately it turned out to produce even slower ’speed’ than 4.4 (discussed – among other places – here: http://forums.adobe.com/message/5454410#5454410), so I rather fell back to the latter, instead of testing the behavior of the 5.0 catalog. Anyway, as far as I understand this upgrade does not include significant new catalog functions, so my problem and questions below may be valid for 5.0, too. Nevertheless, the incompatibility of the new and previous catalogs suggests rewriting of the catalog-related parts of the code. I do not know the resulting potential improvements and/or new bugs in 5.0.
    For your information, my PC (running under Windows 7) has a 64-bit Intel Core i7-3770K processor, 16GB RAM, 240 GB SSD, as well as fast and large-capacity HDDs. My monitor has a resolution of 1920x1200.
    1. Problem with the catalog
    To tell you the truth, I do not understand the potential necessity for using the “File / Optimize Catalog” function. In my view LR should keep the catalog optimized without manual intervention.
    Nevertheless, when being faced with the ill-famed slowness of LR, I run this module. In addition, I always switch on the “Catalog Settings / General / Back up catalog” function. The actually set frequency of backing up depends on the circumstances – e.g. the number of RAW (in my case: NEF) files, the size of the catalog file (*.lrcat), and the space available on my SSD. In case of need I delete the oldest backup file to make space for the new one.
    Recently I processed 1500 photos, occupying 21 GB. The "Catalog Settings / Metadata / Automatically write changes into XMP" function was switched on. Unfortunately I had to fiddle with the images quite a lot, so after processing roughly half of them the catalog file reached the size of 24 GB. Until this stage there had been no sign of any failure – catalog optimizations had run smoothly and backups had been created regularly, as scheduled.
    Once, however, towards the end of generating the next backup, LR sent an error message saying that it had not been able to create the backup file, due to lack of enough space on the SSD. I myself found still 40 GB of empty space, so I re-launched the backup process. The result was the same, but this time I saw a mysterious new (journal?) file with a size of 40 GB… When my third attempt also failed, I had to decide what to do.
    Since I needed at least the XMP files with the results of my retouching operations, I simply wanted to save these side-cars into the directory of my original input NEF files on a HDD. Before making this step, I intended to check whether all modifications and adjustments had been stored in the XMP files.
    Unfortunately I was not aware of the realistic size of side-cars, associated with a certain volume of usage of the Spot Removal, Grad Filter, and Adjustment Brush functions. But as the time of the last modification of the XMP files (belonging to the recently retouched pictures) seemed perfect, I believed that all my actions had been saved. Although the "Automatically write changes into XMP" seemed to be working, in order to be on the safe side I selected all photos and ran the “Metadata / Save Metadata to File” function of the Library module. After this I copied the XMP files, deleted the corrupted catalog, created a new catalog, and imported the same NEF files together with the side-cars.
    When checking the photos, I was shocked: Only the first few hundred XMP files retained all my modifications. Roughly 3 weeks of work was completely lost… From that time on I regularly check the XMP files.
    Question 1: Have you collected any similar experience?
    2. The catalog-related part of my workflow
    Unless I miss an important piece of knowledge, LR catalogs store many data that I do not need in the long run. Having the history of recent retouching activities is useful for me only for a short while, so archiving every little step for a long time with a huge amount of accumulated data would be impossible (and useless) on my SSD. In terms of processing what count for me are the resulting XMP files, so in the long run I keep only them and get rid of the catalog.
    Out of the 240 GB of my SSD 110 GB is available for LR. Whenever I have new photos to retouch, I make the following steps:
    create a ‘temporary’ catalog on my SSD
    import the new pictures from my HDD into this temporary catalog
    select all imported pictures in the temporary catalog
    use the “File / Export as Catalog” function in order to copy the original NEF files onto the SSD and make them used by the ‘real’ (not temporary) new catalog
    use the “File / Open Catalog” function to re-launch LR with the new catalog
    switch on the "Automatically write changes into XMP" function of the new catalog
    delete the ‘temporary’ catalog to save space on the SSD
    retouch the pictures (while keeping and eye on due creation and development of the XMP files)
    generate the required output (TIF OR JPG) files
    copy the XMP and the output files into the original directory of the input NEF files on the HDD
    copy the whole catalog for interim archiving onto the HDD
    delete the catalog from the SSD
    upon making sure that the XMP files are all fine, delete the archived catalog from the HDD, too
    Question 2: If we put aside the issue of keeping the catalog for other purposes then saving each and every retouching steps (which I address below), is there any simpler workflow to produce only the XMP files and save space on the SSD? For example, is it possible to create a new catalog on the SSD with copying the input NEF files into its directory and re-launching LR ‘automatically’, in one step?
    Question 3: If this I not the case, is there any third-party application that would ease the execution of the relevant parts of this workflow before and/or after the actual retouching of the pictures?
    Question 4: Is it possible to set general parameters for new catalogs? In my experience most settings of the new catalogs (at least the ones that are important for me) are copied from the recently used catalog, except the use of the "Catalog Settings / Metadata / Automatically write changes into XMP" function. This means that I always have to go there to switch it on… Not even a question is raised by LR whether I want to change anything in comparison with the settings of the recently used catalog…
    3. Catalog functions missing from my workflow
    Unfortunately the above described abandoning of catalogs has at least two serious drawbacks:
    I miss the classification features (rating, keywords, collections, etc.) Anyway, these functions would be really meaningful for me only if covering all my existing photos that would require going back to 41k images to classify them. In addition, keeping all the pictures in one catalog would result in an extremely large catalog file, almost surely guaranteeing regular failures. Beyond, due to the speed problem tolerable conditions could be established only by keeping the original NEF files on the SSD, which is out of the question. Generating several ‘partial’ catalogs could somewhat circumvent this trap, but it would require presorting the photos (e.g. by capture time or subject) and by doing this I would lose the essence of having a single catalog, covering all my photos.
    Question 5: Is it the right assumption that storing only some parts (e.g. the classification-related data) of catalog files is impossible? My understanding is that either I keep the whole catalog file (with the outdated historical data of all my ‘ancient’ actions) or abandon it.
    Question 6: If such ‘cherry-picking’ is facilitated after all: Can you suggest any pragmatic description of the potential (competing) ways of categorizing images efficiently, comparing them along the pros and contras?
    I also lose the virtual copies. Anyway, I am confused regarding the actual storage of the retouching-related data of virtual copies. In some websites one can find relatively old posts, stating that the XMP file contains all information about modifying/adjusting both the original photo and its virtual copy/copies. However, when fiddling with a virtual copy I cannot see any change in the size of the associated XMP file. In addition, when I copy the original NEF file and its XMP file, rename them, and import these derivative files, only the retouched original image comes up – I cannot see any virtual copy. This suggests that the XMP file does not contain information on the virtual copy/copies…
    For this reason whenever multiple versions seem to be reasonable, I create renamed version(s) of the same NEF+XMP files, import them, and make some changes in their settings. I know, this is far not a sophisticated solution…
    Question 7: Where and how the settings of virtual copies are stored?
    Question 8: Is it possible to generate separate XMP files for both the originally retouched image and its virtual copy/copies and to make them recognized by LR when importing them into a new catalog?

    A part of my problems may be caused by selecting LR for a challenging private project, where image retouching activities result in bigger than average volume of adjustment data. Consequently, the catalog file becomes huge and vulnerable.
    While I understand that something has gone wrong for you, causing Lightroom to be slow and unstable, I think you are combining many unrelated ideas into a single concept, and winding up with a mistaken idea. Just because you project is challenging does not mean Lightroom is unsuitable. A bigger than average volume of adjustment data will make the catalog larger (I don't know about "huge"), but I doubt bigger by itself will make the catalog "vulnerable".
    The causes of instability and crashes may have NOTHING to do with catalog size. Of course, the cause MAY have everything to do with catalog size. I just don't think you are coming to the right conclusion, as in my experience size of catalog and stability issues are unrelated.
    2. I may be wrong, but in my experience the size of the RAW file may significantly blow up the amount of retouching-related data.
    Your experience is your experience, and my experience is different. I want to state clearly that you can have pretty big RAW files that have different content and not require significant amounts of retouching. It's not the size of the RAW that determines the amount of touchup, it is the content and the eye of the user. Furthermore, item 2 was related to image size, and now you have changed the meaning of number 2 from image size to the amount of retouching required. So, what is your point? Lots of retouching blows up the amount of retouching data that needs to be stored? Yeah, I agree.
    When creating the catalog for the 1500 NEF files (21 GB), the starting size of the catalog file was around 1 GB. This must have included all classification-related information (the meaningful part of which was practically nothing, since I had not used rating, classification, or collections). By the time of the crash half of the files had been processed, so the actual retouching-related data (that should have been converted properly into the XMP files) might be only around 500 MB. Consequently, probably 22.5 GB out of the 24 GB of the catalog file contained historical information
    I don't know exactly what you do to touch up your photos, I can't imagine how you come up with the size should be around 500MB. But again, to you this problem is entirely caused by the size of the catalog, and I don't think it is. Now, having said that, some of your problem with slowness may indeed be related to the amount of touch-up that you are doing. Lightroom is known to slow down if you do lots of spot removal and lots of brushing, and then you may be better off doing this type of touch-up in Photoshop. Again, just to be 100% clear, the problem is not "size of catalog", the problem is you are doing so many adjustments on a single photo. You could have a catalog that is just as large, (i.e. that has lots more photos with few adjustments) and I would expect it to run a lot faster than what you are experiencing.
    So to sum up, you seem to be implying that slowness and catalog instability are the same issue, and I don't buy it. You seem to be implying that slowness and instability are both caused by the size of the catalog, and I don't buy that either.
    Re-reading your original post, you are putting the backups on the SSD, the same disk as the working catalog? This is a very poor practice, you need to put your backups on a different physical disk. That alone might help your space issues on the SSD.

  • A bunch of old problems and entertaing questions lately

    Just finding some of the questions on the Premier Pro board really entertaining... like that 20 year old version of premier. And then questions with old troubles I resolved or worked around... most of which I've forgotten the solutions to like the export to H.264 crash.
    Does anyone here keep a log of personal problems which they've resolved? I've tried doing it I still forget to log a good amount. Also, good to see you guys have been so active in assisting everyone still. Jim's been on a roll tonight (4/25).

    There must be something missing from my diet as I have a hard time remembering 1/2 of the things I've done.
    Not diet, but something called "retirement... "
    it's a little irritating when I know I've gone through the situation and can't give any helpful advice on how I got out.
    I could not agree more. Whenever the topic of Copy/Paste with Audio going bad comes up, I miss a very long thread, from very long ago, as many of the "top guns" have pithy comments, and several workarounds. That thread, like so many others, all disappeared with one of the forum changeovers. Wish that I had made copies of all the replies, as they were great.
    I feel that pain too,
    Hunt

  • E71x problem, and a question about 'physical damag...

    Hiya,
    Soooo I got the E71x in June, and I loved it, until about a month ago, it started frustrating me non stop.
    The phone will tell me that its battery is low after I've charged it completely, and have seen 5 bars worth of power for 30 mins;
    it will turn off without shutting down, without alerting me
    it will freeze, and won't turn off with the power button--the only thing to do is pull the battery out;
    it will tell me the sim card isn't registered and then turn off
    OR
    the screen will go blank, turn white, and display a message that says 'Insert SIM card' when the sim card is already in, and hasn't been moved or anything;
    the phone will die when I try to send text messages, call someone, or the first 30 seconds into a call;
    whenever the phone dies on me, I have to pull the battery out & then turn the phone back on, and when I do so a ghost image of whatever i had been doing before the phone died (the text i was about to send, for instance, or the home screen, or the 'insert sim card' screen) will appear for a second, pixelate, then vanish.
    I called AT&T, they do not believe that it is a charger or battery issue, since I've checked those anyway. My software is up to date, I've tried all the online troubleshooting tips. I've obviously dropped my phone before, who hasn't, but it was never anything *huge*, the phone never turned off because I dropped it, the battery never popped out, etc. It has fallen from my jeans to the floor, for example, that's about it. So there's no physical damage because of that. I have never gotten the phone wet;---the circle on the back of my battery is white, so it hasn't been exposed to liquid or heat or anything extreme. I don't think my warranty would be turned down for physical damage due to the above mentioned.
    However, I have a question if anyone who works for Nokia reads these boards; my parrot removed the 'p' key from the keyboard--just the key, the pad underneath works fine and is untouched, i can still type the letter p and everything--but the 'p' key, just that one, is missing. I can't find it. Would I really be denied my 1 year warranty because of that? is there anyway I can buy a key to replace the 'p' key so that I could send my phone to AT&T? all it would need to be fixed is a tiny dab of glue. That's it. I will be very frustrated if I can't get my phone fixed within warranty because of that key; I would be forced to get another phone, and I don't think my choice would be another Nokia. Please let me know what I can do about this problem, it's getting ridiculous, I can't even answer phone calls without my first rushed sentence being 'my phone might hang up on you but i'll call you back' anymore.
    HELP
    Solved!
    Go to Solution.

    hahaha no, it's not the e71x, it is a piece of popcorn she DEVOURED. She LOVES popcorn. MMMmmmmMMMM she says. Haha.
    @FastTortoise, I think a parrotlet might be a good fit for you, they were my pick because they have the same personality as a parrot (spunky, loving, fun, funny, etc) but they're TINY, and VERY quiet (comparatively::they've got nothing on cats). Check out this site for more info http://www.talkparrotlets.com/forum.php my name on there is brittany_lynn, you might be able to get my email from that site or from this, lemme know if you have ?'s or anything
    P.S. All birds need a cage, a parrotlet just needs a smaller cage.

  • Multiple record insert problem in Oracle Procedure that uses a cursor

    Dear X-pert guies,
    I have a oracle procedure that use a cursor, I repeatedly make query on 1st table using cursor value and insert that queried value(of 1st table) to 2nd table
    y_summary. y_summary has composite  primary key :PK_Y_SUM (BILL_DATE, TRUNK_MGR, IDD_FLAG, PK_FLAG, PREFIX).*
    when i run the procedure explicit2('201001'); the it gives me the error:::: begin explicit2('201001'); end;_
    ORA-00001: unique constraint (PRM.PK_Y_SUM) violated_
    ORA-06512: at "PRM.EXPLICIT2", line 413_
    ORA-06512: at line 1_
    but when i remove the composite primary key from y_summary table then, the procedure runs ok and make so many duplicate entries in y_summary.
    but i want the single record  to be inserted for single time in y_summary ,so You guies are honorly requested to make the required help .
    the structure of y_summary Table and Procdure code is given below.
    Table:
    -- Create table
    create table Y_SUMMARY
    BILL_DATE VARCHAR2(10) not null,
    TRUNK_MGR VARCHAR2(20) not null,
    IDD_FLAG VARCHAR2(10) not null,
    PK_FLAG NUMBER(2) not null,
    OUTCALLS NUMBER(20,2),
    OUTDUR NUMBER(20,2),
    PREFIX VARCHAR2(10) not null
    tablespace TBS_PRM_D01
    pctfree 10
    pctused 40
    initrans 1
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    -- Create/Recreate primary, unique and foreign key constraints
    alter table Y_SUMMARY
    add constraint PK_Y_SUM primary key (BILL_DATE, TRUNK_MGR, IDD_FLAG, PK_FLAG, PREFIX)
    using index
    tablespace TBS_PRM_D01
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    Procedure:
    create or replace procedure explicit2( month_val in varchar2) is
    cursor explicit_cur is select dest_code from y_table where dest_code like '44%' order by dest_code desc;
    dummy varchar2(100);
    lv_length Number(9);
    sqlstr varchar2(2500);
    rec_count1 number;
    rec_count2 number;
    rec_count3 number;
    begin
    open explicit_cur;
    LOOP
    fetch explicit_cur into dummy;
    EXIT WHEN explicit_cur%NOTFOUND;
    rec_count1 :=0;
    rec_count2 :=0;
    rec_count3 :=0;
    lv_length := length(dummy);
    sqlstr := 'select count(*) from y_table_data1 t where t.fee_dur_1_1 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''00'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||'''';
    execute immediate sqlstr into rec_count1;
    sqlstr := 'select count(*) from y_table_data1 t where t.fee_dur_1_2 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'',
    ''ITAX1B'',''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''00'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||'''';
    execute immediate sqlstr into rec_count2;
    sqlstr := 'select count(*) from y_table_data1 t where t.fee_dur_1_1 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'',
    ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''012'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||'''';
    execute immediate sqlstr into rec_count3;
    if(rec_count1>0) then
    sqlstr := 'insert into y_summary(BILL_DATE ,PREFIX, TRUNK_MGR,OUTCALLS , OUTDUR , IDD_FLAG , PK_FLAG )
    select '|| month_val||' ,substr(t.orig_called_num,1,'||lv_length||'),t.trunkout_operator ,count(*) , round(sum(ceil(t.duration / 15) * 15) / 60, 0),''00'',''1'' from y_table_data1 t where t.fee_dur_1_1 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''00'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||''''|| ' group by t.trunkout_operator,substr(t.orig_called_num,1,'||lv_length||')';
    execute immediate sqlstr;
    commit;
    sqlstr :='DELETE from y_table_data1 t where t.fee_dur_1_1 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''00'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||'''';
    execute immediate sqlstr;
    commit;
    end if ;
    if(rec_count2>0) then
    sqlstr :='insert into y_summary(BILL_DATE ,PREFIX, TRUNK_MGR,OUTCALLS , OUTDUR , IDD_FLAG , PK_FLAG )
    select '|| month_val||' ,substr(t.orig_called_num,1,'||lv_length||'),t.trunkout_operator ,count(*) , round(sum(ceil(t.duration / 15) * 15) / 60, 0),''00'',''0'' from y_table_data1 t where t.fee_dur_1_2 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''00'' group by t.trunkout_operator,substr(t.orig_called_num,1,'||lv_length||')';
    execute immediate sqlstr;
    commit;
    sqlstr :='DELETE from y_table_data1 t where t.fee_dur_1_2 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''00'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||'''';
    execute immediate sqlstr;
    commit;
    end if;
    if(rec_count3>0) then
    sqlstr :='insert into y_summary(BILL_DATE ,PREFIX, TRUNK_MGR,OUTCALLS , OUTDUR , IDD_FLAG , PK_FLAG )
    select '|| month_val||',substr(t.orig_called_num,1,'||lv_length||'),t.trunkout_operator ,count(*) , round(sum(ceil(t.duration / 15) * 15) / 60, 0),''012'',''0'' from y_table_data1 t where t.fee_dur_1_1 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''012'' group by t.trunkout_operator,substr(t.orig_called_num,1,'||lv_length||')';
    execute immediate sqlstr;
    commit;
    sqlstr :='DELETE from y_table_data1 t where t.fee_dur_1_1 <> 0
    and t.out_trunk in (''MHISRM'', ''GEISRM'', ''GEIMRP'', ''MHIMRP'', ''13'', ''ITAX1B'', ''ITAX3B'',''ITAX5B'', ''ITAX6B'', ''ITAX7B'', ''BTIMRP'', ''BTI5RP'', ''BTI6RP'', ''BTI7RP'')
    and t.service_code = ''012'' and substr(t.orig_called_num,1,'||lv_length||')='||''''||dummy||'''';
    execute immediate sqlstr;
    commit;
    end if;
    end loop;
    close explicit_cur;
    end explicit2;
    Edited by: user10951541 on 25.4.2010 12.08

    Dear concern
    Really sorry not to make format listing because i am amature to this blog.
    my anwser to your way .
    1. I have Tested my SQL statements manually in SQL*Plus. this runs ok
    2. "Cursor loops, such as the one you have coded here, have been obsolete in Oracle since version 8i 12+ years ago.
    Look up BULK COLLECT and FORALL in the docs and use them instead."
    I am trying to make use of the BULK COLLECT and FORALL statement in proper location.
    3. "Your procedure never performs a commit so no work actually takes place" i need to get the anwser why........................?
    4. "On what basis was the decision made to use the default PCTFREE and PCTUSED values of 10 and 40?"
    is there any problem if default is used..? if any suggestion........pls
    5." You did not format your listing using the CODE tags as explained in the FAQ making your listing unreadable ... so I've not read it.
    Please read the FAQ and use the proper way to post code so we can understand it. Then perhaps we can help you further. " really sorry not to make understandable to you..? but i will try from next post..
    I really will try to be synced..
    My aim is to make query to Table A using the cursor value like( '4422','442','4411','441','44') and get some data in accordance of these values.Then i put the data into another Table B. same time i need to delete the record from Table A containing the prefix value in accordance for example- i compute value for '4422' from Table A and put the computed value to Table B .Then i delete the record from Table A where prefix is '4422' .so that computed value for the next prefix '442' should contain the computed value for 442[0-1] and 442[3-9] .Same way it will be happened for ('4411','441','44'....bla...bla).
    Thanks in advance..

  • Power problems and a question about Zen support respo

    I have a Zen Micro 8gb player and unfortunately I can now be added to the list of users with Battery/charging issues. I've tried all the troubleshooting steps I can find here and none resolved my problem. Resetting does not help, nor does charging via USB/AC Adapter, I've tried switching adapters, etc. I've never had this issue before.
    The problem started a few days ago when I plugged my Zen in like normal to charge - it was completely dead - and after several few hours of charging, I was still unable to turn my device on. I plug the charger in and the device does recognize it, it powers on and I get the blue light and "Creative" logo on the screen. Then the little battery icon flashes between the green "charging" icon and the red "empty battery" icon. It will go on like this for hours. Normally it would only take an hour or two to charge but now I can leave it charging for an entire day then it goes dead right after I unplug it.
    My question is - based on user experience here - whether it's probably my battery or my device that is defecti've. This was a gift and I'm sure it is out of warranty, not that I'd be able to get the receipt even if it was. I've already emailed customer care. I'm just wondering what people's general overall experience has been with support and if it's even worth trying to go through the support channels to get it fixed. Thanks in advance.
    Kristal?

    I am having the same problems....only I can't even get mine to come on. I have only had this thing for like 5 months.....if I would have known I was gonna have this many problems.... I would have went with another brand. And it would really help if I could get someone to give me a straight answer when I call! I am SOSOSO irritated!!

  • Time Machine/Capsule -- 2.93GHzx -- and another question.

    I upgraded my PowerBook G4 (1.67GHz and 2 GB DDR2 SDRAM) from Tiger to Leopard 10.5.6. I did so largely to get Time Machine. And then I ran into all sorts of woes doing my back-ups. So I took another step and replaced my external 2TB Lacie drive (that I was using for Time Machine) with a 500 GB Time Capsule. It arrived today and is right now in the middle of its first back-up. We shall see how well it fares with Time Machine. I am crossing my fingers. Does anyone see anything right or wrong I did in this exercise?
    Meanwhile, I am going to take the plunge and buy a new MacBook Pro. I want to load it up. But I have a question: Is the 2.93GHz Intel Core 2 Duo THAT MUCH better than the 2.66GHz Intel Core 2 Duo? It costs $300 more and I’m wondering if 0.27GHz makes such a significant ($300) difference — bearing in mind that I will be running Final Cut Pro, etc, and want the best I can get in strength and speed. But I don't want to blow $300 for window dressing that does not deliver. Bottom line: is an extra 0.27 GHz that significant or that much of a game changer?
    And one more question: Is it OK to use your Mac and its other apps while Time Machine is running? Or does that cause a problem?
    Of course, I’m not asking you all to write a thesis paper on all this but your quick opinion would be gratefully appreciated.
    Thank you -- and thank heavens for this discussion groups.
    Happy Easter and other holidays,
    Richard M.

    Richard Mackenzie wrote:
    I upgraded my PowerBook G4 (1.67GHz and 2 GB DDR2 SDRAM) from Tiger to Leopard 10.5.6. I did so largely to get Time Machine. And then I ran into all sorts of woes doing my back-ups. So I took another step and replaced my external 2TB Lacie drive (that I was using for Time Machine) with a 500 GB Time Capsule. It arrived today and is right now in the middle of its first back-up. We shall see how well it fares with Time Machine. I am crossing my fingers. Does anyone see anything right or wrong I did in this exercise?
    Depends on what sort of problems you had with the LaCie. If the problem wasn't with the drive itself, you may not have gained much, if anything. TC's are more convenient in some ways, but also much slower.
    And since you can't partition a TC disk, I'd advise against putting any other data there: if you ever want or have to erase all your TM backups and start over, you'll have to copy that other data somewhere temporarily.
    And one more question: Is it OK to use your Mac and its other apps while Time Machine is running? Or does that cause a problem?
    It's fine. You may have slower response time, especially using the internet while doing a wireless backup, but TM won't crash or fail to back up.

  • And another question on video

    While I'm here, I have another itunes problem. I bought a daily pass to the Daily Show. It's great, except the quality of the video is TERRIBLE!!! There is a tremendous lag between what I see and what I hear and it looks pretty pixelated. This happens on most of the episodes. I have downloaded many other programs from itunes and did not have this problem. Any ideas?
    Thanks again.

    While I'm here, I have another itunes problem. I
    bought a daily pass to the Daily Show. It's great,
    except the quality of the video is TERRIBLE There
    is a tremendous lag between what I see and what I
    hear and it looks pretty pixelated. This happens on
    most of the episodes. I have downloaded many other
    programs from itunes and did not have this problem.
    Any ideas?
    Thanks again.
    I am not familiar with the daily pass, but is this video streamed or do you actually download the entire files? The videos you download from iTunes are specifically made for the iPod so they have a 320x240 resolution which would look pretty bad fullscreen on a computer.
    Hope that answers your question.

  • Why is it when I download music to my iTunes an explanation mark comes up on some of my music. And another question when I move some music to my iPod I can not play it because this little circle comes up

    Why is it when I am downloading my CD's to my computer some of my music gets an explanation mark next to it.
    Second question
    When I can download music to my iPod some of the music downloads but I can not play it because it has this little round circle in front of it ansd the music is greyed out and not black lettering like the other songs I can play.
    Please help

    katenater wrote:
    Thank you now how do I get the songs on to the flash drive?
    Insert the flash drive into the other computer, and open it so it looks like a window.  Highlight the songs you want in his iTunes, and drag them into that window.
    That will cause them to copy onto the flash drive, and will not affect his library.
    If you normally run iTunes in full-screen mode, make it smaller so that you can do the drag.
    Then insert the flash drive into your computer.  Find your Automatically Add to iTunes folder (it is inside the iTunes media folder) and drag the songs into it.

  • Beware the Security Update - How I fixed my WIFI problem and a question

    First of all I have read the "Latest Update from 21 January is A Disaster" thread and I basically agree with Andrew is Stuck so please don't feel the need repeat any of the stuff about it is not a bug in the update etc etc and I should have a Super Duper clone to hand etc etc . I have read that stuff. You are probably right but they should write on the Security Update info panel - "Be Careful this could really ruin your day".
    I am ****** off and stressed out and I need to rant and I am not looking for that kind of lecture - even if it is partially or wholly true. I need to feel positive by warning people the way I wish I had been warned!
    NB I am near the end of a professional dance tour as Musical Director running music on Logic on my MBP and it has been working fantastic - not a single glitch in 6 weeks. I would never upgrade my OS or Logic in the middle of job like this BUT Security Updates have always seem like something you should install because they will protect the Mac or protect against any new viruses etc. I have never had a problem with them before. (THAT ATTITUDE WILL NOW CHANGE!!!)
    This update has caused a lot of people a lot of problems (check out this forum) and it has caused me more real world problems than anything I have downloaded and installed from anywhere in the last 3 years. Thus it has nothing to do with Security!!! HOw any people does a Security Uodate have to goose before it becomes an unsatisfactory Security Update?
    This security update suddenly stopped my WIFI working and put me in a real hole.
    (I am sure you don't care but I have a meeting tomorrow morning that I needed to do 3 hours of prep for including looking at VIDEO online. And the Security Update has just put paid to that. )
    After 3 hours I have just got WIfi back- here's how:
    I repaired permissions twice with Disk Utility - no joy. I found I could get online when I booted in Safe Mode (and I could get online with my Iphone on the same WIFi setup) so I knew it was not the router - though I did switch the router on and off a few times,
    When I initially ran Repair permissions there was loads of things needing repair. I ran it again and 2 remained:
    usr/share/derby it keeps trying to repair
    and one of the package contents of the ARDAgent.app (System>Library>CoreServices>RemoteManagement>ARDAgent.app>Contents>MacOS>ARDAg ent) had a warning attached that it in the Disk Utility Repair Permissions report that it had been modified.
    So I restored ARDAgent.app from a Time Machine Back up and replaced the offending file when in Safe Mode (Restart with Shift held down). - using Ctrl Click to open the ARDAgent.app package contents.
    This seemed to sort it all out for me.
    I guess people need to look in their Disk Utility Repair Permissions reports and see if any esoteric system files have been goosed by the update and see if they can get them back - although if you don't know what you are doing this could make things worse......
    Anyway I DO have questions:
    If this hadn't of worked:
    1) Would reinstalling Snow Leopard from disks have upset my preferences, installs of Logic and Audio drivers and 3rd party application installs and the rest?
    - the main stressor when this happens is not trying to lose the whole day.
    2) Is there a way of just restoring the System from a Time Machine Backup or a SuperDuper clone or do you have to restore the whole state of the entire Hard Drive?
    Best
    Tommy Banana
    PS I feel better now. Thanks for listening.

    The fact that you saw no glitches while running Logic before applying the update means almost nothing because that uses only a small subset of system resources. Far more significant is that Safe Mode restored some missing functionality: because it disables non-essential items like user fonts, third party drivers, & so on, it points to problems in those areas.
    Equally significant, the fact that there are relatively few reports of post-update problems among the several million Snow Leopard users points away from the update itself as the cause of your problems.
    Separate & apart from that, it so happens that I'm a sound engineer/system designer/board operator with nearly 40 years of professional touring experience. FWIW, I never have & never will update the software of any system I must rely on professionally (whether it is running on a Mac, a PC, or dedicated hardware) unless & until I can thoroughly test it first and I have a trustworthy backup/recursion strategy to fall back on in case of problems.
    I strongly suggest you learn from your unpleasant experience & do the same. I have had far fewer problems with Macs than with PC's, but nothing is 100% reliable to begin with. Changing the OS software part way through the tour is just asking for trouble, no matter how reliable that has been in the past. Even if the budget allows for nothing better than a stack of burned CD's & a couple of consumer grade CD players, no professional tour can afford to be without some fallback strategy in place. That should be self-evident & require no warning from Apple or anybody else.

Maybe you are looking for