Where is this error in  php program ?

for example:
<?php
$connection = oci_connect("apps", "apps","prod");
$query = "
select cu.customer_id,cu.customer_name
from
php_customers cu";
$statement = oci_parse ($connection, $query);
oci_bind_by_name($statement, "customer_id", $customer_id);
oci_execute ($statement);
echo $customer_id;
echo "<table border = '1'><tr>";
echo "<td>customer_id</td><td>customer_name</td>";
while ($row = oci_fetch_array ($statement, OCI_BOTH)) {
echo "<tr>";
echo "<td>".$row[0]." </td>";
echo "<td>".$row[1]." </td>";
echo "</tr>";
$query = "
select cu.customer_id,cu.customer_name
from
php_customers cu
where cu.customer_id = :customer_id";
$statement = oci_parse ($connection, $query);
oci_execute ($statement);
while ($row = oci_fetch_array ($statement, OCI_BOTH)) {
echo $row[0]." and ".$row['ID']." is the same<br>";
echo $row[1]." and ".$row['NAME']." is the same<br>";
?>
who can help me find this error ?

Im having the same kind of problem.
$conn = oci_pconnect('scott','tiger','');
$query = 'create user :user_id identified by :user_password';
$stid = oci_parse($conn, $query);
oci_bind_by_name($stid,":user_id",$this->user_id);
oci_bind_by_name($stid,":user_password",$this->user_password);
oci_execute($stid);
oci_close($conn);
its showing error:
Warning: oci_bind_by_name() [function.oci-bind-by-name]: ORA-01036: illegal variable name/number in D:\Program Files\Apache Group\Apache2\htdocs\user_info.php on line 4
Warning: oci_bind_by_name() [function.oci-bind-by-name]: ORA-01036: illegal variable name/number in D:\Program Files\Apache Group\Apache2\htdocs\user_info.php on line 5
Warning: oci_execute() [function.oci-execute]: ORA-01935: missing user or role name in D:\Program Files\Apache Group\Apache2\htdocs\user_info.php on line 6
where is the problem.plz help.thanks.

Similar Messages

  • Who knows where does this error message come from

    I have a program wrote with visual age java of ibm.it runs ok in develope page. I exported it in a jar file, it run some minutes and abrrupted with a message like this:
    *** panic: 16-bit string hash table overflow
    abnormal program termination
    who knows where does this error message come from and under which circumstance?

    One thing that comes to mind is that the literal string pool is limited - do you have lots of string literals or itern() lots of strings in your code?

  • Can't download itunes update.  Keep getting this error message:  THe program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem

    Can't download itunes update.  Keep getting this error message:  THe program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem

    I researched the advice on the link provided by b noir as well as very similar advice from apple support: http://support.apple.com/kb/TS5376. It worked for me (for now).
    Some things of note:
    I did all of the things requested by the link I provided
    My computer WOULD NOT uninstall Apple Mobile Device Support. I had to manually remove the folder (also as instructed by the url)
    I also uninstalled MobileMe. Was a little different than removing the other apps. Follow instructs provided here: http://support.apple.com/kb/HT2992
    I did not uninstall iCloud
    I have to admit it was a bit scary removing all those things. Is important to note that when re-installing Apple, follow steps to do so as Administrator (the right-click thingy and whatnot).
    Hope this helps!

  • How do I fix this error: Module C:\Program Files\Bonjour\mdnsNSP.dll failed to register. HRESULT -2147024769. Contact your support personnel.

    I am trying to install iTunes, and get this error: "Module C:\Program Files\Bonjour\mdnsNSP.dll failed to register. HRESULT -2147024769. Contact your support personnel."
    Any ideas on how to fix this error, or get the install to comlete?

    *complete...

  • Where does this error come from

    Here's my Javabean
    ===============================================
    package BeanTest;
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    public class Bean2 extends DBConnect{
    private static String name = null;
    private int age = 0;
    public Bean2() { }
    /* Getter and Setter Methods */
    public String getName() { return name; }
    public void DbDescription() { name = "Start of get Name"; }
    public void setName(String s) { name = "tree"; }
    public int getAge() { return age; }
    public void setAge(int i) { age = i; }
    ===============================================
    Here's my JSP
    ===============================================
    <html>
    <head>
    <title>SimpleBean Test Page</title>
    <%@ page language="Java" %>
    <%@ page info="database handler"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%! ResultSet rset = null; %>
    </head>
    <body>
    <jsp:useBean id="simple" scope="application" class="BeanTest.Bean2"/>
    <% simple.DbDescription(); %>
    Description = <%= simple.getName() %>
    </div>
    </body>
    </html>
    ===============================================
    Here's my error
    ===============================================
    Request URI:/JSPSample5.jsp
    Exception:
    java.lang.NoSuchMethodError: BeanTest.Bean2: method DbDescription()V not found
    ===============================================
    However if I change the call to the DbDesrcription Method from
    <% simple.DbDescription(); %>
    to
    <% simple.DbDescription() %>
    I get this error.
    ===============================================
    Request URI:/JSPSample5.jsp
    Exception:
    oracle.jsp.provider.JspCompileException:
    Errors compiling:d:\website\htdocs\_pages\\_JSPSample5.java
    d:\website\htdocs\_pages\_JSPSample5.java:75: Invalid type expression.
    simple.DbDescription()
    ^
    d:\website\htdocs\_pages\_JSPSample5.java:76: Invalid declaration.
    out.print(__jsp_StaticText.text[10]);
    ^
    2 errors
    ===============================================
    I don't actually want any errors. Where am I going wrong and how do I fix it. I just need to execute a method in a Javabean that is not a getter or setter method?
    TIA
    Owen THomas

    It seems to me that you have more than one copy of class Bean2 on your server. And one of them doesn't have DbDescription method in it. Clean the old copies of exisiting class files from your disk. Java doesn't do version control, so these kind of errors are very hard to locate.

  • ERR-1016 --- Where does this error come from?

    I can't reproduce this at will. It's something unpredictable. Sometimes when I log into my app I get this error.
    ERR-1016 Application "113" Page "1" not found (requested language="en-us")
    My app doesn't have a page 1, but that shouldn't matter, because on log in the user should be taken to page 100. The frustrating thing is, most of the time it does.
    I have no idea how to troubleshoot this.
    Steve "the n00b" in Raleigh NC

    scott.wesley wrote:
    Perhaps check the security tab in your application definition.
    Often the home link is defined as
    f?p=&APP_ID.:1:&SESSION.
    It's best to use an alias on your desired home page, and define the home link as
    f?p=&APP_ID.:HOME:&SESSION.
    SWI tried that. First I had to take off ":SESSION" because of the Web Page not found error. Then I ran it with APP_ID.:HOME and it brought me to my login page. When I logged in, it got to page 100 (HOME page) with no problems.
    Then I logged out. When I logged out, if found that ":1" had replaced HOME in the http. When I logged in again, I ran into the same old problem. I need to get this resolved because I want to demo this app for the user in the next 72 hours.
    Thanks for all the help. I've learned a lot from this board.
    Steve the n00b in Raleigh NC

  • [VIA] So where's this error message from? KT4V or Windows 98se

    Hi,
    Reference KT4V Series and using windows 98 se.
    My system has been running fine for a couple of years then one day the following happened.
    Slow boot up and when I tried to open/close windows applications it was very slow.
    e.g. click on 'My Computer' took 5 minutes to open then no drives displayed for a further
    5 minutes. 
    Virus scans etc found nothing.
    Then the dreaded tasks had to be done.
    I fully formatted the drive and checked for surface errors (took 10 hours).
    Drive has no errors - I re-loaded windows 98 se - still the same problem. 
    Infact when trying to delete a file it actually went into freeze mode. 
    I have a 60gb drive, 256mb but in the past I would get the following error:
    'the system is dangeroulsy low in resources and will be shut down' even though very little was
     running.
    I would re-start okay.
    now i get the error:
    ' the system is either busy or has become unstable' 
    any ideas on these errors? 
    thanks for reading this.
    Thanks to those that replied - I have now solved the problem.
    The Bios settings have some how got set to the default settings as a result my FSB was set to 107mhz
    I have now set this to 266mhz and wow behold the windows applications are opening and closing
    as quick as before. 
    As a default the boot sector virus protection is set to off - when I know I set this to on.
    Maybe the 'system is unstable messages and low on resources messages' somehow reset the bios to safe default values - especially as the system was closing itself down after these messages.
    The KT4V will support a processor speed of 1.3 ghz only the Processor I was sold with the board is 1800+
    As a result of resetting the FSB in the bios the processor speed is now running at 1.55 ghz
    The system now boots up and closes down at speed and as said above the applications open and close ok as well.
    The reset to default settings also meant that scan disk when checking the reformatted disk for surface errors ended up taking 11.5 hours to run on a 60gb hdd when the program itself estimated
    only 3-4 hours.
    Lot of time wasted - so check your FSB bios settings along with your boards capability - to ensure you are getting the Processor speed you paid for.

    have you cleaned your PC recently if at all?
    open up your case, if it is very dusty your system may be overheating. remove the heatsink and fan, and clean all old thermal paste from cpu die and heatsink. clean dust from heatsink fins and from fan blades. reapply fresh thermal paste to cpu die surface. only a very thin layer is needed. arctic silver is good stuff.
    use a can of compressed air ("air duster") to blow any surface dust of motherboard and other cards. remove memory sticks and blow into slots.
    remove your PSU and remove the top cover. again use air duster to blow any dust buildup from PCB and components
    Quote
    I fear a hardware issue
    possible. but if you don't tell us your hardware it is difficult to guess

  • Whenever I open Firefox,,I keep getting this error message-C:/Program%20Files/Mozilla%20Firefox/components/nsPlacesDBFlush.js:244,& though I click on stopping it,it keeps coming back,& I can't use the browser at all.

    I even tried uninstalling/reinstalling Firefox,but the same thing keeps occurring.Please help-Thanks
    I play games (apps) on Facebook,& constantly get freezes,crashes,timeouts & the x025 error.The Farmtown game is the worst.Can't you fix this browser so it's able to handle these applications?
    C:/Program%20Files/Mozilla%20Firefox/components/nsPlacesDBFlush.js:244

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Websites I used to access now give me this error: "PHP installation appears to be missing the MySQL extension"

    www.popularwoodworking.com gives this error: "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

    www.popularwoodworking.com gives this error: "Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

  • TS5376 I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • When trying to stream video I am getting this error message "Firefox doesn't know how to open this address, because the protocol (st) isn't associated with any program." How do I fix this?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/782039]</blockquote><br>
    When trying to stream video I am getting this error message "Firefox doesn't know how to open this address, because the protocol (st) isn't associated with any program." How do I fix this?

    Protocol error usually indicates that the very leftmost part of the URL is not recognized.
    So http://, ftp://, rtsp://, usually work.
    ableton:// would need to be added by some software somewhere...
    Can you get instructions from the vendor? Does these posts seem relevant:
    [http://forum.ableton.com/viewtopic.php?f=32&t=112368 Ableton Forum • View topic - [dds&#0093; Bug with Fireforx browser and downloading project?]
    [http://forum.ableton.com/viewtopic.php?f=32&t=109918 Ableton Forum • View topic - [gck&#0093; Problem downloading shared sets from Ableton server.].

  • I try to email or IM a link or comment on a website page and I get this error message: Firefox doesn't know how to open this address, because the protocol (ymsgr) isn't associated with any program.

    Firefox doesn't know how to open this address, because the protocol (ymsgr) isn't associated with any program. I try to email or IM a link or info on a web page I get this error message. How can I send an email or IM?

    Protocol error usually indicates that the very leftmost part of the URL is not recognized.
    So http://, ftp://, rtsp://, usually work.
    ableton:// would need to be added by some software somewhere...
    Can you get instructions from the vendor? Does these posts seem relevant:
    [http://forum.ableton.com/viewtopic.php?f=32&t=112368 Ableton Forum • View topic - [dds&#0093; Bug with Fireforx browser and downloading project?]
    [http://forum.ableton.com/viewtopic.php?f=32&t=109918 Ableton Forum • View topic - [gck&#0093; Problem downloading shared sets from Ableton server.].

  • I am getting this error message when trying to get to a college webpage Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.

    I am trying to get to a college webpage for information and get this error message from firefox Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.
    == This happened ==
    Every time Firefox opened
    == whe trying to access webpage

    Is this coming from a link, or from something you are trying to type in the address bar?
    Try replacing the "html" at the start with "http",
    so if you have html://somesite.edu,
    change it to http://somesite.edu.

  • I keep getting this error message when i try to install the latest version of itunes, the program can't start because MSVCR80.dll is missing from your computer. try reinstalling the program to fix this problem??

    I am having trouble reinstalling my Itunes on my desktop which uses Windows 7 and I can download it but once it's complete i keep getting this error message...The program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem. Please help me.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • I am trying to update my iPhone software but to do so I needed to update iTunes.  When I try to do that, I keep getting this error message" "There is a problem with this Windows Installer Package. A program required for this install to complete could not

    I am trying to update my iPhone software but to do so I needed to update iTunes.  When I try to do that, I keep getting this error message" "There is a problem with this Windows Installer Package. A program required for this install to complete could not....

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

Maybe you are looking for

  • Am I able to sort files by name in elements 11 organiser?

    Am I able to sort files by name in elements 11 organiser?

  • How can I overwrite a re-writeable cd ?

    I burned an audio cd (mp3 files) from itunes onto a re-writeable cd. Now I would like to overwrite that same cd with new mp3s. Itunes asks for a blank cd. Can I not overwrite the same cd ?

  • Multiple Installations?

    I have a pc at home and at school. Is it possible for me to install the same I-pod software using the same cd and serial number on both computers, or will it screw me over like in any serial encoded game?

  • Zen Xtra shuts down after a few hours, loses pl

    Before I updated my Nomad Zen Xtra to the 2.0.03 code, I could go up to 24 hours without it going into shutdown mode (ie. I could turn it on, and it was still on, at the same place I left off at). Now, it seems like I walk away from it for a few hour

  • Can't reconnect jpg

    I used a jpg pic as a clip in my timeline and whenever I quit the computer and come on again, the jpg clip is missing and I am asked to reconnect. My question is why can't FCP find the clip each time the computer turns on, it's on my Desktop and in i